Re: [web2py] PostgreSQL 10.2

2018-03-01 Thread Richard Vézina
Base on this :
https://github.com/web2py/pydal/blob/466a39f13e443bbcc54db2d1ba6ed10196abf440/pydal/drivers.py#L45

web2py shouldn't enforce a specific version of psycopg2...

Are you using python 2 or python 3 and is your last psycopg2 version you
mention is install for the python version that you use web2py with??

Richard

On Thu, Mar 1, 2018 at 2:39 PM, Rob Paire  wrote:

> Hello web2py community!
>
> I am in the process of moving a 4 year old web2py application to a new
> server and I am having trouble getting the application to connect to
> PostgreSQL 10.2.  I am guessing because the version of psycopg2 driver in
> web2py is: 2.5.4 (dt dec pq3 ext)
>
> I installed the latest version of psycopg2 to my local Python installation
> and I can talk to the database, but how do I make web2py use the latest
> drivers? It is necessary to run from source to do this?
>
> Comments are appreciated.
>
> Thank you for your help!
> -Rob
>
> --
> 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" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] PostgreSQL 10.2

2018-03-01 Thread Rob Paire
Hello web2py community!

I am in the process of moving a 4 year old web2py application to a new 
server and I am having trouble getting the application to connect to 
PostgreSQL 10.2.  I am guessing because the version of psycopg2 driver in 
web2py is: 2.5.4 (dt dec pq3 ext) 

I installed the latest version of psycopg2 to my local Python installation 
and I can talk to the database, but how do I make web2py use the latest 
drivers? It is necessary to run from source to do this?   

Comments are appreciated.

Thank you for your help!
-Rob

-- 
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" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.