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
breaks with the error AttributeError: Setting variables on Sanic instances is not allowed. You should change your Sanic instance to use instance.ctx.is_running instead. on the line 112 in utils.py:
self.app.is_running = True
This seems to happen for at least all of the 22.x and 23.x versions of Sanic.
The text was updated successfully, but these errors were encountered:
On Sanic 22.12.0 it instead breaks on an invalid server protocol for websocket websockets.exceptions.InvalidURI: http://127.0.0.1:62871/test_ws isn't a valid URI: scheme isn't ws or wss, and the other tests break on ConnectionResetError: [Errno 54] Connection reset by peer so not sure what's going on.
ripperdoc
changed the title
Examples code breaks on Sanic 23.3.0
Examples code breaks on recent versions of Sanic
Mar 28, 2023
Pip freeze:
I'm using the code from README. This test fixture
breaks with the error
AttributeError: Setting variables on Sanic instances is not allowed. You should change your Sanic instance to use instance.ctx.is_running instead.
on the line 112 in utils.py:This seems to happen for at least all of the 22.x and 23.x versions of Sanic.
The text was updated successfully, but these errors were encountered: