Opened 3 years ago

Closed 3 years ago

#20137 closed Uncategorized (invalid)


Reported by: niranjansagar@… Owned by: nobody
Component: Uncategorized Version: 1.5
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


When i tired getting pyes this error has come , please let me know how this can be fixed .

from pyes import *

Traceback (most recent call last):

File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/pyes-0.19.1-py2.7.egg/pyes/", line 41, in <module>

from .djangoutils import *

File "/usr/local/lib/python2.7/dist-packages/pyes-0.19.1-py2.7.egg/pyes/", line 6, in <module>

from django.db import models

File "/usr/local/lib/python2.7/dist-packages/django/db/", line 11, in <module>

if settings.DATABASES and DEFAULT_DB_ALIAS not in settings.DATABASES:

File "/usr/local/lib/python2.7/dist-packages/django/conf/", line 52, in getattr


File "/usr/local/lib/python2.7/dist-packages/django/conf/", line 45, in _setup


django.core.exceptions.ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

Change History (1)

comment:1 Changed 3 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Sorry, but the ticket system is not a support channel. (see TicketClosingReasons/UseSupportChannels)

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