My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 9: Install not working in 0.2
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  jonathan.buchanan
Closed:  Jan 2008


 
Reported by verbo...@gmail.com, Jan 16, 2008
With a fresh download of django-mptt 0.2 on Mac OS X 10.4.11, I proceed to install it with 
setup.py but it doesn’t work, claiming a missing DJANGO_SETTINGS_MODULE environment 
variable.

Full traceback follows.

[[[
$ sudo python setup.py install
Traceback (most recent call last):
  File "setup.py", line 49, in ?
    version_tuple = __import__('mptt').VERSION
  File "/Users/verbosus/Desktop/django-mptt-0.2/mptt/__init__.py", line 1, in ?
    from django.db.models import signals as model_signals
  File "/Users/verbosus/bin/django_src/django/db/__init__.py", line 10, in ?
    if not settings.DATABASE_ENGINE:
  File "/Users/verbosus/bin/django_src/django/conf/__init__.py", line 28, in __getattr__
    self._import_settings()
  File "/Users/verbosus/bin/django_src/django/conf/__init__.py", line 57, in _import_settings
    raise ImportError("Settings cannot be imported, because environment variable %s is 
undefined." % ENVIRONMENT_VARIABLE)
ImportError: Settings cannot be imported, because environment variable 
DJANGO_SETTINGS_MODULE is undefined.
]]]


Jan 16, 2008
Project Member #1 jonathan.buchanan
Aargh, it's not my day! :)

Released a new version with a quick fix for this - thanks for the report.
Status: Fixed
Owner: jonathan.buchanan
Labels: -Priority-Medium Priority-Critical
Jan 16, 2008
#2 verbo...@gmail.com
No worries, thank you!

Powered by Google Project Hosting