[web2py] Re: Traceback with record versioning enabled and common_filter defined.

2015-01-09 Thread Jose C
Bug reported: https://code.google.com/p/web2py/issues/detail?id=2032&can=4 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message bec

[web2py] Re: Is the .select(cache.x) cleared automatically upon expiration?

2015-01-09 Thread Leonel Câmara
Yes cache disk has the same behaviour. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google

[web2py] Re: Is the .select(cache.x) cleared automatically upon expiration?

2015-01-09 Thread Robin Manoli
Thanks Anthony! Does it work the same to use cache.disk(...) ? Den fredag 9 januari 2015 kl. 14:02:42 UTC+1 skrev Anthony: > > To clear a single item, you can use cache.ram(key, None), and to clear > multiple items, you can use cache.ram.clear(regex='[some regex]'). To clear > the entire cache,

[web2py] Re: Problem using grid after crud

2015-01-09 Thread Cássio Botaro
First, crud is deprecated. it exists only for backyard compatibility. Second, what you want to do? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You re

[web2py] Re: FORM or SQLFORM

2015-01-09 Thread Steve
Massimo, Thanks, i am still getting to know web2py. and i am going through the documentation I guess i will go for the second option :-) Steve Op vrijdag 9 januari 2015 05:46:59 UTC+1 schreef Massimo Di Pierro: > > You have to options. You can use custom widgets to represent for example

Re: [web2py] Re: Please help us test the 2.9.12 binaries

2015-01-09 Thread Dave S
On Thursday, January 8, 2015 at 12:18:35 PM UTC-8, Niphlod wrote: > > all working fine in Windows . > > For me, also, but my test case is still a toy app: local access only, sqlite database, a few hundred entries. But Mozart still shows a birthday on January 27th. Running on a W7 laptop. /d

[web2py] Re: Problem migrating field type from 'string' to 'text' (postgresql)

2015-01-09 Thread Paolo Valleri
Hi, I've checked and web2py trunk works as expected (both directions namely string to text and viceversa) @scott, have you enabled migration? ( DAL(db_uri, migrate=True)) Paolo On Friday, January 9, 2015 at 7:38:08 PM UTC+1, Ian W. Scott wrote: > > OK, I'm upgrading. Ran into a snag with my pass

[web2py] Re: Please help us test the 2.9.12 binaries

2015-01-09 Thread Massimo Di Pierro
sqlite? Do you know this worked before? On Friday, 9 January 2015 15:19:00 UTC-6, Dmitry Ermolaev wrote: > > try define Field as >Field('balance', 'decimal(16,8)', default = Decimal('0.0')), > > then try insert default value - 0+e00 > it rise error! > -- Resources: - http://web2py.com - htt

[web2py] Problem using grid after crud

2015-01-09 Thread Konstantin Fadeev
I make it: db.py: # -*- coding: utf-8 -*- db = DAL('sqlite://storage.sqlite',pool_size=1,check_reserved=['all']) from gluon.tools import Auth, Service, PluginManager, Crud auth = Auth(db) service = Service() plugins = PluginManager() crud = Crud(db) db.define_tab

[web2py] Re: In search of CAS 2 provider and consumer example

2015-01-09 Thread Gökhan Şahin
Hi First off all I tried hard to find a solution via search without success, then decided to write down. Sorry for reviving a - possibly dead - thread. I am a beginner web2py user. I am trying to setup an auth system which is Role Based and controlled centrally via CAS. I will have multiple apps

[web2py] Re: Please help us test the 2.9.12 binaries

2015-01-09 Thread Dmitry Ermolaev
try define Field as Field('balance', 'decimal(16,8)', default = Decimal('0.0')), then try insert default value - 0+e00 it rise error! -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/i

[web2py] Re: spelling errors on documentation page

2015-01-09 Thread Paolo Valleri
In order to don't forget the spelling error you found, you can open an issue on https://github.com/mdipierro/web2py-book In addition, if you want to provide a contribution by creating a Pull Request see https://help.github.com/articles/creating-a-pull-request/ and http://web2py.com/books/default

[web2py] Re: Please help us test the 2.9.12 binaries

2015-01-09 Thread Dmitry Ermolaev
Field(..) work db.Field(..) not work пятница, 9 января 2015 г., 23:54:58 UTC+3 пользователь Dmitry Ermolaev написал: > > I use _src.zip > >> 'DAL' object has no attribute 'Field' >> Versionweb2py™Version 2.9.12-beta+timestamp.2015.01.07.16.40.02PythonPython >> 2.7.8: C:\Python27\python.exe (pr

[web2py] Re: Please help us test the 2.9.12 binaries

2015-01-09 Thread Dmitry Ermolaev
I use _src.zip > 'DAL' object has no attribute 'Field' > Versionweb2py™Version 2.9.12-beta+timestamp.2015.01.07.16.40.02PythonPython > 2.7.8: C:\Python27\python.exe (prefix: C:\Python27)Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > > Traceback (most recent call last): > File "C:\

[web2py] Re: Please help us test the 2.9.12 binaries

2015-01-09 Thread Leonel Câmara
I'm testing this on a pretty beefy laptop but I didn't notice any slowdown. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message beca

[web2py] Re: Problem migrating field type from 'string' to 'text' (postgresql)

2015-01-09 Thread Ian W. Scott
OK, I'm upgrading. Ran into a snag with my passwords file and finding the right port number, but when it's upgraded I'll see whether it does the migration correctly. Thanks On Thursday, January 8, 2015 at 11:47:54 PM UTC-5, Massimo Di Pierro wrote: > > Please upgrade. This should have worked wi

Re: [web2py] Re: Refresh DIV onclick

2015-01-09 Thread Richard Vézina
You should also use session.flash instead of response.flash if you want your flash message to pop in the right place, I mean in your reloaded component after the form it contains has been submitted... Richard On Fri, Jan 9, 2015 at 1:32 PM, Richard Vézina wrote: > Is you LOAD() in view surround

Re: [web2py] Re: Refresh DIV onclick

2015-01-09 Thread Richard Vézina
Is you LOAD() in view surrounding with a div? like so : wrote: > > > On Friday, 7 November 2014 09:19:40 UTC+11, Tim Richardson wrote: >> >> At first glance it seems to me that you should use LOAD components on the >> page. Read that chapter. You will process answers via Ajax (web2py >> submit

Re: [web2py] Re: Please help us test the 2.9.12 binaries

2015-01-09 Thread Richard Vézina
Should profiler can give us a cue if the server is more or less slow between web2py version? I can profile web2py 2.9.5 and the last beta if you want. Richard On Fri, Jan 9, 2015 at 12:18 PM, Richard Vézina wrote: > GTK and app too, but I didn't profile or do any investigation... > > Richard >

Re: [web2py] Re: Please help us test the 2.9.12 binaries

2015-01-09 Thread Richard Vézina
GTK and app too, but I didn't profile or do any investigation... Richard On Fri, Jan 9, 2015 at 12:08 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > I am finding the GTK widget very slow. Is the server also slow? > > > On Wednesday, 7 January 2015 14:10:26 UTC-6, Richard wrote: >>

[web2py] Re: spelling errors on documentation page

2015-01-09 Thread Alex Glaros
is PR "Pull Request"? I don't know how. Can you please instruct? Went to the site but didn't know what to type. thanks Alex -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/l

[web2py] Re: /appadmin/manage/auth GAE access

2015-01-09 Thread Jacinto Parga
Yes, it is very nice and useful. But I was worried because I thought than anyone could access to appadmin if I forgot to clear the session in the browser when access with google account. Thanks Samuel El viernes, 9 de enero de 2015, 16:46:27 (UTC+1), samuel bonill escribió: > > You can use Admi

[web2py] Re: /appadmin/manage/auth GAE access

2015-01-09 Thread Jacinto Parga
Yes!! It is. The only issue is that the browser can store the google session so I have to be carefull width this, because you can logout your google account without finishing the appadmin session. Finally thanks, Massimo. El viernes, 9 de enero de 2015, 6:05:52 (UTC+1), Massimo Di Pierro escri

[web2py] /appadmin/manage/auth GAE access

2015-01-09 Thread samuel bonill
You can use Admin-Plus ( https://github.com/pyner/admin_plus ) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are s

Re: [web2py] ldap auth manage user

2015-01-09 Thread Richard Vézina
Here it is, it was not a problem to import validators finally, what I did is import IS_EMAIL() actually... But I am not sure it really solved the issue... You should follow the other thread for more insight... I make a diff with ldap_auth.py from 2.9.5 and there were not to much off sync... Hope

Re: [web2py] ldap auth manage user

2015-01-09 Thread Richard Vézina
Yes, I think it was the conclusion to which we were coming with Massimo that were making my modification to web2py not acceptable... The check has to be done in LDAP contrib... The problem at this level is to have access to web2py validators, if I remember we can't easily import them, we have to c

[web2py] Re: Is the .select(cache.x) cleared automatically upon expiration?

2015-01-09 Thread Anthony
To clear a single item, you can use cache.ram(key, None), and to clear multiple items, you can use cache.ram.clear(regex='[some regex]'). To clear the entire cache, cache.ram.clear(None). Anthony On Friday, January 9, 2015 at 2:47:39 AM UTC-5, Robin Manoli wrote: > > Ok, thank you Derek. > > I

[web2py] Re: mobile menu item always active

2015-01-09 Thread Richard D
I have tested this on the iPhone and Samsung Note 2014 with the same behaviour. It looks to be a consequent issue. I'll open a ticket for this. Richard D On Friday, January 9, 2015 at 6:07:36 AM UTC+1, Massimo Di Pierro wrote: > > Please open a ticket. Is this an IPad specific issue? > > On Thur

Re: [web2py] current transaction is aborted, commands ignored until end of transaction block

2015-01-09 Thread Paolo Valleri
Hi, have you checked the logs as Michele suggested? Can you tell us all steps to reproduce the issue? Paolo On Thursday, January 8, 2015 at 9:48:50 PM UTC+1, Hector Carrasco wrote: > > Up. > > El sábado, 14 de abril de 2012, 9:28:25 (UTC-3), Michele Comitini escribió: >> >> Activate error loggin

[web2py] Re: Not getting expected results from a query

2015-01-09 Thread Niphlod
then do a def cost3(): jnum = request.args(0,cast=int) a = 0 thequery = db(db.PO.job_id==jnum)._select() results = db(db.PO.job_id==jnum).select() for row in results: a = a + row.mycost return dict(a=a, howmany=len(results), thequery=thequery) too see if the under