[web2py] Re: Location of SQLFORM.grid pagination code for "count (*)" ?

2018-11-20 Thread Thomas Klopf
Hi Anthony, great thanks a lot for the info! I'll post a bug report as well. On Monday, November 19, 2018 at 4:05:30 PM UTC+1, Anthony wrote: > > The code used by the grid to generate the DAL query is at > https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L2351. > Notice you can d

[web2py] Re: Problem with wsgihandler.py Apache/Python3

2018-11-20 Thread Peter
Check if you have in your application in file appadmin.py code: try: ... except Exception, e: ... except Exception, e: is python 2 and should be changed to: except Exception as e: On Sunday, November 18, 2018 at 7:46:35 PM UTC+1, Dave wrote: > > I'm having the same troubles after upgrading

[web2py] Migrations

2018-11-20 Thread Ben Duncan
Is it necessary to enable or even do migrations in the DAL (creating database/ entries) if the database and the tables are already preexisting ? Thanks ... *Ben Duncan* DBA / Chief Software Architect Mississippi State Supreme Court Electronic Filing Division -- Resources: - http://web2py.com -

Re: [web2py] Re: Future of web2py

2018-11-20 Thread Fernando Lucas
Did you think about the JS framework, https://aurelia.io/? Thank's Fernando Lucas Em seg, 29 de mai de 2017 às 20:29, Massimo Di Pierro < massimo.dipie...@gmail.com> escreveu: > My plan is this > > It is based on bottle + gevent + gunicorn + rethinkdb + pydal + vue.js + > some code ported fro

[web2py] Python3 lighttpd fcgi?

2018-11-20 Thread zxynax
Have run web2py on lighttpd fcgi for years. Finally decided to run it with Python3 rather than 2. Fcgi.py from gluon/contrib throws many errors. So is fcgi not recommended? If so what is the recommended method? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http

[web2py] Re: Migrations

2018-11-20 Thread Dave S
On Tuesday, November 20, 2018 at 8:30:29 AM UTC-8, Ben Duncan wrote: > > Is it necessary to enable or even do migrations in the DAL (creating > database/ entries) if the database and the tables are already preexisting ? > > Thanks ... > > *Ben Duncan* > DBA / Chief Software Architect > Mississ

[web2py] Re: Python3 lighttpd fcgi?

2018-11-20 Thread 黄祥
perhaps you can show the error logs and the configuration best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message

[web2py] Hierarchy (BOM) using closure table with triggers in DAL?

2018-11-20 Thread BigBaaadBob
Has anyone implemented a closure table with triggers approach to hierarchy (specifically for a Bill of Materials (BOM) pattern) in Web2Py's DAL? I've seen Massimo's implementation of Preorder Traversal which doesn't wor

[web2py] Hierarchy (BOM) using closure table with triggers in DAL?

2018-11-20 Thread BigBaaadBob
Has anyone implemented a closure table with triggers approach to hierarchy (specifically for a Bill of Materials (BOM) pattern) in Web2Py's DAL? I've seen Massimo's implementation of Preorder Traversal which doesn't wor

[web2py] Re: Python3 lighttpd fcgi?

2018-11-20 Thread zxynax
Lightty config: server.modules += ("mod_fastcgi") fastcgi.debug = 1 $HTTP["url"] !~ "^/static" { fastcgi.server = ( "" => (( "bin-path" => "/srv/web2py/fcgihandler.py", "check-local" => "disable", "socket" => "/tmp/web2py.sock", "max-procs" => 4 ))) } The sour

[web2py] Re: Python3 lighttpd fcgi?

2018-11-20 Thread 黄祥
trying to investigate, but seems the configuration isn't work, step i took docker pull ubuntu docker run -it ubuntu /bin/bash apt update apt install -y lighttpd python python-fcgi unzip wget mkdir /srv cd /srv wget -c http://web2py.com/examples/static/web2py_src.zip unzip -o web2py_src.zip #cp we

[web2py] Re: Python3 lighttpd fcgi?

2018-11-20 Thread zxynax
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- """ This file is part of the web2py Web Framework Copyrighted by Massimo Di Pierro License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html) This is a handler for lighttpd+fastcgi This file has to be in the PYTHONPATH Put something like this in the