This discussion is archived
1 Reply Latest reply: Sep 2, 2011 11:00 PM by 643298 RSS

Connection to oracle with Python cx_Oracle [ORA-24315]

743856 Newbie
Currently Being Moderated
Hi all.
I have one question about cx_Oracle connection to database.
import cx_Oracle as orcl
dns = orcl.makedsn('dburl',1521,'MySID')
conn = orcl.connect('username','password',dns)
and after execution i get next error:
DatabaseError: ORA-24315: illegal attribute type

Can anybody explain why this error is appear, i also try this code on another computer, and it works good.

Best Regards

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points