Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot test from fresh clone - NODESHOT_SITE undef #85

Closed
claudyus opened this issue Apr 17, 2012 · 3 comments
Closed

Cannot test from fresh clone - NODESHOT_SITE undef #85

claudyus opened this issue Apr 17, 2012 · 3 comments

Comments

@claudyus
Copy link
Member

Using a copy of the settings.example.py the manager.py show the follow problem:

    self._wrapped = Settings(settings_module)
  File "/usr/lib/pymodules/python2.7/django/conf/__init__.py", line 87, in **init**
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/pymodules/python2.7/django/utils/importlib.py", line 35, in import_module
    **import**(name)
  File "/home/claudyus/code/nodeshot/nodeshot/settings.py", line 56, in <module>
    raise ImproperlyConfigured(_('NODESHOT_SITE is not defined in your settings.py. See settings.example.py for reference.'))
django.core.exceptions.ImproperlyConfigured: <django.utils.functional.__proxy__ object at 0xa3bb20c>

Define the NODESHOT_SITE before that nodeshot apps is invocated doesn't help.

@ghost ghost assigned claudyus Apr 17, 2012
@nemesifier
Copy link
Member

This has happened before to me and other people too, try renaming the folderi in which you placed the code of nodeshot to something different than nodeshot.

Now you have:
/home/claudyus/code/nodeshot/

Try renaming it to:
/home/claudyus/code/mapserver/

@claudyus
Copy link
Member Author

this magically resolve the problem.
I remark the importance of a directory rename in the installation guide until we don't find a better fix.

@nemesifier
Copy link
Member

the fix here is: REFACTORING! :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants