Re: [web2py] Re: Randomly stuck web2py

2016-11-07 Thread Wasim Baig
Just to update, we moved to nginx+uwsgi and things seem to be just fine (lot faster too). Will continue monitoring and report if anything seems wrong. Thanks for the advice. -wasim On Tue, 25 Oct 2016 at 22:44 Michele Comitini wrote: You can try to log/debug

[web2py] Re: pydal bug or odd behaviour

2016-11-07 Thread Massimo Di Pierro
Please open a pydal issue. On Monday, 7 November 2016 05:09:53 UTC-6, Manuele wrote: > > Hi! > > Something odd seams happen passing from pydal 16.03 to a newer version > using json field and postgresql adapter. > > This is the traceback I get from the newer version when exploring table > data

[web2py] Re: Memory leak in standalone DAL

2016-11-07 Thread Massimo Di Pierro
I run your code on a Mac and I was unable to reproduce the leak. I invite others to try with different OSes and DAL version. It will help debug it. On Monday, 7 November 2016 19:48:35 UTC-6, Massimo Di Pierro wrote: > > Thank you for your help. We will investigate > Any chance you can try if

[web2py] Re: Memory leak in standalone DAL

2016-11-07 Thread Massimo Di Pierro
Thank you for your help. We will investigate Any chance you can try if the leak exists with the DAL in web2py stable? On Friday, 4 November 2016 21:34:52 UTC-5, Sukhmeet Toor wrote: > > Hi web2py-users, > > I have an application that runs on CherryPy (v8.1.2) on Ubuntu (14.04.5 > LTS) and

[web2py] custom forms

2016-11-07 Thread Tom Schuerlein
I am new to Web2Pyl. I am looking for a help building a custom form. Specifically how to pass db fields to the HTML View when building the code. I've been looking for a tutorial on building custom forms with no luck. I need to be able to have several input fields on one row; with a mixture

Re: [web2py] Re: Which data type for latitude and longitude?

2016-11-07 Thread Manuele Pesenti
Il 07/11/16 18:11, Alex Glaros ha scritto: > Thanks guys. Will probably use GIS later but for now, can you help me > with the field definition syntax for float? Is this correct? > > Field('longtitude', 'FLOAT((5,2))'), > Field('latitude', 'FLOAT((5,2))'), uhm it seams you want decimal ;)

[web2py] strange behavior of $@ bash parameter expansion

2016-11-07 Thread Mirek Zvolský
I use Debian (testing), Postgres 9.4, and Web2py 2.14.6 (with current trunk is problem the same) I use such command (assigned to an alias) for long time to start my application python web2py.py -K codex2020 -X $@ Today I received strange behaviour, errors like web2py.scheduler TICKER: error

[web2py] Re: Which data type for latitude and longitude?

2016-11-07 Thread Alex Glaros
Thanks guys. Will probably use GIS later but for now, can you help me with the field definition syntax for float? Is this correct? Field('longtitude', 'FLOAT((5,2))'), Field('latitude', 'FLOAT((5,2))'), -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

[web2py] Re: Non-users getting permissions by setting auth.settings.everybody_group_id?

2016-11-07 Thread Horst Horst
Thanks for the explanation, Anthony! It seems I had different expectations regarding the definition of "everybody", but I guess either way makes sense. On Thursday, November 3, 2016 at 3:58:50 AM UTC+1, Anthony wrote: > > Perhaps the documentation could explain this better, but the >

[web2py] Re: Which data type for latitude and longitude?

2016-11-07 Thread Pierre
for EPSG:4326 use a *'geography()'* type for a different Coordinate Reference System (here 2154) use something like : *'geometry('',2154,2)'* Le lundi 7 novembre 2016 05:35:40 UTC+1, Alex Glaros a écrit : > > Which web2py data type for latitude and longitude? > > Am using Postgres database > >

Re: [web2py] Which data type for latitude and longitude?

2016-11-07 Thread Manuele Pesenti
Il 07/11/16 05:35, Alex Glaros ha scritto: > Which web2py data type for latitude and longitude? > > Am using Postgres database > > thanks, > > Alex Glaros It depends... for enjoing the full power of GIS capabilities you can consider of using a geometry() field[1] but in this case a PostGIS

[web2py] pydal bug or odd behaviour

2016-11-07 Thread Manuele Pesenti
Hi! Something odd seams happen passing from pydal 16.03 to a newer version using json field and postgresql adapter. This is the traceback I get from the newer version when exploring table data through admin: Traceback (most recent call last): File

[web2py] Re: How can I access functions from multiple files in the controllers directory?

2016-11-07 Thread Fabio Ceccarani
Il giorno venerdì 4 novembre 2016 16:55:21 UTC+1, Anthony ha scritto: > > > You have two options. First, you can simply pass any web2py API or global > objects as arguments to functions or class constructors in your module. > Second, you can import the "current" object in your module. It

Re: [web2py] Re: Graph Model (proposal to contribute)

2016-11-07 Thread António Ramos
+1 for D3js.. 2016-11-06 19:45 GMT+00:00 Jurgis Pralgauskis : > Hi, I would be interested! > > Ps.: I made some subgraph/filtering features, when graph model is big > (hundreds of tables), but with JS it might work nicer.. > > -- > Resources: > - http://web2py.com