[web2py] Re: Some trouble with the oracle driver

2014-12-20 Thread Paolo Valleri
My guest is the alias name 'group', have you already tried with a different name? Paolo On Sunday, December 21, 2014 1:34:21 AM UTC+1, Manuele wrote: > > I get this traceback error: > > Traceback (most recent call last): > File "/home/manuele/web2py/gluon/restricted.py", line 224, in restrict

[web2py] Some trouble with the oracle driver

2014-12-20 Thread Manuele Pesenti
I get this traceback error: Traceback (most recent call last): File "/home/manuele/web2py/gluon/restricted.py", line 224, in restricted exec ccode in environment File "/home/manuele/web2py.trunk/applications/theseus2/models/dashboard/dashboard.py", line 158, in requires = IS_EMPTY_O

[web2py] evote-Exception

2014-12-20 Thread Martin Weissenboeck
I have tried evote - very nice, I'll try to use it in our school. In evote/views/default/ballot_verifier.py I found: # this is the code that verifies the signature public_key = rsa.PublicKey.load_pkcs1(pk_pem) if rsa.verify(ballot, signature, public_key)*==None*: print 'valid' else: print

[web2py] Re: new feature in trunk: TODO panel in admin editor

2014-12-20 Thread LoveWeb2py
How do we add to the TODO panel? I've tried double clicking and looking for additional documentation but can't seem to find anything. On Sunday, December 8, 2013 4:36:00 AM UTC-5, Paolo Valleri wrote: > > Dear all, > the online editor has got a new TODO panel in which are listed all TODO > you m

[web2py] routes_onerror

2014-12-20 Thread Annet
To keep vistors of my app from seeing error tickets I coded the following routes.py and put it in web2py's home directory: routes_onerror = [ (r'init/*', r'/handler/default/error') ,(r'myleonexus/*', r'/handler/default/error') ,(r'*/*', r'/handler/default/error') ] In case of an erro

Re: [web2py] Re: bug issue in query serialization

2014-12-20 Thread Manuele Pesenti
Il 19/12/14 19:48, Paolo Valleri ha scritto: > Hi, where are you using the serialized query? > The simpler solution is to add the following two lines in the > custom_json function of gluon/serializer.py: > | > elif isinstance(o, set): > return list(o) > | > > However this trick will con

[web2py] grid and expressions

2014-12-20 Thread Manuele Pesenti
Hi *, why expressions are not accepted by grid while I can use parameter groupby? I think they could be treated as virtual fields... right? Thanks Manuele -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://cod