maxirobaina / django-firebird

Firebird SQL backend for Django web framework
BSD 3-Clause "New" or "Revised" License
67 stars 47 forks source link

ins #32

Closed cfpperche closed 10 years ago

cfpperche commented 10 years ago

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)

mariuz commented 10 years ago

this is not a driver bug please check if you can connect with flamerobin or isql-fb