Re: [web2py] Re: cannot access my app via http. only via https

2017-02-03 Thread Michael Messmer
I think its the its how the script is built out. The way this comments reads: * For the administrative interface to work, the web2py app must be mounted to and accessed through an HTTPS-enabled site. You would usually mount the app to two websites - HTTPS-disabled one for normal access, and HT

[web2py] Re: Rocket server and HTTPS

2017-02-02 Thread Michael Messmer
I dont know much about Rocket. But if you are looking to move towards nginx in the end. Have you tried any of the install scripts @ https://github.com/web2py/web2py/tree/master/scripts ? On Thursday, February 2, 2017 at 1:49:57 PM UTC-8, Dave S wrote: > > Trying to use HTTPS with the Rocket serv

[web2py] Re: Docker

2017-02-02 Thread Michael Messmer
Sweet On Thursday, February 2, 2017 at 6:30:29 AM UTC-8, mcm wrote: > > Nice! I will try to test it on AWS when time permits. > > Il giorno giovedì 2 febbraio 2017 08:58:54 UTC+1, Michael M ha scritto: >> >> Hello all, I put together a docker build: >> >> https://github.com/preactive/web2py-docker

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

2017-01-24 Thread Michael Messmer
Hello All, Just wanted to get Web2py some additional exposure out there. If y'all could thumbs up my pull request it will get added. Thanks! https://github.com/vinta/awesome-python/pull/787 Also a link to awesome-python https://github.com/vinta/awesome-python/blob/master/README.md Thanks!

[web2py] Re: Best way to send data from web2py client to web2py server

2016-07-21 Thread Michael Messmer
instead. On Thursday, July 21, 2016 at 5:24:38 AM UTC-7, Aydin wrote: > > Centralized DB, because to process the data on the server that is > available by a domain. The data are integers. > > On Wednesday, July 20, 2016 at 11:22:38 PM UTC-4, Michael Messmer wrote: >> >>

[web2py] Re: Best way to send data from web2py client to web2py server

2016-07-20 Thread Michael Messmer
Are you talking about High Availability? Load Balancer and Centralized DB? Why and what kind of data? On Wednesday, July 20, 2016 at 5:59:18 AM UTC-7, Aydin wrote: > > What's the best way to send data from web2py clients to a web2py server? > Especially when there are many web2py clients tha

Re: [web2py] Re: UWSGI root vs limited user.

2016-07-20 Thread Michael Messmer
Sorry for the confusion. And thanks! On Wednesday, July 20, 2016 at 8:38:38 AM UTC-7, Niphlod wrote: > > ah, ok!!! me, I'm proud of myself very little these days > > but, and it's a big butI'm totally proud of you! > > On Wednesday, July 20, 2016 at

Re: [web2py] Re: UWSGI root vs limited user.

2016-07-20 Thread Michael Messmer
gt; so i: >> chmod u+r /opt/www-data/web2py/VERSION >> chmod u+r /opt/www-data/web2py/site-packages >> chmod u+r /opt/www-data/web2py/gluon >> >> restarted ( systemctl restart uwsgi.service ) uwsgi >> >> Loaded perfectly. >> >> Web2py now running as

[web2py] Re: user name case sensitivity

2016-07-19 Thread Michael Messmer
I added it and it still didn't work. But I am using LDAP-AD login method. The method I use is: def user(): if request.args(0) == 'login' and request.post_vars.username: request.post_vars.username = request.vars.username = request.post_vars.username.upper() #or .lower() if you pref

[web2py] UWSGI root vs limited user.

2016-07-18 Thread Michael Messmer
Environment nginx & uwsgi Rhel7 web2py: Version 2.14.6-stable+timestamp.2016.05.09.19.18.48 (Running on Unknown, Python 2.7.5) --- uwsgi.ini file --- [uwsgi] master = true processes = 4 max-requests = 50 enable-threads = true chdir = /opt/www-data/web2py module = wsgihandler:application plugin

[web2py] Re: Send Mail with AppRelay Server

2016-03-13 Thread Michael Messmer
That was it. Thanks! On Sunday, March 13, 2016 at 12:09:12 AM UTC-8, Dave S wrote: > > > > On Saturday, March 12, 2016 at 2:18:38 PM UTC-8, Michael M wrote: >> >> >> Hello, I was recently instructed to use our internal apprelay server for >> sending email internally. >> >> But one of the quirks

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

2016-02-04 Thread Michael Messmer
hard > > Le mardi 2 février 2016 10:46:02 UTC-5, Michael Messmer a écrit : >> >> Yes it does. Submitted: https://github.com/web2py/web2py/issues/1178 >> >> On Wednesday, January 27, 2016 at 3:08:16 PM UTC-8, Massimo Di Pierro >> wrote: >>> >>&g

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

2016-02-02 Thread Michael Messmer
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 >>

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

2016-01-21 Thread Michael Messmer
When I use the following on SQLite manage_groups= True, manage_user = True, 1 entry in would come into db.auth_user When I transferred to Oracle 11g a new user logs in and I get two entries. 42 Mi Me [mme...mme@...NoneNoneNoneNone None 43 mme

[web2py] Re: Oracle drivers.

2015-12-29 Thread Michael Messmer
Submitted. https://github.com/web2py/pydal/issues/322 On Tuesday, December 29, 2015 at 3:18:49 AM UTC-8, Niphlod wrote: > > if it fixes all issues, open a bug on pydal and it'll get merged. > > On Monday, December 28, 2015 at 9:57:52 PM UTC+1, Michael Messmer wrote: >&g

[web2py] Re: Oracle drivers.

2015-12-28 Thread Michael Messmer
@Niphlod @Massimo Is what i did a correct fix and is this something that needs to be corrected here https://github.com/web2py/pydal/blob/master/pydal/adapters/oracle.py ? On Monday, December 28, 2015 at 12:38:13 PM UTC-8, Michael Messmer wrote: > > I looked at the other Adapter Modul

[web2py] Re: Oracle drivers.

2015-12-28 Thread Michael Messmer
ckages/dal/pydal/adapters/oracle.py" "..helpers.classes import Reference" It works On Monday, December 28, 2015 at 10:29:17 AM UTC-8, Michael Messmer wrote: > > ok, so. I tried adding a user record and now im getting this: > > Traceback (most recent call last): >

[web2py] Re: Oracle drivers.

2015-12-28 Thread Michael Messmer
'Reference' is not defined Any Ideas? On Monday, December 28, 2015 at 10:17:46 AM UTC-8, Michael Messmer wrote: > > MAGIC: > > cursor.execute("DROP SEQUENCE AUTH_USER_SEQUENCE") > cursor.execute("DROP SEQUENCE AUTH_GROUP_SEQUENCE") > cursor.e

[web2py] Re: Oracle drivers.

2015-12-28 Thread Michael Messmer
erstanding Linux Permissions and global variables. Ill post my install script after I test on a totally blank non-prod provisioned server in my env. On Monday, December 28, 2015 at 10:11:53 AM UTC-8, Michael Messmer wrote: > > Alright it worked for blah: > > cursor.execute("DROP SE

[web2py] Re: Oracle drivers.

2015-12-28 Thread Michael Messmer
Alright it worked for blah: cursor.execute("DROP SEQUENCE BLAH_SEQUENCE") Going for the rest now. On Monday, December 28, 2015 at 10:09:31 AM UTC-8, Michael Messmer wrote: > > Ahh, I am ULTRA-Newb to db's: > > here is what it returned: > > >>&

[web2py] Re: Oracle drivers.

2015-12-28 Thread Michael Messmer
Ahh, I am ULTRA-Newb to db's: here is what it returned: >>> for row in cursor: ... print row ... ('SYS_C0012098', 'INDEX') ('SYS_LOB092306C3$$', 'LOB') ('AUTH_CAS_SEQUENCE', 'SEQUENCE') ('AUTH_EVENT_SEQUENCE', 'SEQUENCE') ('AUTH_GROUP_SEQUENCE', 'SEQUENCE') ('AUTH_MEMBERSHIP_SEQUENC

[web2py] Re: Oracle drivers.

2015-12-28 Thread Michael Messmer
tes "auth_user" and stops. Is there another table on Oracle that holds what tables it believes has been created? On Monday, December 28, 2015 at 8:58:39 AM UTC-8, Michael Messmer wrote: > > Looks like it was permission issues and the RPM's were installing to a > dire

[web2py] Re: Oracle drivers.

2015-12-28 Thread Michael Messmer
379, in log_execute ret = self.get_cursor().execute(command, *a[1:], **b) DatabaseError: ORA-00955: name is already used by an existing object So it looks like its working I just have to clean the tables and start fresh. On Thursday, December 24, 2015 at 2:31:06 PM UTC-8, Michael Messmer wrote: &g

[web2py] Re: Oracle drivers.

2015-12-24 Thread Michael Messmer
I think it is too. Just made some progress. And a bunch of VM's later: Error ticket for "test" Ticket ID 172.21.140.228.2015-12-24.14-29-42.af6f82d8-d7b2-4a69-8409-1cf04d67c994 Failure to connect, tried 5 times: Traceback (most recent call last): File "/opt/www-data/web2py/gluon/packages/dal

[web2py] Re: Oracle drivers.

2015-10-27 Thread Michael Messmer
se something to help jog anything. And not giving up! :) On Monday, October 26, 2015 at 5:51:26 PM UTC-7, Michael Messmer wrote: > > So i noticed something. I was in root when when I was seeing cx_Oracle: > > # python web2py.py > web2py Web Framework > Created by Massimo Di

[web2py] Re: Oracle drivers.

2015-10-26 Thread Michael Messmer
So i noticed something. I was in root when when I was seeing cx_Oracle: # python web2py.py web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2015 Version 2.12.3-stable+timestamp.2015.08.19.00.18.03 Database drivers available: sqlite3, imaplib, cx_Oracle, pymysql, pg8000 When I

[web2py] Re: Oracle drivers.

2015-10-26 Thread Michael Messmer
Ok That was wrong. mod_wsgi was 3.4 On Thursday, October 22, 2015 at 3:46:42 PM UTC-7, Michael M wrote: > > Is it Possible that the DAL is talking Python 3.4 when my driver is Python > 2.7. So when I call it in Web2py from CLI it works but when the framework > is running its trying to call 3

[web2py] Re: Lost Style when deploying

2015-10-06 Thread Michael Messmer
n Friday, October 2, 2015 at 1:19:51 PM UTC-7, Dave S wrote: > > > > On Thursday, October 1, 2015 at 6:44:55 PM UTC-7, Michael Messmer wrote: >> >> So I spun up the latest web2py source on a Fedora 22 build and when i >> goto the url I get this. >> >>

[web2py] Lost Fomatting on new build

2015-10-01 Thread Michael Messmer
S I don't know what Im doing wrong. Spun up a new Fedora 22 Workstation box. Ran my normal stuff to get it all running and now I am facing this jacked up formatting: Any Thouhgts? Like is missing the ability to talk to a CSS or something. I dunno. Help/pointers?

[web2py] Lost Style when deploying

2015-10-01 Thread Michael Messmer
So I spun up the latest web2py source on a Fedora 22 build and when i goto the url I get this. Does anyone know why I can get to it but the formatting looks terrible? I googled to no avail. Installed: yum install httpd mod_ssl mod_wsgi wget python checkpolicy policycoreutils policycoreut