Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#10125 closed (fixed)

cx_Oracle.DatabaseError: ORA-06401: NETCMN: invalid driver designator

Reported by: lzanuz Owned by: Ian Kelly
Component: Database layer (models, ORM) Version: master
Severity: Keywords: NETCMN invalid driver designator
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description (last modified by Karen Tracey)

In release r9713 and after I've got an error in Oracle Connection:

#---------------------------------------------------------------#

DatabaseError at /

ORA-06401: NETCMN: invalid driver designator

Request Method: 	GET
Request URL: 	http://200.233.23.118/
Exception Type: 	DatabaseError
Exception Value: 	

ORA-06401: NETCMN: invalid driver designator

Exception Location: 	/usr/lib/python2.5/site-packages/django/db/backends/oracle/base.py in _cursor, line 268
Python Executable: 	/usr/local/bin/python
Python Version: 	2.5.2

#---------------------------------------------------------------#

I tryed to update the version 4.4.1 to version 5.0 of cx_Oracle and the error persist.

c=cx_Oracle.connect('username/password@servidor.ucs.br:1521/databasename').cursor()

Thanks!

Attachments (1)

10125.diff (861 bytes) - added by Ian Kelly 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 8 years ago by Karen Tracey

Description: modified (diff)

comment:2 Changed 8 years ago by Karen Tracey

I haven't a clue what is causing the error, but moving to cx_Oracle 5.0 is not something you want to do, see:

http://code.djangoproject.com/ticket/9935#comment:4

comment:3 Changed 8 years ago by Ian Kelly

Owner: changed from nobody to Ian Kelly
Status: newassigned
Triage Stage: UnreviewedAccepted

Looks like I messed up the dsn construction when I fixed #9972. Please try this patch against trunk and let me know if it works for you.

Changed 8 years ago by Ian Kelly

Attachment: 10125.diff added

comment:4 Changed 8 years ago by Ian Kelly

Resolution: fixed
Status: assignedclosed

(In [9813]) [1.0.X] Fixed #10125: fixed the Oracle dsn construction code that was broken in [9712]. Backport of [9812] from trunk.

comment:5 Changed 8 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top