How to host Streamsync application on Windows 10 #181
HamsterSqueak
started this conversation in
General
Replies: 1 comment 2 replies
-
How do you run the application on vscode to get this error message ? Could you share your configuration (the yaml file) Did you try to host the streamsync application through docker ? https://www.streamsync.cloud/deploy-with-docker.html You can then run the application in docker container and expose it on your local network. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am investigating using Streamsync to provide a UI for an application over a Local Area Network. I have attempted to follow the directions given for using uvicorn. I am using Visual Studio. When I run the application, I receive the following dump:
ERROR: Traceback (most recent call last): File "E:\4users\Hamilton\dev\Python\GUI\Streamsync\ssServer\ssServer\ssServerenv\Lib\site-packages\starlette\routing.py", line 677, in lifespan async with self.lifespan_context(app) as maybe_state: File "C:\Python311\Lib\contextlib.py", line 204, in aenter return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "E:\4users\Hamilton\dev\Python\GUI\Streamsync\ssServer\ssServer\ssServerenv\Lib\site-packages\streamsync\serve.py", line 42, in lifespan app_runner.load() File "E:\4users\Hamilton\dev\Python\GUI\Streamsync\ssServer\ssServer\ssServerenv\Lib\site-packages\streamsync\app_runner.py", line 595, in load self._start_app_process() File "E:\4users\Hamilton\dev\Python\GUI\Streamsync\ssServer\ssServer\ssServerenv\Lib\site-packages\streamsync\app_runner.py", line 759, in _start_app_process self.app_process.start() File "C:\Python311\Lib\multiprocessing\process.py", line 121, in start self._popen = self._Popen(self) ^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\multiprocessing\context.py", line 224, in _Popen return _default_context.get_context().Process._Popen(process_obj) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\multiprocessing\context.py", line 336, in _Popen return Popen(process_obj) ^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\multiprocessing\popen_spawn_win32.py", line 45, in init prep_data = spawn.get_preparation_data(process_obj._name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python311\Lib\multiprocessing\spawn.py", line 158, in get_preparation_data _check_not_importing_main() File "C:\Python311\Lib\multiprocessing\spawn.py", line 138, in _check_not_importing_main raise RuntimeError(''' RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase.
Can anyone suggest how to host a Streamsync application on a Local Area Network?
Beta Was this translation helpful? Give feedback.
All reactions