-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
no module 'chatbot_website.routing' #187
Comments
Same error. There is no file routing.py in chatbot_website/chatbot_website So I changed line 73 of chatbot_website/chatbot_website/settings.py But then I realised django channels has updated to 2.0 And there is no backward compatibility for legacy version. So this needs major refactoring to make channels 2 compatible. traceback after above update :
Because there is no Group in channel 2 |
thank you sir,you are right. when i uninstall channels==2.0, and install channels==1.1.6. and install django==1.10. The chatbot web is successful. So happy. |
I have this error and i dont know why |
channels=1.1.6 |
run the docker image, that worked for me. or maybe port code to channels 2. |
I am also facing same issue but installing packages of above mentioned version didn't helped. |
I'm also getting the same error. System check identified no issues (0 silenced). During handling of the above exception, another exception occurred: Traceback (most recent call last): |
in channels/routing.py when it gets the default application in the first function it should really bubble back up the exception traceback from trying to import the ASGI_APPLICATION, instead of just saying improperly configured application because that is so vague it could mean there is a type in your consumers or a typo in one of your import statements in any of like three files anyway it would be really easy to just in that function's try and except to cathc the importlib.import_module exception (if there is) and bubble it back up to the interpreter. |
until then if you want to find out why specifically ASGI_APPLICATION is improperly configured in manage.py shell, import importlib, then try importlib.import_module('whateverapp.routing.application') |
when i run: python3 manage.py runserver
it shows:
django.core.exceptions.ImproperlyConfigured: Cannot import ASGI_APPLICATION module 'chatbot_website.routing'
how to solve it? 3ku
The text was updated successfully, but these errors were encountered: