[IronPython] Having problems in connecting to an Oracle Database using last version of ODP.NET (solved)
Vizcayno Tamparantan
vizcaynot at gmail.com
Mon Sep 17 05:22:35 CEST 2007
I solved the problem related to:
import clr
import System
clr.AddReference("System.Data")
clr.AddReference("Oracle.DataAccess")
from System.Data import DataSet
import Oracle.DataAccess
Just after last instruction, next error is issued:
Traceback (most recent call last):
File , line 0, in ##172
File , line 0, in _stub_##2
File c:\os\ipy\src\Oracle.py, line 8, in Initialize
File , line 0, in _stub_##176
AttributeError: 'module' object has no attribute 'OracleConnection'
I had a script file called oracle.py into my disk folder and instead
of importing Oracle.DataAccess it was importing data from the script file.
Sorry!!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20070916/f068a71a/attachment.html>
More information about the Ironpython-users
mailing list