OS: Windows 10 Now, for the project where the runserver command works I get this: Here is my project structure. i have install all the requirements for this project but still getting this error. I’ve found something where there were errors with the run server command, but none were satisfying. If this is a duplicate, […]
Categories
django runserver command erro
- Post author By Full Stack
- Post date January 22, 2021
- No Comments on django runserver command erro
- Tags "in" : "path", "urlpatterns", **kwargs) File "C:\ProgramData\Anaconda3\lib\site-packages\django\core\management\commands\runserver.py", **self._kwargs) File "C:\ProgramData\Anaconda3\lib\site-packages\django\utils\autoreload.py", $package, 0).end()) File "C:\ProgramData\Anaconda3\lib\json\decoder.py", but I'm pretty sure it isn't. If there's a need for other files and snippets of code, but none were satisfying. If this is a duplicate, end = self.raw_decode(s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0), File "C:\ProgramData\Anaconda3\lib\site-packages\django\core\management\base.py", File "C:\ProgramData\Anaconda3\lib\site-packages\django\urls\conf.py", for the project where the runserver command works I get this: Here is my project structure. i have install all the requirements for this proj, I do apologies, I'll put here everything. Thank you so much. D:. | main.py | | README.md | +---BLL | | asgi.py | |, idx=_w(s, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "C:\ProgramData\Anaconda3\lib\site-packages\django\url, in __init__ jsonContent = json.loads(res.content.decode()) File "C:\ProgramData\Anaconda3\lib\json\__init__.py", in _bootstrap_inner self.run() File "C:\ProgramData\Anaconda3\lib\threading.py", in _call_with_frames_removed File "D:\Covid19Chatbot-master\BLL\urls.py", in _call_with_frames_removed File "D:\Covid19Chatbot-master\UI\urls.py", in _find_and_load File "", in _find_and_load_unlocked File "", in _gcd_import File "", in _load_unlocked File "", in _run_checks return checks.run_checks(**kwargs) File "C:\ProgramData\Anaconda3\lib\site-packages\django\core\checks\registry., in ai = TrainAI() File "D:\Covid19Chatbot-master\DAL\chatbot\trainAI.py", in check for pattern in self.url_patterns: File "C:\ProgramData\Anaconda3\lib\site-packages\django\utils\functional.py", in check include_deployment_checks=include_deployment_checks, in check_resolver return check_method() File "C:\ProgramData\Anaconda3\lib\site-packages\django\urls\resolvers.py", in check_url_config return check_resolver(resolver) File "C:\ProgramData\Anaconda3\lib\site-packages\django\core\checks\urls.py, in decode obj, in exec_module File "", in from chatbot.views import ( File "D:\Covid19Chatbot-master\DAL\chatbot\views.py", in import_module return _bootstrap._gcd_import(name[level:], in include urlconf_module = import_module(urlconf_module) File "C:\ProgramData\Anaconda3\lib\importlib\__init__.py", in inner_run self.check(display_num_errors=True) File "C:\ProgramData\Anaconda3\lib\site-packages\django\core\management\base.p, in loads return _default_decoder.decode(s) File "C:\ProgramData\Anaconda3\lib\json\decoder.py", in raw_decode raise JSONDecodeError("Expecting value", in run self._target(*self._args, in run_checks new_errors = check(app_configs=app_configs) File "C:\ProgramData\Anaconda3\lib\site-packages\django\core\checks\u, in url_patterns patterns = getattr(self.urlconf_module, in urlconf_module return import_module(self.urlconf_name) File "C:\ProgramData\Anaconda3\lib\importlib\__init__.py", in wrapper fn(*args, include('UI.urls')), level) File "", line 1006, line 117, line 127, line 13, line 21, line 219, line 23, line 24, line 337, line 34, line 348, line 355, line 382, line 395, line 4, line 407, line 48, line 53, line 581, line 588, line 6, line 677, line 72, line 728, line 870, line 926, line 967, line 983, OS: Windows 10 Now, s, self.urlconf_module) File "C:\ProgramData\Anaconda3\lib\site-packages\django\utils\functional.py"