[web2py] OT: openshift trouble

2017-09-04 Thread Manuele
Dear all, maybe someone had experience in deploying web2py on Openshift version 3. I'm trying to realize a kind of porting of openshift_web2py project for the new version (3) of the service but something goes wrong during deploy. I'd like to use the gunicorn HTTP, but adopting a wsgy.py scrip

[web2py] Re: OT: openshift trouble

2017-09-04 Thread Manuele
Would it be a good option to use a bash script (app.sh) instead of wsgi.py[1] and run the anyserver.py script through it?? thank you very much Cheers M. [1] Accordingly to: https://github.com/sclorg/s2i-python-container/blob/master/2.7/README.md#run-strategies Il 04/09/2017 13:15, Man

[web2py] Why web2py server hangs/freeze?

2017-09-04 Thread Narendra Kumar
Hi, I stuck on the problem, as web2py server freezes/hang frequently. Almost daily. I tried to track the reason, but I did not get any possible reason. Because I think this happen due to large amount of data processing and create file with large data or try to download big files. But later I f

[web2py] SQLFORM.grid selectable with multiple buttons behaves strange

2017-09-04 Thread A3
When using SQLFORM.grid selectable with multiple button I get the following phenomena: - When I click the buttons the associated action is properly performed. which is the download of a zip file or excel file. - After the download the button text of the second button changed and becomes equal

Re: [web2py] Re: Support for BIT(1) as boolean?

2017-09-04 Thread 'Yan Wong' via web2py-users
With this code, I now find that with the latest version of web2py (2.15.4), I get File "applications/XXX/models/db.py", line 46, in db._adapter.types = copy.copy(db._adapter.types) AttributeError: can't set attribute I have deleted the copy.copy line, so that I am modifying the adapter st

Re: [web2py] Why web2py server hangs/freeze?

2017-09-04 Thread Kiran Subbaraman
It would help if you provide details of your setup - OS version, python version, web2py version. - configuration - do you use web2py with a webserver, and which one. - do you see anything printed in the console, or web2py log file, or webserver log file when this happens? Are you able to recrea

[web2py] how to import a package that has deeply nested imports

2017-09-04 Thread Carl Hunter Roach
I'd like to use https://github.com/freshplanet/AppEngine-SocketPool/tree/master/tlslite in a GAE/Web2py project If I place tlslite in my apps `modules` directory I can then add imports such as `from applications.appname.modules.tlslite import ...` but tlslite's python source has many `import`

Re: [web2py] Re: book help

2017-09-04 Thread Dave S
On Wednesday, August 30, 2017 at 1:36:16 PM UTC-7, Dave S wrote: > > > > On Monday, August 21, 2017 at 7:48:44 AM UTC-7, Richard wrote: >> >> Delete your branche and start all over: >> >> git push origin branch-name >> >> Then go over github see if it works... >> >> Richard >> >> > I haven't gotten

[web2py] Re: how to pass table name to controller?

2017-09-04 Thread Alex Glaros
still could use some advice to make it work in usable way does the var need special braces or syntax to be recognized? db.Role.object_super_object_FK.requires = IS_IN_DB(db ([ specificTableToSearchMembersFromID]), -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - ht

[web2py] Re: how to pass table name to controller?

2017-09-04 Thread Alex Glaros
well, maybe it is usable, but is this a hack that could be formatted better? specificTableToSearchMembersFromID = str(specificTableToSearchMembersFromID) + '.id' db.Role.object_super_object_FK.requires = IS_IN_DB(db(specificTableToSearchMembersFromID > 0), 'client_controlled_documentation_stake

[web2py] Re: web2py 2.15.4 is OUT

2017-09-04 Thread domezzzz
Yes now. Total of different files: 37 download: 15:40 de Uruguay Greetings Massimo. -- 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 mess

[web2py] Re: mercurial

2017-09-04 Thread Marcelo Huerta
El sábado, 2 de septiembre de 2017, 1:23:07 (UTC-3), Massimo Di Pierro escribió: > > also we can assume git is already installed so it is a matter of calling > subprocess. I would take a patch to simplify the code. :-) > > What about people with other VCSs installed which would want to use them?

[web2py] Re: Why web2py server hangs/freeze?

2017-09-04 Thread Narendra Kumar
I did not see any error or any warning in httpserver.log file as well as application's log. Server configuration: Linux OS = Oracle Linux Server release 6.8 Python = 2.6.6 (r266:84292, Jul 23 2015, 05:13:40) [GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] Web2py = 2.14.6-stable+timestamp.2016.05.09.19

Re: [web2py] Re: Why web2py server hangs/freeze?

2017-09-04 Thread Kiran Subbaraman
Am not sure what is causing the issue. The debug steps mentioned earlier will help you understand what is going on. I understand you are on 2.14.x. As an FYI, web2py 2.15.x on wards has deprecated support for python 2.6. Search for 2.6 mentions on this page: https://github.com/web2py/web2py/blo