Code

Opened 8 years ago

Closed 8 years ago

#1814 closed defect (invalid)

error messages when starting server

Reported by: Luis Owned by: adrian
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:

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'

Attachments (0)

Change History (1)

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

  • Resolution set to invalid
  • Status changed from new to closed

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.