Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#10125 closed (fixed)

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

Reported by: lzanuz Owned by: ikelly
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 kmtracey)

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 ikelly 6 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 years ago by kmtracey

  • Description modified (diff)
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 6 years ago by kmtracey

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 6 years ago by ikelly

  • Owner changed from nobody to ikelly
  • Status changed from new to assigned
  • Triage Stage changed from Unreviewed to Accepted

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 6 years ago by ikelly

comment:4 Changed 6 years ago by ikelly

  • Resolution set to fixed
  • Status changed from assigned to closed

(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 6 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

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