I think that it means to run the source version of cx_oracle not the
binary version. This would entail downloading the source of cx_Oracle
and installing it into your python's site-packages.

-Thadeus





On Sat, Mar 27, 2010 at 10:51 AM, Jason Lotz <jayl...@gmail.com> wrote:
> 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 web...@googlegroups.com.
> To unsubscribe from this group, send email to 
> web2py+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/web2py?hl=en.
>
>

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

Reply via email to