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, 2020, 19:09 Valdeck Rowe <vald...@gmail.com <javascript:>> 
> wrote:
>
>> 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:
>>>>
>>>> I've copied the psycopg2 package over to the web2py/site-packages 
>>>> folder, added the packages folder to the path. Still nothing
>>>>
>>>>
>>> My copy isn't in site-packages, it's in gluon/contrib.
>>>  
>>>
>>>> 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 
>>>>> update web2py before updating the application.
>>>>>
>>>>> Full error message: 
>>>>> <type 'exceptions.RuntimeError'> Failure to connect, tried 5 times: 
>>>>> Traceback (most recent call last): File 
>>>>> "/opt/web2py_apps/web2py/gluon/packages/dal/pydal/base.py", line 507, in 
>>>>> __init__ self._adapter = adapter(**kwargs) File 
>>>>> "/opt/web2py_apps/web2py/gluon/packages/dal/pydal/adapters/postgres.py", 
>>>>> line 28, in __call__ return AdapterMeta.__call__(cls, *args, **kwargs) 
>>>>> File 
>>>>> "/opt/web2py_apps/web2py/gluon/packages/dal/pydal/adapters/__init__.py", 
>>>>> line 41, in __call__ obj = super(AdapterMeta, cls).__call__(*args, 
>>>>> **kwargs) File 
>>>>> "/opt/web2py_apps/web2py/gluon/packages/dal/pydal/adapters/postgres.py", 
>>>>> line 67, in __init__ after_connection, File 
>>>>> "/opt/web2py_apps/web2py/gluon/packages/dal/pydal/adapters/base.py", line 
>>>>> 417, in __init__ super(SQLAdapter, self).__init__(*args, **kwargs) File 
>>>>> "/opt/web2py_apps/web2py/gluon/packages/dal/pydal/adapters/base.py", line 
>>>>> 85, in __init__ self.find_driver() File 
>>>>> "/opt/web2py_apps/web2py/gluon/packages/dal/pydal/adapters/base.py", line 
>>>>> 134, in find_driver "No driver of supported ones %s is available" % 
>>>>> str(self.drivers) RuntimeError: No driver of supported ones ('psycopg2',) 
>>>>> is available 
>>>>>
>>>>>
>>>>>
>>>>> Pysocpg2 is already installed. The app was working before.
>>>>>
>>>>> Not sure why I'm getting this error when I'd been running fine before.
>>>>>
>>>>> Please help. The server has not been used in days and this is mission 
>>>>> critical.
>>>>>
>>>>> Thanks in advance.
>>>>> Valdeck
>>>>>
>>>> -- 
>> 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 web...@googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/831c08af-7eaa-4963-ae3d-3b809b4fc863%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/web2py/831c08af-7eaa-4963-ae3d-3b809b4fc863%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/d0bcbba5-7a0c-407f-9a3b-5988ea5a31bf%40googlegroups.com.

Reply via email to