[web2py] Re: Weird problems generating menu from database

2017-08-01 Thread Вячеслав Анатольевич
> > I'm using bootstrap css/js form wellcom app, about stupid.css - now > reading, but it's a little different, > I need to build a menu from the database table (three fields), as in the > example above. > Somthing like this: topmenu |menu |-sibmenu | |- submenu > > -- Resources: -

[web2py] grid show or hidden table coloumn

2017-08-01 Thread 黄祥
is it possible to show or hidden table coloumn in grid base on user choosen? thanks and 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)

[web2py] SQLFORM.grid search type error reduce()

2017-08-01 Thread Paul Ellis
I am getting this error only when searching the auth_membership table I have put in a basic 'appadmin' in my webapp. I call it 'tooladmin' to differentiate from the built in stuff. I use this function to edit any database table: def manage_table(): tablename = request.args(0) pagetitle

[web2py] Re: Integrating existing web2py with GitHub

2017-08-01 Thread Marlysson Silva
Do you want more easy than git command line? A interface maybe...? Or automatize this process to send to remote repository. Em sexta-feira, 28 de julho de 2017 13:13:23 UTC-3, William Ross escreveu: > > Hello, I have an existing web2py project that I edit through the admin > interface. To

[web2py] Re: Rocket server crashing with socket error

2017-08-01 Thread Dave S
On Tuesday, August 1, 2017 at 12:03:37 PM UTC-7, Fabiano Faver wrote: > > environment: Debian 7.11; python 2.7.3; web2py 2.14.5 running on rocket > > background: > An application that have many clients periodically sending data, some are > http posts some others json. > > About 2 month ago it

Re: [web2py] Rocket server crashing with socket error

2017-08-01 Thread Kiran Subbaraman
About 2 months ago, did anything change in the usage of your application - more clients connecting to it, are the payloads in these connections growing in size, etc? In that case, moving to a more performant web server would help. Nginx is recommended here. Is moving to nginx, instead of the

[web2py] Re: Weird problems generating menu from database

2017-08-01 Thread Dave S
On Monday, July 31, 2017 at 10:22:51 PM UTC-7, Вячеслав Анатольевич wrote: > > > Hi, Dave S, maybe you right! But How to create in submenuitem - > submenuitem? >> >> >> > Are you using the bootstrap css/js like the welcome app, or the stupic.css stuff from the examples app, or something

[web2py] Re: web2py crashing

2017-08-01 Thread Fabiano Faver
I got too many of this error lately. And its getting worse every day. I have no idea what to do to stop these errors. I have to reset rocket every few hours. Was this fix eventually reverted ? Someone knows the file it is this workaround? -- Resources: - http://web2py.com -

Re: [web2py] Re: web2py crashing

2017-08-01 Thread Kiran Subbaraman
Can you provide more details on the issue you see on a newer thread? The thread you are posting on is almost 5 years old, so the issue you may be facing may not be because of what is listed in this old thread. In any case, this is the code referenced in this old thread:

[web2py] Re: Weird problems generating menu from database

2017-08-01 Thread Вячеслав Анатольевич
I understood what was the matter, it was styling! But, how to add the third field: if auth.is_logged_in(): rows = db(db.map).select(db.map.menu1, db.map.menu2, db.map.mnm_name, orderby=db.map.num, distinct=True) from collections import defaultdict d = defaultdict(list) for row in rows:

Re: [web2py] Datatables Query String Parsing

2017-08-01 Thread villas
Hi Richard, Thanks for your points of view and I find the discussion interesting. However I'm not sure that we are on the same page: For me, I would defenitly avoid using DTs as I found those kind of fancy > grid too heavy (to many plugins, to many js, flash stuff, etc.) Datatables is not

[web2py] Rocket server crashing with socket error

2017-08-01 Thread Fabiano Faver
environment: Debian 7.11; python 2.7.3; web2py 2.14.5 running on rocket background: An application that have many clients periodically sending data, some are http posts some others json. About 2 month ago it started to eventually throwing this error on console: 2017-08-01 15:50:37,966 -