*

Hi all I have just uploaded some new code to our existing web2py instance. 
I am getting the following error:

 

 
<type 'exceptions.RuntimeError'> Failure to connect, tried 5 times: 
Traceback (most recent call last): File "/opt/web2py/gluon/dal.py", line 
6755, in __init__ self._adapter = ADAPTERS[self._dbname](**kwargs) File 
"/opt/web2py/gluon/dal.py", line 2384, in __init__ if do_connect: 
self.reconnect() File "/opt/web2py/gluon/dal.py", line 562, in reconnect 
self.connection = f() File "/opt/web2py/gluon/dal.py", line 2382, in 
connector return self.driver.connect(**driver_args) File 
"/opt/web2py/gluon/contrib/pymysql/__init__.py", line 92, in Connect from 
connections import Connection File "/opt/web2py/gluon/custom_import.py", 
line 83, in custom_importer return base_importer(pname, globals, locals, 
fromlist, level) File "/opt/web2py/gluon/custom_import.py", line 124, in 
__call__ result = NATIVE_IMPORTER(name, globals, locals, fromlist, level) 
ImportError: No module named connections

 

The only thing that the developer changed was some xlrd stuff which I have 
installed on the OS Centos 6.4.

 

The developer also does not have a module named connections yet it runs on 
his Ubuntu box without issue.


I had a similar issue with "rq", but I simply removed the relevant queue.py 
and everything was fine? The problem here is that there is noe 
"connections" module?

 

Could somebody please point me in the right direction as we need to get the 
site live.

 

tia

 

ed
*

-- 

--- 
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/groups/opt_out.


Reply via email to