Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#10125 closed (fixed)

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

Reported by: lzanuz Owned by: Erin Kelly
Component: Database layer (models, ORM) Version: dev
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: no UI/UX: no

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 Erin Kelly 16 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by Karen Tracey, 16 years ago

Description: modified (diff)

comment:2 by Karen Tracey, 16 years ago

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 by Erin Kelly, 16 years ago

Owner: changed from nobody to Erin 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.

by Erin Kelly, 16 years ago

Attachment: 10125.diff added

comment:4 by Erin Kelly, 16 years ago

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 by (none), 16 years ago

milestone: post-1.0

Milestone post-1.0 deleted

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