Hi all! I'm connecting to an Oracle db for the first time and I hit a snag when trying to start web2py from a bash script.
As you can see highlighted below, running the command as a script fails to find the oracle driver, but running from the command line does. Any ideas why this would be? Thanks! Benjamin $ cat run_server.sh #!/bin/bash python web2py.py -a 'password' -i 10.2.24.61 -p 8000 $ bash run_server.sh web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2016 Version 2.13.4-stable+timestamp.2015.12.26.04.59.39 Database drivers available: sqlite3, imaplib, pyodbc, pymysql, pg8000 please visit: http://10.2.24.61:8000/ use "kill -SIGTERM 6115" to shutdown the web2py server $ python web2py.py -a 'password' -i 10.2.24.61 -p 8000 web2py Web Framework Created by Massimo Di Pierro, Copyright 2007-2016 Version 2.13.4-stable+timestamp.2015.12.26.04.59.39 Database drivers available: cx_Oracle, pymysql, imaplib, sqlite3, pg8000, pyodbc please visit: http://10.2.24.61:8000/ use "kill -SIGTERM 6122" to shutdown the web2py server -- 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.