Opened 18 years ago

Closed 18 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: no UI/UX: no

Description

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

C:\Documents and Settings\Usuario1\Escritorio\mysite\mysite>python manage.py 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

nt.py", line 757, in inner_run

validate()

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

nt.py", 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

nt.py", 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

nit.py", line 3, in ?

from django.core import db

File "c:\python24\lib\site-packages\django-0.91-py2.4.egg\django\core\db\ini

t.py", 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', '

sqlite3'

Change History (1)

comment:1 by Malcolm Tredinnick <malcolm@…>, 18 years ago

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