[web2py] Re: Dealing with db objects on duplicated app

2018-04-17 Thread Sergio Romero
anymore. Any ideas of this behavior? Thanks El martes, 17 de abril de 2018, 9:14:38 (UTC+2), Dave S escribió: > > > > On Monday, April 16, 2018 at 10:48:34 PM UTC-7, Sergio Romero wrote: >> >> I used the starter app example of mjbeller >> >> I have the same

[web2py] Re: Dealing with db objects on duplicated app

2018-04-16 Thread Sergio Romero
hin requests for each app. Please show the code you are using to > instantiate the DAL object in each app. > > Anthony > > On Monday, April 16, 2018 at 7:58:03 PM UTC-4, Sergio Romero wrote: >> >> Hi there. >> >> I have to deal with a duplicate example app on t

[web2py] Dealing with db objects on duplicated app

2018-04-16 Thread Sergio Romero
Hi there. I have to deal with a duplicate example app on the same rocket server instance. I have modified the sqlite file with each application interact but both of the applicattions has the same db dal object name. When I start the server each applications shares the users and have some

[web2py] Access denied for user 'root'@'localhost' (using password: NO)). web2py on gae

2015-03-16 Thread Sergio Camusso
Help please: my web2py application on gae no longer connect mysql google cloud database. (it was working until a few days ago. no change in configuration mysql instance neither console gae application.) another application python on gae (not web2py) keek working with no problem. log en

Re: [web2py] Re: Export view to a file client side

2014-10-16 Thread Sergio Leal
Thank you very much Anthony. I was stuck with this!! It works perfectly! Again thank you Anthony. Kind regards 2014-10-16 15:07 GMT+02:00 Anthony abasta...@gmail.com: Are you saying you want the client to be able to download a fully rendered HTML document (as opposed to actually displaying

[web2py] Custom field name in db().select()

2013-10-20 Thread Sergio R.
Im using adhoc calculated field ( db.hourlydata.TotalAsh / db.hourlydata.TotalMass ) in db().select() statement. rows = db( db.hourlydata.DevId==1 ).select( db.hourlydata.DevId, db.hourlydata.TotalAsh / db.hourlydata.TotalMass ) Is it possible to define custom names for fields in db().select()

[web2py] Transforming db data to json in web2py for visualization with flot.js

2013-09-11 Thread Sergio R.
I'm having problem to get a valid json string for flot.js visualisation from db data in web2py. This is my controller action: def getdata(): return dict(data=db().select(db.realtimedata.id, db.realtimedata.FlowRate, limitby=(0, 3), orderby=~db.realtimedata.id)) Generic json view returns

[web2py] Re: Web2py/modj/tomcat

2011-10-13 Thread Sergio
On 9 oct, 02:51, Sergio guillaume.se...@gmail.com wrote: Jythin 2.5.2 and latest Web2py work ok for me as long as apps don't use decorators. Decorators do work, the bug I stumbled upon was hidden within a decorated method. It seems to be the same bug as already reported in issue 341. I might

[web2py] Re: Web2py/modj/tomcat

2011-10-08 Thread Sergio
- replace isinstance(string) with isinstance(basestring) in some places - comment out a call to string.translate in Cookie (that one hurt!) Any ideas welcome on how to fix this unicode problem. One last remark : why do we have to have sqlite installed just in order to use jdbc?? Sergio

[web2py] Web2py/modj/tomcat

2011-10-06 Thread Sergio
get it to work. Any ideas? TIA Sergio

[web2py] Re: Renaming the admin application

2011-06-22 Thread Sergio Talens-Oliag
modified files generate the admin references using the URL function). I'll try it now and will send a patch if it works. Greetings, Sergio. -- Sergio Talens-Oliag s...@iti.upv.es http://www.iti.upv.es/ Key fingerprint = FF77 A16B 9D09 FC7B 6656 CFAD 261D E19A 578A 36F2

[web2py] Re: Renaming the admin application

2011-06-22 Thread Sergio Talens-Oliag
El Wed, Jun 22, 2011 at 10:22:01AM +0200, Sergio Talens-Oliag va escriure: El Tue, Jun 21, 2011 at 05:44:47PM -0700, Anthony va escriure: Another option might be to leave the name 'admin' and use routes.py to rewrite incoming and outgoing URLs to 'admin' using a different name

[web2py] Renaming the admin application

2011-06-21 Thread Sergio Talens-Oliag
, as I'm unsure if the __init__.py file will be overwritten on upgrades and feel that this should be adjusted on a different file. Is there a better solution? Where will you put a global setting? Would you accept a patch to simplify the renaming of the admin application? Greetings, Sergio

[web2py] A couple of small bugs with cas_auth.py

2011-06-21 Thread Sergio Talens-Oliag
' and copy the 'email', 'first_name' and 'last_name' from the remote CAS server), but I believe that the fix is still valid anyway. I'm attaching a full patch to this message with the described changes. Greetings, Sergio. -- Sergio Talens-Oliag s...@iti.upv.es http://www.iti.upv.es

[web2py] Re: Renaming the admin application

2011-06-21 Thread Sergio Talens-Oliag
applications that are not handled by web2py, that's why I've changed the name. Anyway, my problem is fixed for now, I just wanted to know if there was a proper web2py way of doing it. Thanks anyway. Greetings, Sergio. -- Sergio Talens-Oliag s...@iti.upv.es http://www.iti.upv.es/ Key fingerprint