[web2py] Re: web2py Rocket support for python 3.6+

2020-01-30 Thread Rick Williams
Hi Massimo, I appreciate the response. I agree, I've found web2py with rocket to be very stable for us. I want to continue to use it because it provides a nice, simple setup for our internal apps. The problems I see are related to scans our security team runs. Those scans try to check for known

[web2py] web2py Rocket support for python 3.6+

2020-01-27 Thread Rick Williams
Can anyone comment on the ongoing support for Rocket web server (with SSL/Https) with Web2py? My environment is RHEL Linux 7. I've been running on python 2.7.x for long time. I recently moved an app to python 3.6.3 ( I use Red Hat SCL rh-python35 and rh-python36) and ran into some times when we

[web2py] Re: Internal only functions in controllers

2018-05-18 Thread Rick Williams
Thanks, Stifan. I verified double underscore returns invalid function. This will work for me. On Friday, May 18, 2018 at 11:25:34 AM UTC-4, 黄祥 wrote: > > think there are 2 solution for this: > 1. use double underscore as a function name in controller e.g. def > __validate_function() > 2. use mod

[web2py] Internal only functions in controllers

2018-05-18 Thread Rick Williams
Hi All, Somehow I got the impression that functions in controllers that started with the "_" would not be exposed to be called when a user goes to that url. Like "https://myserver/myapp/mycontroller/_something";. But I've since realized this was a wrong impression. Is there a means to define f

[web2py] Re: Version in admin lists "(Running on %s)" instead of providing server info

2016-11-04 Thread Rick Williams
Hi, I see this rather old thread... But I'm running web2py from a virtualenv on rhel 7. My systemd starts web2py with: [Service] WorkingDirectory=/opt/apps/ncemon/ncemoncc4/web2py Environment=VIRTUAL_ENV="/opt/apps/ncemon/ncemoncc4/ENV" Environment=PATH="$VIRTUAL_ENV/bin:$PATH" ExecStart=/opt/ap