[web2py] Random ticket issued with apace wsgi

2014-03-24 Thread pkomor
I have a web application with wsgi (apache + mysql debian wheezy). Web2py is 2.5.1, and sometimes I have this error: Error ticket for "gesiesweb" Ticket ID 172.17.156.31.2014-03-10.09-44-48.045b2f54-9181-46f8-8604-24745a8a Versión web2py™ Version 2.5.1-stable+timestamp.2013.06.06.10.35.58

[web2py] Re: Application not OK after upgrade from 2.5.1 to any posterior release...

2013-10-23 Thread pkomor
#debemos insertar al profesor en el grupo responsables usuario = db(db.auth_user.username==form.vars.profe).select(db.auth_user.id).first() if auth.has_membership(user_id=usuario, role='Responsables'): session.flash = T('Responsible already defined&

[web2py] Re: Application not OK after upgrade from 2.5.1 to any posterior release...

2013-10-21 Thread pkomor
pplication is installed there is no problem... Thanks El lunes, 21 de octubre de 2013 21:23:45 UTC+2, Massimo Di Pierro escribió: > > Can you try delete all session files? > > On Monday, 21 October 2013 02:58:13 UTC-5, pkomor wrote: >> >> Hello. I have an application t

[web2py] Application not OK after upgrade from 2.5.1 to any posterior release...

2013-10-21 Thread pkomor
Hello. I have an application that runs fine in web2py 2.5.1, I have upgraded web2py, I disabled migrations and activated after (I don't have fields in the model without the param length), but now when I login with an user created during the initial setup application, all is fine, but when any o

[web2py] count a grouped select

2012-06-21 Thread pkomor
There db(query).count(), but, what is the correct way to count the number of rows that have a grouped select, db(query).select(groupby)? Thanks --