Closed GoogleCodeExporter closed 9 years ago
Here someone has resolved by an uncatalog action
http://www.krishnababug.com/2010/04/sql1428n-application-is-already.html
Original comment by s.federici@gmail.com
on 7 Dec 2011 at 3:45
test_recreateDB.py also same error.
Maybe something is WRONG in my environment?
Ubuntu 9.7.4-0lucid3 - DB2 Express-C 9.7 Fix Pack 4 for Linux
$ SINGLE_PYTHON_TEST="test_recreateDB.py" python tests.py
test_recreateDB (test_recreateDB.IbmDbTestCase) ... ERROR
======================================================================
ERROR: test_recreateDB (test_recreateDB.IbmDbTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/aldaran/workspaces/django/django_compositekey/ibm-db-read-only/IBM_DB/ibm_db/tests/test_recreateDB.py", line 15, in test_recreateDB
obj.assert_expect(self.run_test_recreateDB)
File "~/ibm-db-read-only/IBM_DB/ibm_db/testfunctions.py", line 75, in assert_expect
self.assertEqual(self.capture(testFuncName), self.expected_LUW(callstack[1][1]))
File "~/ibm-db-read-only/IBM_DB/ibm_db/testfunctions.py", line 22, in capture
func()
File "~/ibm-db-read-only/IBM_DB/ibm_db/tests/test_recreateDB.py", line 39, in run_test_recreateDB
rc = ibm_db.recreatedb(conn_attach, database)
Exception: [IBM][CLI Driver][DB2/LINUXX8664] SQL1005N The database alias
"test001" already exists in either the local database directory or system
database directory. SQLCODE=-1005
----------------------------------------------------------------------
Ran 1 test in 154.705s
FAILED (errors=1)
(django14)aldaran@romilda:~/workspaces/django/django_compositekey/ibm-db-read-on
ly/IBM_DB/ibm_db$
Original comment by s.federici@gmail.com
on 7 Dec 2011 at 4:19
There is somethng wrong,
Your test suite in my environment produce too many errors and failures,
maybe the DB2 Sample DATABASE is changed from the different revisions?
----------------------------------------------------------------------
Ran 153 tests in 72.189s
FAILED (failures=23, errors=14)
Original comment by s.federici@gmail.com
on 7 Dec 2011 at 4:46
Hi simone,
The error which you are getting is due one of the reason mentioned over the following link http://publib.boulder.ibm.com/infocenter/db2luw/v9r7/topic/com.ibm.db2.luw.messages.sql.doc/doc/msql01035n.html.
You can resolve your issue by applying user response mentioned over the above
link.
If you are still getting the errors then let me know.
Original comment by rahul.pr...@in.ibm.com
on 8 Dec 2011 at 2:03
Original comment by rahul.pr...@in.ibm.com
on 16 Apr 2012 at 8:52
Original issue reported on code.google.com by
s.federici@gmail.com
on 7 Dec 2011 at 2:07