[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Annet
Congratulations to all! Should be 100% backward compatible. If you run into any issue let us know > ASAP. > It's not a backward compatibility issue but after updating from 2.0.1 to 2.0.2 the admin's flash messages no longer show up. Kind regards, Annet --

Re: [web2py] Re: How to call controller function upon onClick from html?

2012-08-30 Thread Anthony
Replace the single quotes with double quotes inside the jQuery(): onClick='window.location="{{=URL('default', 'record_config') + '/'}}" + jQuery("input[name=name_text_field]").val();' The value will be available as request.args(0) in the record_config() function. Anthon

[web2py] Re: field attributes outside field definition.

2012-08-30 Thread Annet
Massimo and Anthony, Thanks for your replies. Kind regards, Annet --

[web2py] Re: user login tables

2012-08-30 Thread Anthony
On Thursday, August 30, 2012 2:46:40 AM UTC-4, Yebach wrote: > > I don't understand what you mean with how is the user loging out? I used > the {{='auth' in globals() and auth.navbar(separators=(' ',' | ',''))}} > Does that mean the user is logging out by clicking the "Logout" link in the navbar

Re: [web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Johann Spies
Thank you again to all the developers for your hard work enabling us to work with a product that is a pleasure to work with. Regards Johann -- Because experiencing your loyal love is better than life itself, my lips will praise you. (Psalm 63:3) --

Re: [web2py] web2py 2.0.2 is out

2012-08-30 Thread Alec Taylor
Thank you kindly! On Thu, Aug 30, 2012 at 1:41 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > After 5 months. It is done. This is the most waited and the most > feature-packed release. > > I am sure we'll find some corners that need to be ironed but it is > considerably better than

Re: [web2py] Removing labels from forms

2012-08-30 Thread Alec Taylor
No placeholders are added to the HTML. Here is the output: http://pastie.org/4615036 On Thu, Aug 30, 2012 at 3:02 PM, Anthony wrote: > Can you explain more about what doesn't work? Does the HTML source code > end up not as expected, or is the browser just not rendering it as expected? > > > On

[web2py] upgrade ubuntu to 12.04.1

2012-08-30 Thread andrej burja
hi i installed web2py with script found here. currently i have ubuntu 10.04. has anybody upgraded ubuntu from 10.04 to 12.04.1? are there any problems (regarding web2py or postgres 8.4)? should i upgrade or wait some time? andrej --

[web2py] DAL object has no attribute issue

2012-08-30 Thread Annet
This issue has been reported in this thread: https://groups.google.com/forum/#!searchin/web2py/IS_NOT_IN_DB/web2py/YNfreBJ2LYo/rEMOTVibHDEJ ... has it been solved, yet? I defined the following table: db.define_table('nodeKeyword', Field('nodeID','reference node',default='',requires=[IS_IN_

[web2py] How to use the new cache-options with SQLFORM.grid?

2012-08-30 Thread Johann Spies
db(...).select(cacheable=True) make select 30% faster db(...).select(cache=(cache.ram,3600)) now caches parsed data 100x faster db(...).count(cache=(cache.ram,3600)) now supported Is there a way to use these options with SQLFORM.grid/smartgrid? I see no reference to those options in gluon/sqlhtml

[web2py] Re: web editor problems with 2.0.2

2012-08-30 Thread Manuele Pesenti
Il 30/08/2012 10:00, Manuele Pesenti ha scritto: Hi! I've just downloaded the new 2.0.2 stable release but it seams there are some problems when I try to edit files from the web text editor integrated. Anybody noticed similar problems? uhm... ok the problems seams limited to chromium web brow

[web2py] 'Auth' object has no attribute 'use_username'

2012-08-30 Thread Annet
In web2py 2.0.2 in an application in which I commented out: # auth.define_tables(username=False, signature=False) I defined a new table, after saving db.py, when I click the database administration button I get the following error: Version web2py™ (2, 0, 2, datetime.datetime(2012, 8, 30, 4, 8

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Liam
Thanks On Thursday, August 30, 2012 5:41:34 AM UTC+2, Massimo Di Pierro wrote: > > After 5 months. It is done. This is the most waited and the most > feature-packed release. > > I am sure we'll find some corners that need to be ironed but it is > considerably better than 1.99.7. It adds lot of n

Re: [web2py] Re: How to call controller function upon onClick from html?

2012-08-30 Thread Amit
Still the same issue :( , its not calling record_config() function... how to check whether JQuery is supported or not? I have created my own custom html page without mentioning {{extend 'layout.html'}} statement, means simple html page withe labels and text fields, so do I need to add some stateme

[web2py] Re: How to use the new cache-options with SQLFORM.grid?

2012-08-30 Thread Niphlod
they are improvements to how data is retrieved from cache or having the records returned faster (cacheable=True should strip all the update_record, _table, etc.). SMARTGRID has nothing to do with those Il giorno giovedì 30 agosto 2012 10:20:30 UTC+2, Johann Spies ha scritto: > > db(...).se

[web2py] Re: DAL object has no attribute issue

2012-08-30 Thread Niphlod
the problem is that your requirements need the table to be fully defined before applying the requirement itself. The new on_define syntax should help with lazy tables, however, right now I can't test it. Il giorno giovedì 30 agosto 2012 10:06:03 UTC+2, Annet ha scritto: > > This issue has been

[web2py] Error creating a grid when no user is logged in

2012-08-30 Thread Liam
Hi all, When creating a grid and no user is logged in, I get an AttributeError: 'NoneType' object has no attribute 'user'. This can be recreated using vanilla web2py 2.0.2: $ python web2py.py -S welcome -M ... In [1]: SQLFORM.grid(db.auth_user) ... 1660 if (args != request.args a

Re: [web2py] Re: routes.py and patterns with routes_app

2012-08-30 Thread peter
I got inside gluon. The conversion is done within regex_uri I have found that http://127.0.0.1:8002/gallery becomes 127.0.0.1:http://127.0.0.1:get /gallery just before the conversion http://localhost:8002/gallery becomes 127.0.0.1:http://localhost:get /gallery So Massimo was almost right the

Re: [web2py] How to use DAL with effective dated queries

2012-08-30 Thread Niphlod
I think the point here is retrieve only the record with the same employeeid that has the max date. if so, why can't we rewrite that ugly query as (a much more performant) SELECT EmployeeID, MAX(effdt) FROM person WHERE (effdt < now) GROUP BY EmployeeID ? it's because you need the name ?

Re: [web2py] Re: How to call controller function upon onClick from html?

2012-08-30 Thread Amit
Anthony, I observe one more thing, as I have launched record Info page from other page using below statement: So upon clicking on button , it is launching record_config page , first it will call record_config() function and I am passing record_id to fetch the data about the record and display o

[web2py] Internal Error clicking on the "mailing list" link on the official support page

2012-08-30 Thread Nico Zanferrari
Hello, I've found that on the official support web page ( http://web2py.com/examples/default/support) if you click on the first link (= *mailing list* , that points to http://web2py.com/examples/default/usergroups ) you always get a Internal Error. Nico --

[web2py] Re: Playing around with list/tuples of images on a basic form .... ( educational purpose)

2012-08-30 Thread villas
That's great Don, I'm glad it helped. And we are all celebrating today with the new Web2py release. Programming is definitely getting more exciting these days! On Thursday, August 30, 2012 2:29:37 AM UTC+1, Don_X wrote: > > Villas My friend ! > > this is an eureka moment for me ! what you

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Marek Mollin
Hmmm... nohup should do similar thing... nohup python web2py.py -K appname will make it a background task on linux W dniu czwartek, 30 sierpnia 2012 07:23:29 UTC+2 użytkownik Michael Toomim napisał: > > I'm really excited about the new scheduler -X option. > > What do -E -b -L do? I don't see th

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Marek Mollin
Big work. We are all really thankful. Especially lazy_tables and triggers + audit ! W dniu czwartek, 30 sierpnia 2012 05:41:34 UTC+2 użytkownik Massimo Di Pierro napisał: > > After 5 months. It is done. This is the most waited and the most > feature-packed release. > > I am sure we'll find some

[web2py] Re: How to use the new cache-options with SQLFORM.grid?

2012-08-30 Thread Johann Spies
I am afraid I do not understand you reasoning: I can do rows = db(db.sometable).select( cacheable=True, cache = (ram.cache,3600)) data = SQLTABLE(rows) or I can do query = db.sometable.id>0 data = SQLFORM.grid(query) or data = SQLFORM.smartgrid(db.sometable) and how do I use those improvem

[web2py] Re: Ckeditor(plugin) using the LOAD (....., ajax = True)

2012-08-30 Thread simon
I have not used the plugin but had some issues with ckeditor in a web2py component. This worked for me: in html file: in .load file // enable html editing in text boxes. Destroy/replace needed to work as component loaded multiple times. $(document).ready(function() { $('textarea.ckeditor').e

[web2py] DAL backward compatibility problem?

2012-08-30 Thread Manuele Pesenti
hi! trying to migrate my application from web2py 1.99.7 to new stable release 2.0.2 I obtain this error: Traceback (most recent call last): File "/home/manuele/Dropbox/sviluppo/web2py-2.0.2/gluon/restricted.py", line 209, in restricted exec ccode in environment File "/home/manuele/D

[web2py] error on custom_auth_table = db[auth.settings.table_user_name]

2012-08-30 Thread Annet
In web2py 2.0.2 I defined the following custom auth_user table: db.define_table( auth.settings.table_user_name, Field('title',length=8,requires=IS_IN_SET(['de heer','mevrouw'],zero=T('select a value')),label='Aanheft * '), Field('firstName',length=32,requires=IS_LENGTH(32,error_messa

Re: [web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Martín Mulone
+1 2012/8/30 Anthony > Congratulations to all! And special thanks to Massimo for all his hard > work, diligence, and patience. > > Anthony > > > On Wednesday, August 29, 2012 11:41:34 PM UTC-4, Massimo Di Pierro wrote: >> >> After 5 months. It is done. This is the most waited and the most >> fea

[web2py] removed form.vars.{fieldname}_newfilename -- I used it :(

2012-08-30 Thread szimszon
Hi! https://github.com/mdipierro/web2py/commit/74418b1a6962bf2db36b46f9620e16297abfd059 I used it :( --

[web2py] crud file upload do not work :(

2012-08-30 Thread szimszon
http://code.google.com/p/web2py/issues/detail?id=966 --

[web2py] Re: How to use the new cache-options with SQLFORM.grid?

2012-08-30 Thread Niphlod
If only I had a penny every time in a changelog there is a "big number" speedup and all users starts making questions.I knew those "x% faster" will have raised more questions than answers. SQLTABLE take the rows after they have been fetched. SQLTABLE is for displaying results only. SQLFOR

Re: [web2py] Multiple tables or a single big one?

2012-08-30 Thread villas
I think Bruno meant that he includes that code inside his def user(): function in controllers/default.py On Thursday, August 30, 2012 3:47:19 AM UTC+1, Alec Taylor wrote: > > Thanks Niphlod also > > On Thursday, August 30, 2012 4:50:55 AM UTC+10, rochacbruno wrote: >> >> >> I generally do this

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Adrian Marius Popa
On Thursday, August 30, 2012 6:41:34 AM UTC+3, Massimo Di Pierro wrote: > > After 5 months. It is done. This is the most waited and the most > feature-packed release. > > I am sure we'll find some corners that need to be ironed but it is > considerably better than 1.99.7. It adds lot of new fea

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Ashish Yadav
Was waiting desperately for this release. Big thanks to all of you!! Regards, Ashish On Thursday, August 30, 2012 9:11:34 AM UTC+5:30, Massimo Di Pierro wrote: > > After 5 months. It is done. This is the most waited and the most > feature-packed release. > > I am sure we'll find some corners tha

[web2py] GAE with Janrain problem 2.0.2

2012-08-30 Thread rif
After a succesful login from janrain running on GAE I get the following error: Traceback (most recent call last): File "/home/rif/Documents/webframeworks/homepage/gluon/restricted.py", line 209, in restricted exec ccode in environment File "/home/rif/Documents/webframeworks/homepage/app

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Don_X
Let it be said & Let it be heard : Web2py is not only awesome .. It is simply the best python framework out there ! ... at least for me, and many others ! Congratulations to the web2py developer team Move over ! make way ! PHP & Python Frameworks .. here we come ! --

Re: [web2py] Re: How to call controller function upon onClick from html?

2012-08-30 Thread Amit
Hi Anthony, I am able to achieve it through Javascript function like below: function submitVlaue(thisForm) { var recordName = thisForm.name_text_field.value; window.location="{{=URL('default', 'recordr_config') + '/'}}" + recordName ; } but if I use JQuery instead of dir

Re: [web2py] Re: How to call controller function upon onClick from html?

2012-08-30 Thread Anthony
The query method works fine for me. Are you sure you have jquery loaded? On Thursday, August 30, 2012 7:13:26 AM UTC-4, Amit wrote: > > Hi Anthony, > > I am able to achieve it through Javascript function like below: > > function submitVlaue(thisForm) > { > var recordName = thisForm.nam

Re: [web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Ovidio Marinho
I´m test now. Ovidio Marinho Falcao Neto Web Developer ovidio...@gmail.com ovidiomari...@itjp.net.br ITJP - itjp.net.br 83 8826 9088 - Oi 83 9334 0266 - Claro Brasil 2012/

[web2py] Re: {{code}} compile in view

2012-08-30 Thread lucas
ok, i am stuck. i have studied run_controller_in and restricted and i tried some test code attempts and i am stuck. so here is some sample code: xx2 = """ def lucas53(): harry = (4+16)/2 rtn = dict(harry=harry) return rtn """ and under a web2py controller function: env = {} exec xx2 in e

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread chinakr
Thanks a lot, Massimo! 在 2012年8月30日星期四UTC+8上午11时41分34秒,Massimo Di Pierro写道: > > After 5 months. It is done. This is the most waited and the most > feature-packed release. > > I am sure we'll find some corners that need to be ironed but it is > considerably better than 1.99.7. It adds lot of new

Re: [web2py] Removing labels from forms

2012-08-30 Thread Anthony
Try: for input in form.elements("input[type=text]"): On Thursday, August 30, 2012 3:51:13 AM UTC-4, Alec Taylor wrote: > > No placeholders are added to the HTML. > > Here is the output: http://pastie.org/4615036 > > On Thu, Aug 30, 2012 at 3:02 PM, Anthony >wrote: > >> Can you explain more ab

[web2py] Issue rendering URL inside an A

2012-08-30 Thread Daniel Gonzalez
Hi, I have the following markup in an html viewfile: {{=DIV(A('click me',callback=URL('mycallback'),target="me"),_id="me")}} {{=URL('mycallback')}} Which is producing the following html: http://localhost:8000/web2py_jquery/default/index#null"; onclick="ajax(' /web2py_jquery/default/mycallback'

[web2py] Re: Mercurial not found

2012-08-30 Thread Nico Zanferrari
Looking inside the official selenic repository, I think that for a recent web2py you need at least *mercurial version 1.9* (released on August 2011 - this is the first one with the scmutil module). BTW, the latest available mercurial version is 2.3 and maybe you need web2py version 2.00 for

[web2py] Admin access on hostmonster account

2012-08-30 Thread Larry Wapnitsky
I'm receiving the following message when logging in to the admin interface of web2py on my hostmonster account: Login requires a secure (HTTPS) connection or running on localhost. I've followed the instructions here: http://www.web2pyslices.com/slice/show/1401/web2py-on-shared-hosting-hostmons

[web2py] IF no redirect

2012-08-30 Thread qwer qwer
I made default/index.html to execute a function in default.py. If I write redirect(..) in function, I am losing the current variable values in default/index.html as the index.html executes again from beginning..what to do? --

[web2py] Re: html form in web2py(reply needed urgently)

2012-08-30 Thread Massimo Di Pierro
Because the code is embedded in the view. Therefore it is executed after the flash is rendered. On Wednesday, 29 August 2012 17:08:09 UTC-5, qwer qwer wrote: > > {{form=FORM('Your comment:',INPUT(_comment='_comment', > requires=IS_NOT_EMPTY()), > INPUT(_type='submit')) > if form.accept

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Tyrone
I'm having a problem with the scheduler when I upgraded my application. It appears that if I attempt to run the line: Scheduler(db, dict(demo=demo)) I'm getting the error: Cannot add a UNIQUE column Regards --

[web2py] Re: A new and easier way to test your apps

2012-08-30 Thread Massimo Di Pierro
In 2.0.2 it is even simpler: from gluon.contrib.webclient import WebClient client = WebClient('http://127.0.0.1:8000/welcome/default/') client.get('user/register') data = dict(first_name = 'Homer', last_name = 'Simpson', email = 'ho...@web2py.com'

[web2py] Re: web editor problems with 2.0.2

2012-08-30 Thread Massimo Di Pierro
What os and what version? On Thursday, 30 August 2012 03:20:43 UTC-5, Manuele wrote: > > Il 30/08/2012 10:00, Manuele Pesenti ha scritto: > > Hi! > > I've just downloaded the new 2.0.2 stable release but it seams there > > are some problems when I try to edit files from the web text editor > >

[web2py] Re: signed_request from facebook

2012-08-30 Thread howesc
do you have a link to the appropriate facebook docs that describe the signed request for canvas pages? i don't know what it is. have you used HTTP traffic inspectors to watch the traffic sent back and forth that might give a clue as well - i use httpfox on firefox, and the built in developer t

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Tyrone
It appears that it's an incompatibility with the original tables, when I delete everything the problem goes away. I got around the problem by deleting everything, and then overwriting the new database with the old one, excluding the scheduler tables. --

[web2py] Checking for upgrades isn't working as I expected (1.99.7 installed)

2012-08-30 Thread Tim Richardson
I'm a new user so I don't know what should happen when a new stable release occurs. I have 1.99.7 source running on a Windows 2003 server. Python 2.7 (ActiveState). Browser is Firefox. Server is Rocket 1.2.4 on port 8010 In the Admin home page under the version string (1.99.7) it reports "checki

[web2py] Re: Multiple tables or a single big one?

2012-08-30 Thread howesc
this question also depends on the platform you are using - a noSQL DB such as google app engine that does not support joins would be slow to run 2 queries where you can use one i also use something like bruno's approach, setting readable and writable in the controllers as needed. On Wednes

Re: [web2py] Re: Mercurial not found

2012-08-30 Thread Sergi Pons Freixes
2012/8/30 Johann Spies : > I recently installed a recent version of mercurial on Debian stable from > backports and did not have any problem. I just installed the backports version, 2.2.2, and it works fine. Problem solved :) --

Re: [web2py] Re: web editor problems with 2.0.2

2012-08-30 Thread Manuele Pesenti
Il 30/08/2012 14:18, Massimo Di Pierro ha scritto: What os and what version? Debian GNU/Linux 3.2.0-2-486 Cromium version 13.0.782.107 (Developer Build 94237 Linux) Built on Debian unstable, running on Debian wheezy/sid on the same pc works fine with firefox (14.0.1) hope to be of any help

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Igor Hercowitz
Mama mia There's only one word to describe Web2Py: Amazing!!! :D Thank you all folks!!! Igor Em quinta-feira, 30 de agosto de 2012 00h41min34s UTC-3, Massimo Di Pierro escreveu: > > After 5 months. It is done. This is the most waited and the most > feature-packed release. > > I am sure we

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Sridhar
Hi Team, Thanks a ton for the new features and improvements! I'm just getting started and was trying to run web2py.exe on Windows 7 after downloading it from http://www.web2py.com/examples/static/web2py_win.zip (2.0.2 stable). However, ran into this error: ** D:\

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Niphlod
yep, a new column was added and it's defined to be unique. When it gets created if you have n rows already in the table the values in the column are not unique, hence the error. If no rows are in the scheduler_task table, no error should show up. On Thursday, August 30, 2012 2:23:18 PM UTC+2, T

[web2py] Re: DAL backward compatibility problem?

2012-08-30 Thread Manuele Pesenti
Il 30/08/2012 12:09, Manuele Pesenti ha scritto: and these are the two incriminated code lines: 51 f_max = db.plugin_lookout_connections.id.max() 52 id_max = db().select(f_max).first()[f_max] or 0 the problem is by-passed using the following one instead of the line 52 id_max = db(db.plugin_loo

Re: [web2py] web2py 2.0.2 is out

2012-08-30 Thread Emanuel Woiski
Thank you to Maximo and all the developers for making the best web framework even better:) regards woiski 2012/8/30 Massimo Di Pierro > After 5 months. It is done. This is the most waited and the most > feature-packed release. > > I am sure we'll find some corners that need to be ironed but it i

[web2py] Re: GAE with Janrain problem 2.0.2

2012-08-30 Thread howesc
i have not run the code yet. but upon inspection i like that line 1619 of gluon/tools.py is redundant, and because it uses an OR query it breaks on GAE. can someone confirm that: user = user or table_user._db( (table_user.registration_id==value)|

[web2py] Re: Error creating a grid when no user is logged in

2012-08-30 Thread Massimo Di Pierro
fixing in 2.0.3 On Thursday, 30 August 2012 03:59:17 UTC-5, Liam wrote: > > Hi all, > > When creating a grid and no user is logged in, I get an AttributeError: > 'NoneType' object has no attribute 'user'. > > This can be recreated using vanilla web2py 2.0.2: > $ python web2py.py -S welcome -M >

[web2py] Re: Internal Error clicking on the "mailing list" link on the official support page

2012-08-30 Thread Massimo Di Pierro
Thanks. Fixing in 2.0.3 On Thursday, 30 August 2012 04:57:25 UTC-5, Nico Zanferrari wrote: > > Hello, > > I've found that on the official support web page ( > http://web2py.com/examples/default/support) if you click on the first > link (= *mailing list* , that points to > http://web2py.com/examp

[web2py] Re: removed form.vars.{fieldname}_newfilename -- I used it :(

2012-08-30 Thread Massimo Di Pierro
This is an undocumented feature. You should be able to just use form.vars.fieldname instead of form.vars.fieldname_newfieldname it was redundant On Thursday, 30 August 2012 05:18:52 UTC-5, szimszon wrote: > > Hi! > > > https://github.com/mdipierro/web2py/commit/74418b1a6962bf2db36b46f9620e16

[web2py] w2p 2.0.2 problems with existing field with upper case name

2012-08-30 Thread Manuele Pesenti
another problem jumped out using new 2.0.2 release having tables with camel case field names. This is the traceback Traceback (most recent call last): File "/home/manuele/Dropbox/sviluppo/web2py-2.0.2/gluon/restricted.py", line 209, in restricted exec ccode in environment File "/home

Re: [web2py] Re: web editor problems with 2.0.2

2012-08-30 Thread Massimo Di Pierro
Can you try replacing applications/admin/static/ace with the latest version from ace github? If it works, would you send me a patch? On Thursday, 30 August 2012 07:46:09 UTC-5, Manuele wrote: > > Il 30/08/2012 14:18, Massimo Di Pierro ha scritto: > > What os and what version? > > Debian GNU/Lin

[web2py] Re: w2p 2.0.2 problems with existing field with upper case name

2012-08-30 Thread Manuele Pesenti
Il 30/08/2012 15:22, Manuele Pesenti ha scritto: another problem jumped out using new 2.0.2 release having tables with camel case field names. This is the traceback Traceback (most recent call last): File "/home/manuele/Dropbox/sviluppo/web2py-2.0.2/gluon/restricted.py", line 209, in restri

[web2py] Re: GAE with Janrain problem 2.0.2

2012-08-30 Thread Massimo Di Pierro
That was it. Fixing in 2.0.3 On Thursday, 30 August 2012 08:06:42 UTC-5, howesc wrote: > > i have not run the code yet. > > but upon inspection it looks like line 1619 of gluon/tools.py is > redundant, and because it uses an OR query it breaks on GAE. > > can someone confirm that: > >

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Massimo Di Pierro
Please can you post a concrete example? On Thursday, 30 August 2012 02:02:42 UTC-5, Annet wrote: > > Congratulations to all! > > Should be 100% backward compatible. If you run into any issue let us know >> ASAP. >> > > It's not a backward compatibility issue but after updating from 2.0.1 to > 2.

[web2py] Re: removed form.vars.{fieldname}_newfilename -- I used it :(

2012-08-30 Thread szimszon
Thanks. 2012. augusztus 30., csütörtök 15:20:05 UTC+2 időpontban Massimo Di Pierro a következőt írta: > > This is an undocumented feature. You should be able to just use > > form.vars.fieldname > > instead of > > form.vars.fieldname_newfieldname > > it was redundant > > On Thursday, 30 August 2

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Mike Girard
Great news. Can't wait to try it out. Thanks, everyone! On Wednesday, August 29, 2012 11:41:34 PM UTC-4, Massimo Di Pierro wrote: > > After 5 months. It is done. This is the most waited and the most > feature-packed release. > > I am sure we'll find some corners that need to be ironed but it is

Re: [web2py] Re: web editor problems with 2.0.2

2012-08-30 Thread Manuele Pesenti
Il 30/08/2012 15:24, Massimo Di Pierro ha scritto: Can you try replacing applications/admin/static/ace with the latest version from ace github? If it works, would you send me a patch? well in this way it's even worse... I have the same problem with firefox (and again with chromium) M. --

Re: [web2py] Re: How to turn retrieved rows into a SELECT?

2012-08-30 Thread Richard Vézina
Will try to do a dummy app ASAP. Richard On Wed, Aug 29, 2012 at 10:07 PM, lyn2py wrote: > Ok noted on your points below. I would like to clarify. > > First, the plugin files are only a controller file and a module file. they > are both the same as on the web page. > Second, I have modified the

Re: [web2py] upgrade ubuntu to 12.04.1

2012-08-30 Thread Richard Vézina
Under ubuntu 12.04 default postgres version is 9.0 I saw a few email in the pass 3 mounts on the list about little issue, don't know they solve it or they downgrade. I guest there is not so much user under 12.04 yet. But, it will change soon I think with some speed improvement discus by Massimo

[web2py] web2py 2.02 ( stable) install right next to web2py 1.99.7 (stable) under home/www-data/ ....

2012-08-30 Thread Don_X
Hello all ... does anyone have any suggestion on how to proceed with a parallel install of the latest web2py 2.02 ( stable ) under the home/www-data directory ... without messing up my previous 1.99.7 ( which has many apps and custom test apps and exercises that I have made ... ) ... PS. the

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Yarin
Congratulations and many thanks to Massimo and all contributors - the best framework keeps getting better --

Re: [web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Richard Vézina
Only one word : Thanks Richard On Thu, Aug 30, 2012 at 10:09 AM, Yarin wrote: > Congratulations and many thanks to Massimo and all contributors - the best > framework keeps getting better > > -- > > > > --

Re: [web2py] 'Auth' object has no attribute 'use_username'

2012-08-30 Thread Jonathan Lundell
On 30 Aug 2012, at 1:24 AM, Annet wrote: > In web2py 2.0.2 in an application in which I commented out: > > # auth.define_tables(username=False, signature=False) > > I defined a new table, after saving db.py, when I click the database > administration button I get the following error: > > > Ve

Re: [web2py] Simultaneously insert in two tables within one form

2012-08-30 Thread jw
Yes, of course. But in my mention, I have a different task to do. There is a dircet dependency between groupCards and answer. Answer can only exist, when groupCard exist before. There should be a way to test this and to generate a groupCard if it doesn't exist before. My problem is, that I want

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Adi
Thank you Massimo and ALL contributors!!! Starting migration tests now... On Wednesday, August 29, 2012 11:41:34 PM UTC-4, Massimo Di Pierro wrote: > > After 5 months. It is done. This is the most waited and the most > feature-packed release. > > I am sure we'll find some corners that need to b

Re: [web2py] Re: routes.py and patterns with routes_app

2012-08-30 Thread Jonathan Lundell
On 30 Aug 2012, at 1:59 AM, peter wrote: > I got inside gluon. The conversion is done within regex_uri > > I have found that > > http://127.0.0.1:8002/gallery > becomes > 127.0.0.1:http://127.0.0.1:get /gallery > > just before the conversion > > http://localhost:8002/gallery > becomes > 127.0

Re: [web2py] Simultaneously insert in two tables within one form

2012-08-30 Thread Richard Vézina
Think you will need to use jQuery.ajax() about that... Not sure I understand your other question... Dropbox menu (or HTML SELECT OPTION) is a form elements that you can have only for CREATE and UPDATE form, DELETE is not really a form it just a lamda function attach to a record that when it calle

Re: [web2py] Removing labels from forms

2012-08-30 Thread Alec Taylor
Thanks, but that only worked for the first input (email): http://pastie.org/4616739 On Thu, Aug 30, 2012 at 9:43 PM, Anthony wrote: > Try: > > for input in form.elements("input[type=text]"): > > > > On Thursday, August 30, 2012 3:51:13 AM UTC-4, Alec Taylor wrote: > >> No placeholders are added

[web2py] Re: Issue rendering URL inside an A

2012-08-30 Thread Anthony
Hmm, I can't reproduce that. Is that all the code? What version of web2py? Anthony On Thursday, August 30, 2012 8:00:25 AM UTC-4, Daniel Gonzalez wrote: > > Hi, > > I have the following markup in an html viewfile: > > {{=DIV(A('click me',callback=URL('mycallback'),target="me"),_id="me")}} > {{=U

[web2py] [Announcement] web2py powered app Vocabilis.NET

2012-08-30 Thread Alexei Vinidiktov
Hi, I'm glad to announce the launch of my second web2py powered web application www.vocabilis.net. It's a flashcard vocabulary builder for language learners. On the front end I use Flex and on the back end I use web2py. To see the app in action you'll need to register on the site. Registration

Re: [web2py] Removing labels from forms

2012-08-30 Thread Anthony
It doesn't work for password because type="password" for that field. It doesn't work for postcode because your dictionary has "post_code" as the key instead of "postcode", which is the name of the form field. Anthony On Thursday, August 30, 2012 12:01:18 AM UTC-4, Alec Taylor wrote: > > Thanks,

[web2py] Re: Ckeditor(plugin) using the LOAD (....., ajax = True)

2012-08-30 Thread Picheth
Hi simon How do I set a field to ckeditor ? > >> Picheth. >> > --

[web2py] Re: How to use the new cache-options with SQLFORM.grid?

2012-08-30 Thread Anthony
cacheable=True just creates a version of the Rows object that can be cached -- it lacks the update_record and delete_record functions for each record. As a result, it is somewhat faster to create. I don't think the grid uses the update_record and delete_record functions, so presumably the grid c

[web2py] Re: IF no redirect

2012-08-30 Thread Anthony
redirect immediately aborts the current request and sends a 303 response back to the browser with the location of the redirect. The browser then requests the new location, and a whole new request is started. If you want to remember things from one request to the next, you can put the values in

[web2py] 2.02 Table name in smartgrid changed...

2012-08-30 Thread Adi
Smartgrid used to display the table name automatically. Is that supposed to be as before? -- <><>

[web2py] Re: Re-populating a form according to user input

2012-08-30 Thread Daniel Gonzalez
Hi, I have implemented an example of this here: https://github.com/gonvaled/web2py-tests First-level update is working. I have no idea yet how to implement second-level update. Ideas / comments are greatly appreciated. Thanks, Daniel On Thursday, August 30, 2012 8:03:05 AM UTC+2, Daniel Gonza

[web2py] 2.02 can't edit examples - no languages folder

2012-08-30 Thread Adi
[Errno 2] No such file or directory: '/Users/adnan/web2py-branch9/applications/examples/languages' --

Re: [web2py] Re: Re-populating a form according to user input

2012-08-30 Thread Richard Vézina
What you mean a second-level update? I had hack a bit lazy option in order to make it trigger a js event, so once the first condition is selected, the field with the widget binded to it is filtered and become available then when the second field is selected I trigger a js event, but from the lazy

[web2py] fdb patch pending

2012-08-30 Thread Adrian Marius Popa
I have tested the fdb driver integration (just to be sure i have removed kinterbasdb sudo rm -rf /usr/local/lib/python2.7/dist-packages/kinterbasdb ) Here is the pull request https://github.com/web2py/web2py/pull/31 sudo pip install --upgrade fdb use the raw file https://gist.github.com/3529760

[web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Annet
> Please can you post a concrete example? > In: Editing file "init/models/db.py" ... when I click the save button, normally a flash showed up in the top-right corner: file saved on Thu Aug 30 17:55:13 2012 In 2.0.2 the is empty after clicking the save button: I also noticed that wh

[web2py] Lazy_tables with virtual fields

2012-08-30 Thread Paolo
Dear all, I just updated web2py and after turning on the lazy_table I got: Traceback (most recent call last): File "/home/paolo/Dropbox/git/web2py/gluon/restricted.py", line 209, in restricted exec ccode in environment File "/home/paolo/Dropbox/git/web2py/applications/bikend/views/load/

Re: [web2py] Re: Re-populating a form according to user input

2012-08-30 Thread Daniel Gonzalez
by second level update i mean: selecting a country should update the cities *and* the telephones. currently only cities. Am 30.08.2012 17:36 schrieb "Richard Vézina" : > What you mean a second-level update? > > I had hack a bit lazy option in order to make it trigger a js event, so > once the firs

[web2py] web2py 2.0.2 bug

2012-08-30 Thread Francisco Costa
using ngix + uwsgi I get this: * File "/opt/web2py/gluon/languages.py", line 250, in read_possible_plurals for pname in os.listdir(pdir): OSError: [Errno 2] No such file or directory: '/gluon/contrib/rules' unable to load app 0 (mountpoint='') (callable not found or import error) *** no app l

  1   2   3   >