Ticket #28501: traceback.txt

File traceback.txt, 4.4 KB (added by Kit Darko, 3 years ago)

Traceback for import error

Line 
1Traceback (most recent call last):
2  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/__main__.py", line 9, in <module>
3    management.execute_from_command_line()
4  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
5    utility.execute()
6  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 307, in execute
7    settings.INSTALLED_APPS
8  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/conf/__init__.py", line 56, in __getattr__
9    self._setup(name)
10  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/conf/__init__.py", line 41, in _setup
11    self._wrapped = Settings(settings_module)
12  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/conf/__init__.py", line 110, in __init__
13    mod = importlib.import_module(self.SETTINGS_MODULE)
14  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
15    return _bootstrap._gcd_import(name[level:], package, level)
16  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
17  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
18  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
19  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
20  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
21  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
22  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/dj_core/settings.py", line 6, in <module>
23    globals().update(BaseConfig().app_conf().settings)  # pylint: disable=not-callable
24  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/dj_core/config.py", line 53, in app_conf
25    return getattr(import_module(module), conf)
26  File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
27    return _bootstrap._gcd_import(name[level:], package, level)
28  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
29  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
30  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
31  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
32  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
33  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
34  File "/mnt/data/var/vhosts/production/venv/src/bestfresh/src/bestfresh/config.py", line 4, in <module>
35    from oscar import defaults as oscar_defaults
36  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/oscar/defaults.py", line 3, in <module>
37    from django.core.urlresolvers import reverse_lazy
38  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/core/urlresolvers.py", line 3, in <module>
39    from django.urls import *  # NOQA
40  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/urls/__init__.py", line 1, in <module>
41    from .base import (
42  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/urls/base.py", line 11, in <module>
43    from .exceptions import NoReverseMatch, Resolver404
44  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/urls/exceptions.py", line 3, in <module>
45    from django.http import Http404
46  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/http/__init__.py", line 1, in <module>
47    from django.http.cookie import SimpleCookie, parse_cookie
48  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/http/cookie.py", line 7, in <module>
49    from django.utils.six.moves import http_cookies
50  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/utils/six.py", line 92, in __get__
51    result = self._resolve()
52  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/utils/six.py", line 115, in _resolve
53    return _import_module(self.mod)
54  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/utils/six.py", line 82, in _import_module
55    __import__(name)
56  File "/mnt/data/var/vhosts/production/venv/lib/python3.5/site-packages/django/http/__init__.py", line 1, in <module>
57    from django.http.cookie import SimpleCookie, parse_cookie
58ImportError: cannot import name 'SimpleCookie'
Back to Top