Я использую Python 2.6 и Django 1.2.3 Final.
Всякий раз, когда я пытаюсь запустить «inspectdb» или любое другое действие, которое будет подключаться к этой удаленной базе данных Oracle, я получаю следующую ошибку:
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/var/www/local/server-env/lib/python2.6/site-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/var/www/local/server-env/lib/python2.6/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/www/local/server-env/lib/python2.6/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/var/www/local/server-env/lib/python2.6/site-packages/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/var/www/local/server-env/lib/python2.6/site-packages/django/core/management/base.py", line 351, in handle
return self.handle_noargs(**options)
File "/var/www/local/server-env/lib/python2.6/site-packages/django/core/management/commands/inspectdb.py", line 22, in handle_noargs
for line in self.handle_inspection(options):
File "/var/www/local/server-env/lib/python2.6/site-packages/django/core/management/commands/inspectdb.py", line 32, in handle_inspection
cursor = connection.cursor()
File "/var/www/local/server-env/lib/python2.6/site-packages/django/db/backends/__init__.py", line 75, in cursor
cursor = self._cursor()
File "/var/www/local/server-env/lib/python2.6/site-packages/django/db/backends/oracle/base.py", line 361, in _cursor
self.connection = Database.connect(conn_string, **self.settings_dict['OPTIONS'])
cx_Oracle.DatabaseError: Error while trying to retrieve text for error ORA-12505