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

from oscar.core.application import Application ImportError: cannot import name 'Application' #64

Open
fureunoir opened this issue Feb 16, 2022 · 0 comments

Comments

@fureunoir
Copy link

When I run manage,py runserver I get this error:
Traceback (most recent call last): File "C:\Users\fureu\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner self.run() File "C:\Users\fureu\AppData\Local\Programs\Python\Python36\lib\threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "E:\Projects\RTD\venv\lib\site-packages\django\utils\autoreload.py", line 64, in wrapper fn(*args, **kwargs) File "E:\Projects\RTD\venv\lib\site-packages\django\core\management\commands\runserver.py", line 118, in inner_run self.check(display_num_errors=True) File "E:\Projects\RTD\venv\lib\site-packages\django\core\management\base.py", line 423, in check databases=databases, File "E:\Projects\RTD\venv\lib\site-packages\django\core\checks\registry.py", line 76, in run_checks new_errors = check(app_configs=app_configs, databases=databases) File "E:\Projects\RTD\venv\lib\site-packages\django\core\checks\urls.py", line 13, in check_url_config return check_resolver(resolver) File "E:\Projects\RTD\venv\lib\site-packages\django\core\checks\urls.py", line 23, in check_resolver return check_method() File "E:\Projects\RTD\venv\lib\site-packages\django\urls\resolvers.py", line 416, in check for pattern in self.url_patterns: File "E:\Projects\RTD\venv\lib\site-packages\django\utils\functional.py", line 48, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "E:\Projects\RTD\venv\lib\site-packages\django\urls\resolvers.py", line 602, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "E:\Projects\RTD\venv\lib\site-packages\django\utils\functional.py", line 48, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "E:\Projects\RTD\venv\lib\site-packages\django\urls\resolvers.py", line 595, in urlconf_module return import_module(self.urlconf_name) File "C:\Users\fureu\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 994, in _gcd_import File "<frozen importlib._bootstrap>", line 971, in _find_and_load File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 665, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 678, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "E:\Projects\RTD\RTD\RTD\urls.py", line 6, in <module> from oscar_docdata.dashboard.app import application as docdata_dashboard_app File "E:\Projects\RTD\venv\lib\site-packages\oscar_docdata\dashboard\app.py", line 2, in <module> from oscar.core.application import Application ImportError: cannot import name 'Application'

So oscar_docdata imports the "Application" module that doesn't exist. What should I do with this?

VERSIONS:
Django 3.2.12
django-oscar 3.1
django-oscar-docdata 1.3.3

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

No branches or pull requests

1 participant