You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run a basic Django server with subscriptions enabled and I'm receiving an error on the command line.
What I Did
I prepared a basic Django server, enabled channels, and confirmed everything was working.
I then setup graphql-ws as described in the README. When I launch the server I see the following on the command line (it gets printed repeatedly):
Exception inside application: object.__init__() takes exactly one argument (the instance to initialize)
Traceback (most recent call last):
File "/home/luke/.cache/pypoetry/virtualenvs/annai-EdSLGIjn-py3.9/lib/python3.9/site-packages/channels/staticfiles.py", line 44, in __call__
return await self.application(scope, receive, send)
File "/home/luke/.cache/pypoetry/virtualenvs/annai-EdSLGIjn-py3.9/lib/python3.9/site-packages/channels/routing.py", line 71, in __call__
return await application(scope, receive, send)
File "/home/luke/.cache/pypoetry/virtualenvs/annai-EdSLGIjn-py3.9/lib/python3.9/site-packages/channels/routing.py", line 150, in __call__
return await application(
File "/home/luke/.cache/pypoetry/virtualenvs/annai-EdSLGIjn-py3.9/lib/python3.9/site-packages/asgiref/compatibility.py", line 33, in new_application
instance = application(scope)
File "/home/luke/.cache/pypoetry/virtualenvs/annai-EdSLGIjn-py3.9/lib/python3.9/site-packages/channels/generic/websocket.py", line 159, in __init__
super().__init__(*args, **kwargs)
TypeError: object.__init__() takes exactly one argument (the instance to initialize)
The text was updated successfully, but these errors were encountered:
Description
I'm trying to run a basic Django server with subscriptions enabled and I'm receiving an error on the command line.
What I Did
I prepared a basic Django server, enabled channels, and confirmed everything was working.
I then setup graphql-ws as described in the README. When I launch the server I see the following on the command line (it gets printed repeatedly):
The text was updated successfully, but these errors were encountered: