[web2py:15617] syntax error in gluon/contrib/gql.py

2009-01-30 Thread angleto
--- gluon/contrib/gql.py(revision 682) +++ gluon/contrib/gql.py(working copy) @@ -489,7 +489,7 @@ def count(self): self._db['_lastsql']='count' return len(self.select()) -def delete(self) +def delete(self): self._db['_lastsql']='delete'

[web2py:15711] Re: CAS on GAE

2009-02-01 Thread angleto
Hello, I installed CAS on GAE, when I try to register or retrieve password I get the folloing message: "Internal error, we are unable to send the email", this message is printed by the retrieve function in the controller cas.py. I tryed also to modify the function email in the model email.py as f

[web2py:16577] help with multiple foreign keys on the same table

2009-02-19 Thread angleto
Hi, I have a db like this: db.define_table("hosts", SQLField("dns_hostname", "string", notnull=True, default=None,unique=True)) db.define_table("transmissions", SQLField("src", db.hosts), SQLField("dst", db.hosts), SQLField("data", "integer", notnull=True, default=None))

[web2py:16600] Re: help with multiple foreign keys on the same table

2009-02-20 Thread angleto
now where is the error? thank you very much. Angelo > > On Feb 19, 2:57 pm, angleto wrote: > > > Hi, > > I have a db like this: > > > db.define_table("hosts", > >       SQLField("dns_hostname", "string", notnull=True, > > defaul

[web2py:16792] Re: help with multiple foreign keys on the same table

2009-02-23 Thread angleto
ows the first one works. Thanks a lot. A. > > and > > src=db.hosts.with_alias('src') > dst=db.hosts.with_alias('dst') > rows=db().select(db.transmission.ALL,src.ALL,dsl.ALL,left=[src.on > (db.transmissions.src==src.id), dst.on(db.transmissions.dst==dst.id

[web2py] question about RBAC and ajax functions

2011-08-17 Thread angleto
Hello, in my application I'm using both the embedded Auth module and ajax calls. Everything works fine with synchronous functions, but I have problems with ajax calls. Seems that each ajax call initialize a new session and despite the fact that I'm logged in the ajax functions still require me to l

[web2py] Re: question about RBAC and ajax functions

2011-08-17 Thread angleto
thanks > > On Aug 17, 11:15 am, angleto wrote: > > > Hello, in my application I'm using both the embedded Auth module and > > ajax calls. Everything works fine with synchronous functions, but I > > have problems with ajax calls. Seems that each ajax call initialize

[web2py] Re: question about RBAC and ajax functions

2011-08-18 Thread angleto
Di Pierro wrote: > Strange I never had this problem. I used those browsers without issue. > Can anybody else reproduce this? > > On Aug 17, 2:00 pm, angleto wrote: > > > > > > > > > On Aug 17, 8:11 pm, Massimo Di Pierro > > wrote: > > > >

[web2py] Re: question about RBAC and ajax functions

2011-08-18 Thread angleto
pplication". I solved the problem setting "myapplication" as default application. On Aug 18, 12:52 pm, angleto wrote: > Some further detail, I store sessions on mysql, hereafter the relevant > line of code from the model: > > db = DAL('mysql://username:password@localho