Re: [web2py] Re: Web2py, nginx, installation on Raspberry Pi

2016-07-23 Thread Ben Lawrence
Marcelo has a beta script at https://github.com/motasmarcelo/setup-web2py-nginx-uwsgi-debian8.git On Wednesday, May 25, 2016 at 3:45:23 PM UTC-7, Ben Lawrence wrote: > > Hi > Did you finally manage to upload the modified script for raspberry pi ? > > On Tuesday, August 26, 2014 at 12:09:44 PM

[web2py] SQLFORM.accepts() bug - custom widget looses formstyle added classes

2016-07-23 Thread Eliot Simcoe
I have a custom currency widget (that renders a text field with a '$' at the front of it) and I'm using the bootstrap3_inline formstyle for generating forms using SQLFORM. The formstye is executed before SQLFORM.accepts(). If an error occurs in my form, the block of code in

[web2py] Re: Field type list:string in SQLFORM.grid problem new entries.

2016-07-23 Thread Dave S
On Friday, July 22, 2016 at 4:45:58 AM UTC-7, Alex Santana wrote: > > Thanks Dave, > > I was doing exactly this! > I spent some time prototyping a fabfile to use when a new release comes out, so I've poked around some of these issues. I did forget to mention that if you have some custom

[web2py] Curreny

2016-07-23 Thread Carlos Zenteno
Stupid question... When we run >From gluon import current Where does current is imported from? I have only found current defined in globals.py as : Import threading Current = threading.local () -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: web2py session disable

2016-07-23 Thread Anthony
Looks like a bug introduced a long time ago (I guess no one uses this feature). I just submitted an issue: https://github.com/web2py/web2py/issues/1406. Anthony On Saturday, July 23, 2016 at 10:43:21 AM UTC-4, luis.vallada...@metamaxzone.com wrote: > > Here is my ticket traceback: > >

[web2py] Re: web2py session disable

2016-07-23 Thread luis . valladares
Here is my ticket traceback: Traceback (most recent call last): File "/usr/share/nginx/html/web2py/gluon/main.py", line 457, in wsgibase session._try_store_in_db(request, response) File "/usr/share/nginx/html/web2py/gluon/globals.py", line 1158, in _try_store_in_db

Re: [web2py] Re: qrcode

2016-07-23 Thread isi_jca
> Hi!!!. > > When I try to print qrcode image to pdf using pyfpdf, I get the next error: FPDF error: Unsupported image type: pilimage object at 0x7f2e82f13a50> Versión web2py™ Version 2.14.5-stable+timestamp.2016.04.14.03.26.16 Python Python 2.7.6: /usr/bin/python (prefix: /usr) Anyone

[web2py] Re: Query Production Oracle database using DAL

2016-07-23 Thread Ben Lawrence
Hi Paolo the script mentioned in the book python scripts/cpdb.py \ -f applications/app/databases \ -y 'sqlite://storage.sqlite' \ -Y 'postgres://username:password@localhost/mydb' \ -d ../gluon can no longer find DAL. What is the correct -d ? (if you know) thanks in advance, Ben On

[web2py] Re: web2py on android

2016-07-23 Thread eric cuver
you can use cordova wbeview and used side client brython( python) and backend web2py I create the applications in this way it works very well Le mardi 19 juillet 2016 13:16:10 UTC+2, Paolo Amboni a écrit : > > Is it possible to do something like that with web2py? > > Android apps with Python,