Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Connection to oracle with Python cx_Oracle [ORA-24315]

743856Mar 23 2011 — edited Sep 3 2011
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

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 1 2011
Added on Mar 23 2011
1 comment
4,260 views