[web2py] Re: web2py compatibility for python3

2018-01-30 Thread Michael M
Should this information be updated in "The Book"? On Tuesday, January 30, 2018 at 8:09:14 AM UTC-8, Anthony wrote: > > As of version 2.15, web2py does in fact support Python 3. > > On Tuesday, January 30, 2018 at 11:07:51 AM UTC-5, > narendr...@routemobile.com wrote: >> >> Hi, >> >> currently

[web2py] Docker

2017-02-01 Thread Michael M
Hello all, I put together a docker build: https://github.com/preactive/web2py-docker-centos7-nginx-uwsgi I tested it out on a CentOS7 Azure docker host image. Worked. Just FYI. ;-) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

[web2py] Re: Web2py Added to Vinta's Awesome-Python

2017-02-01 Thread Michael M
My change has been merged. https://github.com/vinta/awesome-python/blob/master/README.md#web-frameworks -- 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] Re: user name case sensitivity

2016-08-14 Thread Michael M
That makes complete sense. ill spin up another app and give it a try. Thank-you for responding to that. :) On Friday, August 12, 2016 at 8:36:51 PM UTC-7, Joe Barnhart wrote: > > There is one important issue -- the line setting the case sensitivity on > auth.settings must occur BEFORE the

[web2py] Re: UWSGI root vs limited user.

2016-07-20 Thread Michael M
Figured it out: Niplod you may be proud. I ran strace in the in the in the service: [Unit] Description=uWSGI Emperor Service After=syslog.target [Service] EnvironmentFile=-/etc/sysconfig/uwsgi ExecStartPre=/bin/mkdir -p /run/uwsgi ExecStartPre=/bin/chown uwsgi:uwsgi /run/uwsgi

[web2py] Re: Scheduler as a service RHEL 7

2016-03-19 Thread Michael M
Sorry Dave, I know how that goes :) If you find a more elegant solution. I'm open. -- 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

[web2py] Re: Oracle Driver Not Available When web2py run from bash script

2016-03-19 Thread Michael M
CX_Oracle and instantclient are weird about permissions. See where they get installed on your system with command "locate" and report back the output of "ls -l" in the directory it was found in. Also run "ps -aux|grep web2py" and see who the user is running it under the different methods you

[web2py] Re: Scheduler as a service RHEL 7

2016-03-15 Thread Michael M
tworktools,networktools Type=simple [Install] WantedBy=multi-user.target -- On Tuesday, March 15, 2016 at 4:43:23 PM UTC-7, Michael M wrote: > > I read though that a ton of times but I believe RHEL 7 retired that method > in /etc/init/ and conf files and moved to systemd and serv

[web2py] Re: Scheduler as a service RHEL 7

2016-03-15 Thread Michael M
:35:40 PM UTC-7, Michael M wrote: >> >> I'm not stuck on getting it running as a Service. >> >> Just getting it so it runs when the server is power cycled or otherwise. >> Insuring that the scheduler is running so it can do DB updates of >> flat-files tha

[web2py] Re: Scheduler as a service RHEL 7

2016-03-15 Thread Michael M
I'm not stuck on getting it running as a Service. Just getting it so it runs when the server is power cycled or otherwise. Insuring that the scheduler is running so it can do DB updates of flat-files that get dumped on the box daily. On Sunday, March 13, 2016 at 7:32:47 PM UTC-7, Michael M

[web2py] Re: Scheduler as a service RHEL 7

2016-03-13 Thread Michael M
quot;journalctl -xe" for details. On Sunday, March 13, 2016 at 7:27:30 PM UTC-7, Michael M wrote: > > [root@server~]# systemctl status web2py-scheduler.service -l > ● web2py-scheduler.service - Web2py Scheduler service >Loaded: loaded (/etc/systemd/system/web2py-schedule

[web2py] Re: Scheduler as a service RHEL 7

2016-03-13 Thread Michael M
: 13549 (python) CGroup: /system.slice/web2py-scheduler.service └─13549 /usr/bin/python /opt/www-data/web2py/web2py.py -K networktools & Mar 13 19:09:14 server systemd[1]: Starting Web2py Scheduler service. On Saturday, March 12, 2016 at 5:20:36 PM UTC-8, Michael M w

[web2py] Scheduler as a service RHEL 7

2016-03-12 Thread Michael M
Currently I have "/etc/systemd/system/web2py-scheduler.service": - [Unit] Description=Web2py Scheduler service chedulerService] ExecStart= /usr/bin/python /opt/www-data/web2py/web2py.py -K networktools -Q & Restart=always KillSignal=SIGQUIT Type=notify

[web2py] Send Mail with AppRelay Server

2016-03-12 Thread Michael M
Hello, I was recently instructed to use our internal apprelay server for sending email internally. But one of the quirks of the server is that is does not require username or password. how do I do I got about doing that because when I comment out in the db.py and appconf.ini the lines

[web2py] Send Mail with AppRelay Server

2016-03-12 Thread Michael M
Hello, I was recently instructed to use our internal apprelay server for sending email internally. But one of the quirks of the server is that is does not require username or password. how do I do I got about doing that because when I comment out in the db.py and appconf.ini the lines that

[web2py] Send Mail with AppRelay Server

2016-03-12 Thread Michael M
Hello, I was recently instructed to use our internal apprelay server for sending email internally. But one of the quirks of the server is that is does not require username or password. how do I do I got about doing that because when I comment out in the db.py and appconf.ini the lines that

[web2py] Re: Duplicate entries in Auth_user DB table upon sign in

2016-01-26 Thread Michael M
to. Should I submit a bugfix on Git? On Friday, January 22, 2016 at 5:36:31 PM UTC-8, Michael M wrote: > > I just asked my guys on my DBA team to do a trace. So they ran the trace > while I logged in. > > They sent me this: > > As discussed, We traced application log

[web2py] Re: Duplicate entries in Auth_user DB table upon sign in

2016-01-22 Thread Michael M
I just asked my guys on my DBA team to do a trace. So they ran the trace while I logged in. They sent me this: As discussed, We traced application login activity. Following are the INSERT statements against WEB2PY_OracleProject.AUTH_USER table INSERT INTO

[web2py] Re: Oracle drivers.

2015-12-04 Thread Michael M
I have been trying to find good a install script for nginx on rhel/cent 7. It has been slow going on my part due to my new job. I just joined the ranks of Unix OS admins. Coming from a Windows world my job of getting up to speed has been a monumental task. ;-) If there is an updated nginx and

[web2py] Re: Oracle drivers.

2015-11-23 Thread Michael M
I did. And still no luck.It Jams me because run web2py from CLI and Rocket serves it. It Oracle works flawlessly with Web2py. So it maybe just an Apache/Mod_WSGI thing. I am trying to get NginX and ( UWSGI or Gunicorn ) to work on my environment ( Fedora 22 / RHEL 7 ) On Monday,

[web2py] Re: Oracle drivers.

2015-10-22 Thread Michael M
Web2py maybe help? On Wednesday, October 14, 2015 at 8:37:54 AM UTC-7, Michael M wrote: > > Has anyone been able to reproduce this? And I don't think you actually > need an Oracle system. Just pointing to a Oracle URI will cause the error > on my side. > > On Thursday, October 8, 2015 a

[web2py] Re: Oracle drivers.

2015-10-22 Thread Michael M
Enterprise Linux) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5, Python 2.7.5) The Running Shows 3.4 Python/2.7.5, Python 2.7.5. could that contribute to the issue? Or am i reading it wrong? Thanks! On Thursday, October 22, 2015 at 3:28:31 PM UTC-7, Michael M wrote: > > Tried it

[web2py] Re: PyCharm license for web2py dev - who wants?

2015-10-15 Thread Michael M
+1 On Sunday, October 11, 2015 at 12:21:16 PM UTC-7, Francisco Ribeiro wrote: > > Hello all, > > for those who know PyCharm is a great IDE from JetBrains that provides > free licenses for Open Source projects like web2py ( > https://www.jetbrains.com/buy/opensource/?product=pycharm ). To

[web2py] Re: Oracle drivers.

2015-10-14 Thread Michael M
Has anyone been able to reproduce this? On Thursday, October 8, 2015 at 12:09:45 PM UTC-7, Michael M wrote: > > Thank-you Niphlod! > > On Thursday, October 8, 2015 at 12:08:40 PM UTC-7, Niphlod wrote: >> >> the repo for pydal is the other one no worries though, I link

[web2py] Re: qrcode

2015-10-14 Thread Michael M
def qrpage(): #Install Python Modules: (Pillow,qrcode) #https://github.com/lincolnloop/python-qrcode ToQRData = auth.user.username + ' Likes MLP:FIM' import qrcode import StringIO qr = qrcode.QRCode( version=1,

Re: [web2py] Re: qrcode

2015-10-14 Thread Michael M
_init__.pyc'> >> > > How to show de picture + text message? > > thx > > 2015-10-14 13:05 GMT-03:00 Michael M <prea...@gmail.com >: > >> def qrpage(): >> #Install Python Modules: (Pillow,qrcode) >> #https://github.com/lincolnloop/python-qrc

Re: [web2py] Re: qrcode

2015-10-14 Thread Michael M
: > > Hi Michael, > > 2015-10-14 16:00 GMT-03:00 Michael M <prea...@gmail.com >: > >> {{=XML(img_tag)}} > > > It worked! Grateful for all! > > Fabiano. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://g

Re: [web2py] Re: Has anyone done a detailed security analysis or attempted a methodical attack on web2py?

2015-10-09 Thread Michael M
My company has to have an outside firm Pen test all Web-Service applications. So I am spinning up two internal services and both are going to be tested around November before they go into Prod from Non-Prod. I'm starting talks with the InfoSec team to see if I can share the findings of the

[web2py] Re: Oracle drivers.

2015-10-08 Thread Michael M
Thank-you Niphlod! On Thursday, October 8, 2015 at 12:08:40 PM UTC-7, Niphlod wrote: > > the repo for pydal is the other one no worries though, I linked your > one in https://github.com/web2py/pydal/issues/299 > > On Thursday, October 8, 2015 at 3:13:11 AM UTC+2,

[web2py] Re: Oracle drivers.

2015-10-07 Thread Michael M
Submitted: https://github.com/web2py/web2py/issues/1082 On Wednesday, October 7, 2015 at 5:29:43 PM UTC-7, Massimo Di Pierro wrote: > > This may be a bug. Can you please open a pydal ticket and we will check it > asap? > > On Wednesday, 7 October 2015 14:50:13 UTC-5, Michael M wro

[web2py] Re: Oracle drivers.

2015-10-07 Thread Michael M
str(self.drivers)) RuntimeError: no driver available ('cx_Oracle',) On Wednesday, October 7, 2015 at 12:45:19 PM UTC-7, Willoughby wrote: > > When you start web2py from a command line it should list 'Database drivers > available' - is it on that list? > > On Wednesday, October 7,

[web2py] Re: Oracle drivers.

2015-10-07 Thread Michael M
-instantclient11.2-sqlplus-11.2.0.4.0-1.x86_64.rpm oracle-instantclient11.2-tools-11.2.0.4.0-1.x86_64.rpm then cx_Oracle-5.1.2-11g-py27-1.x86_64.rpm Still no dice in Web2py On Tuesday, October 6, 2015 at 5:09:18 PM UTC-7, Michael M wrote: > > I was testing in non-prod (RHEL) to see if it was

[web2py] Re: Lost Style when deploying

2015-10-06 Thread Michael M
Hehe, indeed. -- 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 because you are subscribed to the Google Groups "web2py-users"

[web2py] Re: Oracle drivers.

2015-10-06 Thread Michael M
I was testing in non-prod (RHEL) to see if it was built in. it wasnt. on my Fedora 22 at my desk I installed cx_Oracle because it works when i am in CLI python and I can call it no errors. I have yet to dabble in virtualenv. I have systemctl restart httpd after every change. even reboots to

[web2py] Re: Oracle drivers.

2015-10-06 Thread Michael M
yeah I tried spinning up another application in my Non-prod env. 2.12.3-stable+timestamp.2015.08.19.00.18.03 (Running on Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5, Python 2.7.5) and just changed the URI from: uri = sqlite://storage.sqlite to:

[web2py] Oracle drivers.

2015-10-06 Thread Michael M
2.12.3-stable+timestamp.2015.08.19.00.18.03 (Running on Apache/2.4.16 (Fedora) OpenSSL/1.0.1k-fips mod_wsgi/4.4.8 Python/2.7.10, Python 2.7.10) So "import cx_Oracle" works in python console but when I tried using it in web2py it errors out. (Cannot import module

[web2py] Re: Oracle drivers.

2015-10-06 Thread Michael M
i was just trying to find some way to expose more of what going on. When I call Oracle in my DB configs uri = oracle://... I get this 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. Traceback (most recent call last): File

[web2py] Re: Oracle drivers.

2015-10-06 Thread Michael M
if do_connect: self.find_driver(adapter_args,uri) File "/opt/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py", line 188, in find_driver raise RuntimeError("no driver available %s" % str(self.drivers)) RuntimeError: no driver available ('cx_Oracle',) On Tuesday, Oc

Re: [web2py] Proposed Change to "setup-web2py-fedora.sh"

2015-09-29 Thread Michael M
In my environment. I have to go to a different floor and sit at a linux admin's desk to finalize the script. He yelled at me that the password prompt should not be in clear text. And their policy is watch exactly what non-admins are doing. On Tuesday, September 29, 2015 at 9:06:00 AM UTC-7,

[web2py] Proposed Change to "setup-web2py-fedora.sh"

2015-09-28 Thread Michael M
On File "Setup-web2py-fedora.sh" Line 387: sudo -u apache python -c "from gluon.main import save_password; save_password(raw_input('admin password: '),443)" to Line 387: sudo -u apache python -c "from gluon.main import save_password; import getpass; save_password(getpass.getpass('admin

[web2py] Re: Load Balanced Server code updating

2015-08-12 Thread Michael M
, August 12, 2015 at 7:49:13 AM UTC+2, Michael M wrote: Hello All, I was looking at Load Balancing due to my Self Service Web Portal is I/O and Networking intensive. I found http://www.web2pyslices.com/slice/show/1360/high-availability-cluster-with-pound in it there is a this We

[web2py] Load Balanced Server code updating

2015-08-11 Thread Michael M
Hello All, I was looking at Load Balancing due to my Self Service Web Portal is I/O and Networking intensive. I found http://www.web2pyslices.com/slice/show/1360/high-availability-cluster-with-pound in it there is a this We recommend using