[web2py] Re: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-05-06 Thread Valdeck Rowe
Thanks. This looks like it would most likely have worked for me. However I've moved away from Postgres for that project as it was mission critical and I was running out of time. I may revisit at a later time. Really appreciate the responses Thanks again everyone. On Sunday, April 19,

[web2py] Anyone using Caddy for production deployment?

2020-05-06 Thread Valdeck Rowe
Playing with it now, and it appears to be so much simpler and less time intensive to get up and running... -- 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: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-04-18 Thread Valdeck Rowe
Is it possible for me to use the pg8000 driver? On Tuesday, April 14, 2020 at 12:58:14 PM UTC-5, Valdeck Rowe wrote: > > Greetings, > > Got this error on a production Centos 7 box (on an intranet) after running > the centos setup script (setup-web2py-nginx-uwsgi-centos7.sh) to u

Re: [web2py] Re: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-04-18 Thread Valdeck Rowe
Did not work for me. I wonder what I might be missing. On Saturday, April 18, 2020 at 2:25:54 PM UTC-5, Valdeck Rowe wrote: > > > Thanks, will try this and let you know how it goes. > > On Saturday, April 18, 2020 at 12:15:35 PM UTC-5, Lovedie JC wrote: >> >> I once had

Re: [web2py] Re: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-04-18 Thread Valdeck Rowe
Thanks, will try this and let you know how it goes. On Saturday, April 18, 2020 at 12:15:35 PM UTC-5, Lovedie JC wrote: > > I once had the same error, > Updated Web2py then copied the psycopg2 in the modules folder. > It worked for me. > Regards > > On Sat, Apr 18, 202

[web2py] Re: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-04-18 Thread Valdeck Rowe
So I checked gluon/contrib and it wasn't there, so I moved it into gluon/contrib. Restarted nginx. Still getting the same error. On Thursday, April 16, 2020 at 3:57:53 PM UTC-5, Dave S wrote: > > > > On Wednesday, April 15, 2020 at 4:52:50 PM UTC-7, Valdeck Rowe wrote: >&

[web2py] Re: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-04-15 Thread Valdeck Rowe
I've copied the psycopg2 package over to the web2py/site-packages folder, added the packages folder to the path. Still nothing On Tuesday, April 14, 2020 at 12:58:14 PM UTC-5, Valdeck Rowe wrote: > > Greetings, > > Got this error on a production Centos 7 box (on an intranet) a

[web2py] Re: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-04-15 Thread Valdeck Rowe
PYTHONPATH is blank On Wednesday, April 15, 2020 at 4:26:31 AM UTC-5, Dave S wrote: > > > > On Tuesday, April 14, 2020 at 4:29:12 PM UTC-7, Valdeck Rowe wrote: >> >> Also tried installing psycopg2-binary to no avail >> >> > Installed in the system p

[web2py] Re: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-04-14 Thread Valdeck Rowe
Also tried installing psycopg2-binary to no avail On Tuesday, April 14, 2020 at 12:58:14 PM UTC-5, Valdeck Rowe wrote: > > Greetings, > > Got this error on a production Centos 7 box (on an intranet) after running > the centos setup script (setup-web2py-nginx-uwsgi-centos7.sh) to u

[web2py] Re: Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-04-14 Thread Valdeck Rowe
Tried uninstalling and reinstalling psycopg2, restarted the server (nginx) to no avail. On Tuesday, April 14, 2020 at 12:58:14 PM UTC-5, Valdeck Rowe wrote: > > Greetings, > > Got this error on a production Centos 7 box (on an intranet) after running > the centos setup scrip

[web2py] Getting an error that ends in "No driver of supported ones %s is available" % str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) is available

2020-04-14 Thread Valdeck Rowe
Greetings, Got this error on a production Centos 7 box (on an intranet) after running the centos setup script (setup-web2py-nginx-uwsgi-centos7.sh) to update web2py before updating the application. Full error message: Failure to connect, tried 5 times: Traceback (most recent call last):

[web2py] Re: Internal Server Error after attempting to upgrade web2py to 2.18.5 via the Admin interface

2019-08-23 Thread Valdeck Rowe
ugust 20, 2019 at 11:02:32 PM UTC-5, Dave S wrote: > > > > On Tuesday, August 20, 2019 at 8:13:16 PM UTC-7, Valdeck Rowe wrote: >> >> Hi, >> >> This had been a working installation running a few separate apps under a >> single web2py instance. >> &g

[web2py] Re: Internal Server Error after attempting to upgrade web2py to 2.18.5 via the Admin interface

2019-08-22 Thread Valdeck Rowe
Only tickets from mainapp.are from months ago. There are also no logs. I'm using uwsgi nginx as the front end. On Tuesday, August 20, 2019 at 11:02:32 PM UTC-5, Dave S wrote: > > > > On Tuesday, August 20, 2019 at 8:13:16 PM UTC-7, Valdeck Rowe wrote: >> >> Hi, >&

[web2py] Internal Server Error after attempting to upgrade web2py to 2.18.5 via the Admin interface

2019-08-20 Thread Valdeck Rowe
Hi, This had been a working installation running a few separate apps under a single web2py instance. First I clicked the upgrade button from within the admin interface hoping it would go as smoothly as it usually does on my local PC and restarted the server. Instantly started getting

[web2py] Re: web2py and timezones

2019-03-09 Thread Valdeck Rowe
Hi, I started to try out niphlod's timezone plugin (https://github.com/niphlod/w2p_timezone_plugin) only to realize that my web2py doesn't recognize the timezone attribute of the IS_DATE* validators. It was then that I noticed the 2.5.4 web2py version that it works with. Any ideas when this

[web2py] Getting a PWA set up based on web2py

2018-10-10 Thread Valdeck Rowe
I decided to use upup.js by Tal Ater, website here: https://www.talater.com/upup/getting-started-with-offline-first.html, mainly because I had a project deadline and needed something with a short learning curve. The main thing about PWAs appears to be that the service worker javascript files

[web2py] Re: What could cause the "ValueError: invalid literal for int() with base 10" inside appadmin only?

2018-10-09 Thread Valdeck Rowe
This problem only occurs while I'm logged into the custom app. If I'm logged out of the app I can access appadmin, without issue, but once I'm logged in, I cannot manipulate any data from withing appadmin. On Tuesday, October 9, 2018 at 2:26:01 PM UTC-5, Valdeck Rowe wrote: > > I en

[web2py] Re: What could cause the "ValueError: invalid literal for int() with base 10" inside appadmin only?

2018-10-09 Thread Valdeck Rowe
I ended up using the Clean option from the admin app and I no longer have this problem. On Tuesday, October 9, 2018 at 1:26:27 PM UTC-5, Valdeck Rowe wrote: > > Whenever I try to access the database via appadmin, I'm getting > "ValueError: invalid literal for int() with

[web2py] What could cause the "ValueError: invalid literal for int() with base 10" inside appadmin only?

2018-10-09 Thread Valdeck Rowe
Whenever I try to access the database via appadmin, I'm getting "ValueError: invalid literal for int() with base 10: 'user' " . The app itself works as designed, however, for some reason the appadmin app is affected. The nearest thing I can tell is that appadmin uses 'db' or the table name in

[web2py] Re: BaseException: domain not in config []

2018-07-19 Thread Valdeck Rowe
t as the traceback indicated, there is no "domain" section in the > configuration file. > > Anthony > > On Wednesday, July 18, 2018 at 6:08:14 PM UTC-4, Valdeck Rowe wrote: >> >> Here is the entire user.html file just in case it proves helpful: >> >> {{#

[web2py] Re: BaseException: domain not in config []

2018-07-18 Thread Valdeck Rowe
Here is the entire user.html file just in case it proves helpful: {{#extend 'layout.html'}} https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css; integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> #web2py_user_form {

[web2py] Re: BaseException: domain not in config []

2018-07-18 Thread Valdeck Rowe
[app] name = Some app abbreviation = CTS author = Valdeck Rowe description = a cool new app to manage container movement keywords = web2py, python, framework generator= Web2py Web Framework company = Some Company version = 1.0 ; Host configuration [dev_host] names

[web2py] BaseException: domain not in config []

2018-07-18 Thread Valdeck Rowe
Hi, I set web2py up on a test server with the app I'd built for UAT purposes. I had a UAT session with a user without any issues. Everything has been running fine for a few days and then today when another user is to login and test, they complain that their password doesn't work. I go in

[web2py] This one is a doozy, weird, never before seen error

2018-07-18 Thread Valdeck Rowe
Hi, I set web2py up on a server with the app I built. I had a UAT session with a user without any issues. Everything has been running fine for a few days and then today when another user is to login and test, they complain that their password doesn't work. I go in reset the password, logout

[web2py] Re: web2py pwa

2018-04-30 Thread Valdeck Rowe
Hey, Check out upup by Tal Ater ( https://www.talater.com/upup/getting-started-with-offline-first.html). Run through the simple tutorial. Saved me a ton of time. I've used it in a project where I needed a PWA. Not a web2py app, but the process should be applicable. Found out about it here:

[web2py] Re: Email not working

2017-01-10 Thread Valdeck Rowe
't handle >> - tls or ssl enabled (or disabled) and the smtp endpoint not "in tune" >> with web2py's settings >> >> I'm also pretty sure that the traceback kinda steers towards the right >> direction in the second case. >> >> On Monday, August

[web2py] Issue with multi-tenant setup - invalid function error

2016-12-13 Thread Valdeck Rowe
I'm having an issue where I don't fully understand how to implement the solution given here (https://groups.google.com/d/msg/web2py/WefCd9O8tLI/io3gWEK3FgAJ) for having the multitenant domain come after the website URL. I get an invalid function error when I attempt to go to any such URL, eg:

Re: [web2py] Re: Email not working

2016-08-09 Thread Valdeck Rowe
Thanks, Will try them out and let you know. "Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated

[web2py] Re: Email not working

2016-08-08 Thread Valdeck Rowe
Hi I've never gotten the smtp interface in web2py to work either. It just simply does not appear to work with Google or with Mailgun. I always end up using the mailgun api. I'm not sure what I'm missing but its a bit frustrating, especially considering that I'm trying to sell them on web2py

[web2py] maxtextlengths is not working for me

2016-06-17 Thread Valdeck Rowe
This one does not work, it gives the default behavior. maxtextlengths = { 'scenario_step.activity' : 80, 'use_case.title' : 40, 'scenario_step_target.target_use_case':30 }, This works however, but is not individualized to the different

[web2py] Bug? autocomplete widget kills the bootstrapiness of the associated smartgrid form control

2016-04-02 Thread Valdeck Rowe
I've noticed that adding autocomplete widget to a field definition (only appears to work programmatically) removes the form-control class attribute from the smartgrid input fields. Adding this: db.person.status.widget = SQLFORM.widgets.autocomplete(request, db.person.status, limitby = (0,15),

[web2py] Re: I get an error whenever I try to send an email from within web2py that doesn't seem related to the

2016-03-28 Thread Valdeck Rowe
Never mind, problem solved. I suspect that I wasn't referencing the object attribute - which is the source for the message - properly. Lesson learned - it does help to read the underlying code. On Monday, March 28, 2016 at 7:12:55 AM UTC-5, Valdeck Rowe wrote: > > Ok still having an

[web2py] Re: I get an error whenever I try to send an email from within web2py that doesn't seem related to the

2016-03-28 Thread Valdeck Rowe
ange 1 message text' for 'to', 'subject' and 'message' respectively. What could be the cause of something like this? Thanks in advance. On Saturday, March 26, 2016 at 3:08:05 PM UTC-5, Valdeck Rowe wrote: > > The thing is that the error doesn't seem to have anything to do with the > the

[web2py] Re: I get an error whenever I try to send an email from within web2py that doesn't seem related to the

2016-03-27 Thread Valdeck Rowe
gt; the "attachment" argument (maybe try removing that)? > > Anthony > > On Saturday, March 26, 2016 at 4:08:05 PM UTC-4, Valdeck Rowe wrote: >> >> The thing is that the error doesn't seem to have anything to do with the >> the code I wrote. >> >

[web2py] I get an error whenever I try to send an email from within web2py that doesn't seem related to the

2016-03-26 Thread Valdeck Rowe
The thing is that the error doesn't seem to have anything to do with the the code I wrote. Here is the traceback: Version web2py™ Version 2.13.4-stable+timestamp.2015.12.26.04.59.39Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. Traceback (most recent call last): File

[web2py] why do certain queries give exception error

2016-02-04 Thread Valdeck Rowe
Hi, Just getting into web2py, but I've been having this issue. Why does the following query: query = db.bids.job_id == job_id and db.bids.confirmed=='No' and db.bids.delivered=='No' on this table structure: db.define_table('bids', Field('body', 'text',