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
Is there a reason not to implement a prototype wrapper of the Janus with Sanic framework? A similar torch-based setup worked but here happens the following, without custom code on the nested level where the error comes from:
Main 2025-03-22 15:18:55 +0000 INFO: packages: sanic-routing==23.12.0, sanic-ext==24.12.0
Traceback (most recent call last):
File "/service/modules/rest_api.py", line 258, in <module>
app.run(host="0.0.0.0", port=5000)
~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/service/venv/lib/python3.13/site-packages/sanic/mixins/startup.py", line 282, in run
serve(primary=self) # type: ignore
~~~~~^^^^^^^^^^^^^^
File "/service/venv/lib/python3.13/site-packages/sanic/mixins/startup.py", line 994, in serve
cls._set_startup_method()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/service/venv/lib/python3.13/site-packages/sanic/mixins/startup.py", line 928, in _set_startup_method
raise RuntimeError(
...<3 lines>...
) from None
RuntimeError: Start method 'spawn' was requested, but 'fork' was already set.
Is there a reason not to implement a prototype wrapper of the Janus with Sanic framework? A similar torch-based setup worked but here happens the following, without custom code on the nested level where the error comes from:
Same issue reposted in Sanic repo: sanic-org/sanic#3045
The text was updated successfully, but these errors were encountered: