Getting exception on demo
See original GitHub issueHi there,
I tried to run the demo by following the instructions, but get the following error:
Exception inside application: __init__() takes 1 positional argument but 2 were given
Traceback (most recent call last):
File "/Users/oege/projects/django-plotly-dash/env/lib/python3.8/site-packages/channels/routing.py", line 71, in __call__
return await application(scope, receive, send)
File "/Users/oege/projects/django-plotly-dash/env/lib/python3.8/site-packages/channels/sessions.py", line 47, in __call__
return await self.inner(dict(scope, cookies=cookies), receive, send)
File "/Users/oege/projects/django-plotly-dash/env/lib/python3.8/site-packages/channels/sessions.py", line 254, in __call__
return await self.inner(wrapper.scope, receive, wrapper.send)
File "/Users/oege/projects/django-plotly-dash/env/lib/python3.8/site-packages/channels/auth.py", line 181, in __call__
return await super().__call__(scope, receive, send)
File "/Users/oege/projects/django-plotly-dash/env/lib/python3.8/site-packages/channels/middleware.py", line 26, in __call__
return await self.inner(scope, receive, send)
File "/Users/oege/projects/django-plotly-dash/env/lib/python3.8/site-packages/channels/routing.py", line 150, in __call__
return await application(
File "/Users/oege/projects/django-plotly-dash/env/lib/python3.8/site-packages/asgiref/compatibility.py", line 33, in new_application
instance = application(scope)
TypeError: __init__() takes 1 positional argument but 2 were given
I did make the venv
with python -m venv env
instead of using virtualenv
and am using python3.8
instead of python3.6
. But don’t think that should have caused the error?
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
demo.exceptions java code examples | Tabnine
Best Java code snippets using demo.exceptions (Showing top 20 results out of 315) · ControllerWithoutExceptionHandlers. · ControllerWithoutExceptionHandlers.
Read more >Python Exception Handling | How to define and ... - YouTube
Exception Handling In Python | Exceptions In Python | DURGASOFT ... Handling | How to define and raise Customized Exceptions & Demo Program....
Read more >Getting exception while trying to create a database connection
I am working on a MySQL workbench and in an maven based java application I am trying to connect local database to my...
Read more >Java - Exceptions - Tutorialspoint
An exception (or exceptional event) is a problem that arises during the execution of a program. When an Exception occurs the normal flow...
Read more >How to handle exception? | OutSystems
Can anyone provide me demo application in outsystems? ... In every action you can have a Exception flow which will get executed in...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@dalmouiee as per above, did you follow the installation instructions?
@GibbsConsulting, I was attempting to make a virtual environment using
venv
rather thanvirtualenv
. That was the issue, thanks for your help, and great repo by the way!