Hi, i need to use cx_oracle with oracle 10.1.0.4 client, but any recent
release doesn't work, i can't succesfully import cx_oracle. I have found
information that i might use cx_oracle for 9i, so i installed python 2.6.6
and cx_oracle 4.4.1 for oracle 9i and it does work, i mean i can import
module. Unfortunatly i can't revice data from my queries.
On most recent version of cx_oracle for oracle 10.2, python 2.7 my
query.fetchall() gives result:
[('889476',), ('864365',), ('886811',), ('886054',), ('885968',)]
but when i try to execute that on other machine, with oracle client 10.1,
python 2.6 and cx_oracle 4.4.1, i get:
>>> cursor.execute(zapytanie)
[<cx_Oracle.STRING with value [None, None, None, None, None, None, None,
None, N
one, None, None, None, None, None, None, None, None, None, None, None,
None, Non
e, None, None, None, None, None, None, None, None, None, None, None, None,
None,
None, None, None, None, None, None, None, None, None, None, None, None,
None, N
one, None]>]
now, what are my options, is there new cx_oracle compiled to work with
python 2.7 and oracle client 10.1?
or in previous versions of cx_oracle fetching data was completed in any
other way than in recent verions and i'm doing sth wrong?
--
Linux User
|