#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 )
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)
Change History (6)
comment:1 by , 16 years ago
Description: | modified (diff) |
---|
comment:2 by , 16 years ago
comment:3 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → 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.
by , 16 years ago
Attachment: | 10125.diff added |
---|
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
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