[web2py] Re: Oracle Driver Not Available When web2py run from bash script

2016-03-14 Thread Ben Wolski
just setting those variables in the same script that I'm using to start web2py. Thanks! -- Benjamin Wolski El lunes, 22 de febrero de 2016, 1:04:03 (UTC-8), Niphlod escribió: > > are they running from the same path and under the same user ? > > On Monday, February 22, 2016 at

[web2py] Re: DAL and schema

2016-03-11 Thread Ben Wolski
executing the following query after defining my db in db.py helped me query an Oracle db that requires a schema: db_prod.executesql("ALTER SESSION SET CURRENT_SCHEMA = BDR;") El viernes, 2 de marzo de 2012, 3:58:35 (UTC-8), Wuwei escribió: > > Hello, > I'm trying to use DAL with a MSSQL db. > I

[web2py] Oracle Driver Not Available When web2py run from bash script

2016-02-21 Thread Ben Wolski
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

[web2py] Why does this Web2Py ajax call fail to return the value of a variable?

2016-01-21 Thread Ben Wolski
Here is the relevant snippet from my Web2Py view: {{for candidate in rows:}} {{=candidate.votes}} {{=IMG(_src=URL('photos',candidate.path_to_photo), _alt="Photo of Candidate")}} {{=candidate.name}} {{pass}} And the relevant snippet fr