Version-Release number of selected component: python-django-1.4.3-3.fc18 Additional info: cmdline: /usr/bin/python /bin/django-admin test gis --settings=settings_gis executable: /bin/django-admin kernel: 3.7.9-205.fc18.x86_64 uid: 1001 Truncated backtrace: utils.py:44:load_backend:ImproperlyConfigured: 'django.contrib.gis.db.backends.postgis' isn't an available database backend. Try using django.db.backends.XXX, where XXX is one of: 'dummy', 'mysql', 'oracle', 'postgresql_psycopg2', 'sqlite3' Error was: No module named psycopg2.extensions Traceback (most recent call last): File "/bin/django-admin", line 5, in <module> management.execute_from_command_line() File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line utility.execute() File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 261, in fetch_command klass = load_command_class(app_name, subcommand) File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 69, in load_command_class module = import_module('%s.management.commands.%s' % (app_name, name)) File "/usr/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module __import__(name) File "/usr/lib/python2.7/site-packages/django/core/management/commands/test.py", line 7, in <module> from django.test.utils import get_runner File "/usr/lib/python2.7/site-packages/django/test/__init__.py", line 5, in <module> from django.test.client import Client, RequestFactory File "/usr/lib/python2.7/site-packages/django/test/client.py", line 21, in <module> from django.test import signals File "/usr/lib/python2.7/site-packages/django/test/signals.py", line 2, in <module> from django.db import connections File "/usr/lib/python2.7/site-packages/django/db/__init__.py", line 40, in <module> backend = load_backend(connection.settings_dict['ENGINE']) File "/usr/lib/python2.7/site-packages/django/db/__init__.py", line 34, in __getattr__ return getattr(connections[DEFAULT_DB_ALIAS], item) File "/usr/lib/python2.7/site-packages/django/db/utils.py", line 92, in __getitem__ backend = load_backend(db['ENGINE']) File "/usr/lib/python2.7/site-packages/django/db/utils.py", line 44, in load_backend raise ImproperlyConfigured(error_msg) ImproperlyConfigured: 'django.contrib.gis.db.backends.postgis' isn't an available database backend. Try using django.db.backends.XXX, where XXX is one of: 'dummy', 'mysql', 'oracle', 'postgresql_psycopg2', 'sqlite3' Error was: No module named psycopg2.extensions Local variables in innermost frame: f: '__init__.py' backend_dir: '/usr/lib/python2.7/site-packages/django/db/backends' full_notation: False backend_name: 'django.contrib.gis.db.backends.postgis' available_backends: ['sqlite3', 'postgresql_psycopg2', 'dummy', 'mysql', 'oracle'] e_user: ImportError('No module named psycopg2.extensions',) backend_reprs: ["'dummy'", "'mysql'", "'oracle'", "'postgresql_psycopg2'", "'sqlite3'"] error_msg: "'django.contrib.gis.db.backends.postgis' isn't an available database backend.\nTry using django.db.backends.XXX, where XXX is one of:\n 'dummy', 'mysql', 'oracle', 'postgresql_psycopg2', 'sqlite3'\nError was: No module named psycopg2.extensions"
Created attachment 716196 [details] File: backtrace
Created attachment 716197 [details] File: core_backtrace
Created attachment 716198 [details] File: environ
Created attachment 716199 [details] File: smolt_data
Hi Cedric, are you sure you have installed "postgis" package and "python-psycopg2"? Having these packages installed, I can't reproduce your problem.
You are right theses packages aren't installed. These bug report has been produce by abrt when running python-django-tastypie build tests. Sorry
Ok, thanks. Therefore I'm closing this as "notabug".