Yes, I now followed the debugging tips. I was able to import my.project.settings and I can also run the wsgi-file itself. I am a little bit confused about that I was able to run the files " trying to import with python" "/home/Ferki2/my-site/env/projektordner/meinprojekt/settings.py" but when I do it in the web app the error log "tells" me I should use "/home/Ferki2/my-site/env/projektordner/settings.py". When I use the second path the message changes from:
Traceback (most recent call last):
2015-01-21 14:15:57,475 : File "/bin/user_wsgi_wrapper.py", line 130, in __call__
2015-01-21 14:15:57,476 : self.error_log_file.logger.exception("Error running WSGI application")
2015-01-21 14:15:57,476 : File "/usr/lib/python3.4/logging/__init__.py", line 1296, in exception
2015-01-21 14:15:57,476 : self.error(msg, *args, **kwargs)
2015-01-21 14:15:57,477 : File "/usr/lib/python3.4/logging/__init__.py", line 1289, in error
2015-01-21 14:15:57,477 : self._log(ERROR, msg, args, **kwargs)
2015-01-21 14:15:57,477 : File "/usr/lib/python3.4/logging/__init__.py", line 1395, in _log
2015-01-21 14:15:57,478 : self.handle(record)
2015-01-21 14:15:57,478 : File "/usr/lib/python3.4/logging/__init__.py", line 1404, in handle
2015-01-21 14:15:57,479 : if (not self.disabled) and self.filter(record):
2015-01-21 14:15:57,479 : File "/usr/lib/python3.4/logging/__init__.py", line 692, in filter
2015-01-21 14:15:57,479 : for f in self.filters:
2015-01-21 14:15:57,480 : File "/bin/user_wsgi_wrapper.py", line 122, in __call__
2015-01-21 14:15:57,480 : app_iterator = self.app(environ, start_response)
2015-01-21 14:15:57,480 : File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/wsgi.py", line 187, in __call__
2015-01-21 14:15:57,480 : self.load_middleware()
2015-01-21 14:15:57,480 : File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py", line 44, in load_middleware
2015-01-21 14:15:57,481 : for middleware_path in settings.MIDDLEWARE_CLASSES:
2015-01-21 14:15:57,481 : File "/usr/local/lib/python3.4/dist-packages/django/conf/__init__.py", line 54, in __getattr__
2015-01-21 14:15:57,481 : self._setup(name)
2015-01-21 14:15:57,481 : File "/usr/local/lib/python3.4/dist-packages/django/conf/__init__.py", line 49, in _setup
2015-01-21 14:15:57,481 : self._wrapped = Settings(settings_module)
2015-01-21 14:15:57,481 : File "/usr/local/lib/python3.4/dist-packages/django/conf/__init__.py", line 132, in __init__
2015-01-21 14:15:57,482 : % (self.SETTINGS_MODULE, e)
2015-01-21 14:15:57,482 :ImportError: Could not import settings 'meinprojekt.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named 'meinprojekt'
into
Traceback (most recent call last):
2015-01-21 08:19:41,028 : File "/bin/user_wsgi_wrapper.py", line 130, in __call__
2015-01-21 08:19:41,028 : self.error_log_file.logger.exception("Error running WSGI application")
2015-01-21 08:19:41,028 : File "/usr/lib/python3.4/logging/__init__.py", line 1296, in exception
2015-01-21 08:19:41,030 : self.error(msg, *args, **kwargs)
2015-01-21 08:19:41,030 : File "/usr/lib/python3.4/logging/__init__.py", line 1289, in error
2015-01-21 08:19:41,030 : self._log(ERROR, msg, args, **kwargs)
2015-01-21 08:19:41,031 : File "/usr/lib/python3.4/logging/__init__.py", line 1395, in _log
2015-01-21 08:19:41,031 : self.handle(record)
2015-01-21 08:19:41,031 : File "/usr/lib/python3.4/logging/__init__.py", line 1404, in handle
2015-01-21 08:19:41,032 : if (not self.disabled) and self.filter(record):
2015-01-21 08:19:41,032 : File "/usr/lib/python3.4/logging/__init__.py", line 692, in filter
2015-01-21 08:19:41,032 : for f in self.filters:
2015-01-21 08:19:41,032 : File "/bin/user_wsgi_wrapper.py", line 122, in __call__
2015-01-21 08:19:41,032 : app_iterator = self.app(environ, start_response)
2015-01-21 08:19:41,033 : File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/wsgi.py", line 187, in __call__
2015-01-21 08:19:41,033 : self.load_middleware()
2015-01-21 08:19:41,033 : File "/usr/local/lib/python3.4/dist-packages/django/core/handlers/base.py", line 47, in load_middleware
2015-01-21 08:19:41,034 : mw_instance = mw_class()
2015-01-21 08:19:41,034 : File "/usr/local/lib/python3.4/dist-packages/django/middleware/locale.py", line 24, in __init__
2015-01-21 08:19:41,034 : for url_pattern in get_resolver(None).url_patterns:
2015-01-21 08:19:41,034 : File "/usr/local/lib/python3.4/dist-packages/django/core/urlresolvers.py", line 365, in url_patterns
2015-01-21 08:19:41,035 : patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
2015-01-21 08:19:41,035 : File "/usr/local/lib/python3.4/dist-packages/django/core/urlresolvers.py", line 360, in urlconf_module
2015-01-21 08:19:41,035 : self._urlconf_module = import_module(self.urlconf_name)
2015-01-21 08:19:41,035 : File "/usr/lib/python3.4/importlib/__init__.py", line 109, in import_module
2015-01-21 08:19:41,040 : return _bootstrap._gcd_import(name[level:], package, level)
2015-01-21 08:19:41,040 : File "<frozen importlib._bootstrap>", line 2231, in _gcd_import
2015-01-21 08:19:41,041 : File "<frozen importlib._bootstrap>", line 2214, in _find_and_load
2015-01-21 08:19:41,041 : File "<frozen importlib._bootstrap>", line 2203, in _find_and_load_unlocked
2015-01-21 08:19:41,041 : File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
2015-01-21 08:19:41,042 : File "<frozen importlib._bootstrap>", line 1129, in _exec
2015-01-21 08:19:41,042 : File "<frozen importlib._bootstrap>", line 1448, in exec_module
2015-01-21 08:19:41,042 : File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
2015-01-21 08:19:41,042 : File "/home/Ferki2/my-site/env/projektordner/meinprojekt/urls.py", line 2, in <module>
2015-01-21 08:19:41,044 : from cms.sitemaps import CMSSitemap
2015-01-21 08:19:41,045 :ImportError: No module named 'cms'
This is the reason why I think, that this is the correct path
Anything else, what I can do?
Thank you
[edit by admin: formatting]