Opened 12 years ago

Closed 12 years ago

#1814 closed defect (invalid)

error messages when starting server

Reported by: Luis Owned by: Adrian Holovaty
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


This is what I get when I enter the command "python runserver":

C:\Documents and Settings\Usuario1\Escritorio\mysite\mysite>python run
server 8081
Validating models...
Unhandled exception in thread started by <function inner_run at 0x00B18230>
Traceback (most recent call last):

File "c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\core\manageme", line 757, in inner_run


File "c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\core\manageme", line 741, in validate

num_errors = get_validation_errors(outfile)

File "c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\core\manageme", line 634, in get_validation_errors

import django.models

File "c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\models\init

.py", line 1, in ?

from django.core import meta

File "c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\core\meta\i", line 3, in ?

from django.core import db

File "c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\core\db\ini", line 23, in ?

raise ImproperlyConfigured, "Could not load database backend: %s. Is your DA

TABASE_ENGINE setting (currently, %r) spelled correctly? Available options are:
%s" % \
django.core.exceptions.ImproperlyConfigured: Could not load database backend: No

module named psycopg. Is your DATABASE_ENGINE setting (currently, 'postgresql')
spelled correctly? Available options are: 'ado_mssql', 'mysql', 'postgresql', '


Change History (1)

comment:1 Changed 12 years ago by Malcolm Tredinnick <malcolm@…>

Resolution: invalid
Status: newclosed

This is not a problem with Django. It is a problem with your installation (the last line of the traceback says that there is no module name psycopg that it can load). Support questions should go the django-users mailing list in any case, please. The tracker is for bug reporting.

Note: See TracTickets for help on using tickets.
Back to Top