You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, do you know what's happening? and as I do to fix it
(sigma)cfpp@cfpp-notebook:~/sigma/src$ manage inspectdb > models.py
Traceback (most recent call last):
File "/home/cfpp/sigma/src/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(_args, *_options.dict)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(_args, *_options)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
return self.handle_noargs(**options)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/commands/inspectdb.py", line 27, in handle_noargs
for line in self.handle_inspection(options):
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/commands/inspectdb.py", line 40, in handle_inspection
cursor = connection.cursor()
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/backends/init.py", line 160, in cursor
cursor = self.make_debug_cursor(self._cursor())
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/backends/init.py", line 132, in _cursor
self.ensure_connection()
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/backends/init.py", line 127, in ensure_connection
self.connect()
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/backends/init.py", line 127, in ensure_connection
self.connect()
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/backends/init.py", line 115, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/firebird/base.py", line 126, in get_new_connection
return Database.connect(**conn_params)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/fdb/fbcore.py", line 693, in connect
"Error while connecting to database:")
django.db.utils.DatabaseError: ('Error while connecting to database:\n- SQLCODE: -922\n- file /var/lib/firebird/2.5/data/sigma.fdb is not a valid database', -922, 335544323)
The text was updated successfully, but these errors were encountered:
Hello, do you know what's happening? and as I do to fix it
(sigma)cfpp@cfpp-notebook:~/sigma/src$ manage inspectdb > models.py
Traceback (most recent call last):
File "/home/cfpp/sigma/src/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(_args, *_options.dict)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/base.py", line 285, in execute
output = self.handle(_args, *_options)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/base.py", line 415, in handle
return self.handle_noargs(**options)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/commands/inspectdb.py", line 27, in handle_noargs
for line in self.handle_inspection(options):
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/core/management/commands/inspectdb.py", line 40, in handle_inspection
cursor = connection.cursor()
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/backends/init.py", line 160, in cursor
cursor = self.make_debug_cursor(self._cursor())
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/backends/init.py", line 132, in _cursor
self.ensure_connection()
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/backends/init.py", line 127, in ensure_connection
self.connect()
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/utils.py", line 99, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/backends/init.py", line 127, in ensure_connection
self.connect()
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/django/db/backends/init.py", line 115, in connect
self.connection = self.get_new_connection(conn_params)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/firebird/base.py", line 126, in get_new_connection
return Database.connect(**conn_params)
File "/home/cfpp/sigma/local/lib/python2.7/site-packages/fdb/fbcore.py", line 693, in connect
"Error while connecting to database:")
django.db.utils.DatabaseError: ('Error while connecting to database:\n- SQLCODE: -922\n- file /var/lib/firebird/2.5/data/sigma.fdb is not a valid database', -922, 335544323)
The text was updated successfully, but these errors were encountered: