Forgot to paste the Error on my Non-Prod Virt. Versionweb2py™Version 2.12.3-stable+timestamp.2015.08.19.00.18.03Traceback
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. Traceback (most recent call last): File "/opt/www-data/web2py/gluon/restricted.py", line 227, in restricted exec ccode in environment File "/opt/www-data/web2py/applications/test/models/db.py" <https://lapspm01094d01.adt.np.costco.com/admin/default/edit/test/models/db.py>, line 37, in <module> db = DAL(myconf.take('db.uri'), pool_size=myconf.take('db.pool_size', cast=int), check_reserved=['all']) File "/opt/www-data/web2py/gluon/packages/dal/pydal/base.py", line 174, in __call__ obj = super(MetaDAL, cls).__call__(*args, **kwargs) File "/opt/www-data/web2py/gluon/packages/dal/pydal/base.py", line 459, in __init__ raise RuntimeError("Failure to connect, tried %d times:\n%s" % (attempts, tb)) RuntimeError: Failure to connect, tried 5 times: Traceback (most recent call last): File "/opt/www-data/web2py/gluon/packages/dal/pydal/base.py", line 437, in __init__ self._adapter = ADAPTERS[self._dbname](**kwargs) File "/opt/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py", line 57, in __call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs) File "/opt/www-data/web2py/gluon/packages/dal/pydal/adapters/oracle.py", line 105, in __init__ if do_connect: self.find_driver(adapter_args,uri) File "/opt/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py", line 188, in find_driver raise RuntimeError("no driver available %s" % str(self.drivers)) RuntimeError: no driver available ('cx_Oracle',) On Tuesday, October 6, 2015 at 4:33:16 PM UTC-7, Michael M wrote: > > yeah I tried spinning up another application in my Non-prod env. > > 2.12.3-stable+timestamp.2015.08.19.00.18.03 > (Running on Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.1e-fips > mod_wsgi/3.4 Python/2.7.5, Python 2.7.5) > > and just changed the URI from: > > uri = sqlite://storage.sqlite > > to: > > uri = oracle://............ > > and got the same error. and I didnt import anything just changed that one > thing on that app and it gave be the same error just trying to load the > index page as second error I pasted above. > > > On Tuesday, October 6, 2015 at 4:23:05 PM UTC-7, Leonel Câmara wrote: >> >> Well the dal tries to "import cx_Oracle" and it should work since it's >> installed - Weird. Did you already have web2py running before installing >> cx_Oracle and you didn't restart it (say by touching its uwsgi config >> file)? >> > -- 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.