#14921: Cannot connect to oracle db on trunk
---------------------------+------------------------------------------------
 Reporter:  kmtracey       |       Owner:  nobody    
   Status:  new            |   Milestone:  1.3       
Component:  Uncategorized  |     Version:  1.2       
 Keywords:                 |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 After r14861, I cannot run tests using Oracle backend. I get:

 {{{
 Creating test database for alias 'default' ('test_XE')...
 _create_test_db(): dbname = test_XE
 CREATE TABLESPACE test_XE
                DATAFILE 'test_XE.dbf' SIZE 20M
                REUSE AUTOEXTEND ON NEXT 10M MAXSIZE 200M

 CREATE TEMPORARY TABLESPACE test_XE_temp
                TEMPFILE 'test_XE_temp.dbf' SIZE 20M
                REUSE AUTOEXTEND ON NEXT 10M MAXSIZE 100M

 Creating test user...
 _create_test_user(): username = test_system
 CREATE USER test_system
                IDENTIFIED BY Im_a_lumberjack
                DEFAULT TABLESPACE test_XE
                TEMPORARY TABLESPACE test_XE_temp

 GRANT CONNECT, RESOURCE TO test_system
 Traceback (most recent call last):
   File "runtests.py", line 314, in <module>
     failures = django_tests(int(options.verbosity), options.interactive,
 options.failfast, args)
   File "runtests.py", line 183, in django_tests
     failures = test_runner.run_tests(test_labels, extra_tests=extra_tests)
   File "C:\u\kmt\django\trunk\django\test\simple.py", line 362, in
 run_tests
     old_config = self.setup_databases()
   File "C:\u\kmt\django\trunk\django\test\simple.py", line 299, in
 setup_databases
     test_db_name = connection.creation.create_test_db(self.verbosity,
 autoclobber=not self.interactive)
   File "C:\u\kmt\django\trunk\django\db\backends\creation.py", line 355,
 in create_test_db
     self.connection.features.confirm()
   File "C:\u\kmt\django\trunk\django\db\backends\__init__.py", line 169,
 in confirm
     self.supports_transactions = self._supports_transactions()
   File "C:\u\kmt\django\trunk\django\db\backends\__init__.py", line 174,
 in _supports_transactions
     cursor = self.connection.cursor()
   File "C:\u\kmt\django\trunk\django\db\backends\__init__.py", line 77, in
 cursor
     cursor = self._cursor()
   File "C:\u\kmt\django\trunk\django\db\backends\oracle\base.py", line
 407, in _cursor
     self.connection = Database.connect(conn_string, **conn_params)
 cx_Oracle.DatabaseError: ORA-12154: TNS:could not resolve the connect
 identifier specified
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/14921>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to