I am trying to connect to an established oracle database. Working in
Windows I downloaded and installed cx_Oracle. In the Python Shell I am
able to make a connection.

>>> db = DAL('oracle://user/passw...@tns')
Traceback (most recent call last):
   File  "<console>", line 1, in <module>
   File  "gluon/sql.py", line 3783, in DAL
   File  "gluon/sql.py", line 966, in __init__
   File  "gluon/sql.py", line 829, in _pool_connection
   File  "gluon/sql.py", line 967, in <lambda>
NameError: global name 'cx_Oracle' is not defined

I read that I need to run web2py from the cx_oracle source. I'm not
sure how to 'run from source'. Maybe there is someone that could point
me in the right direction.


Thnx,
Jay

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to