juharris / switch-remoteplay

NOT AN OFFICIAL NINTENDO PRODUCT - Control your Switch remotely (no hacking required)
https://jubuntu.eastus.cloudapp.azure.com/
MIT License
288 stars 18 forks source link

Cannot bring it to run #80

Open homi231 opened 1 year ago

homi231 commented 1 year ago

Hey i followed the tutorial 1 to 1 and ihave a problem on the step with the secret key it throws some errors im on the latest ubuntu desktop version of 22.04 and it throws these errrors. Could it be that pip3 and python3 are having problems if both installed since if i dont install python-pip3 it also throws an error in the command sudo pip3 install -e . if someone could help i would appreciate it

root@switch123:~/switch-remoteplay/server# SECRET_KEY='1234' python3 switchremoteplay/server.py Traceback (most recent call last): File "/root/switch-remoteplay/server/switchremoteplay/server.py", line 19, in socketio = SocketIO(app, cors_allowed_origins='*') File "/usr/local/lib/python3.10/dist-packages/flask_socketio/init.py", line 189, in init self.init_app(app, kwargs) File "/usr/local/lib/python3.10/dist-packages/flask_socketio/init.py", line 245, in init_app self.server = socketio.Server(self.server_options) File "/usr/local/lib/python3.10/dist-packages/socketio/server.py", line 134, in init self.eio = self._engineio_server_class()(*engineio_options) File "/usr/local/lib/python3.10/dist-packages/engineio/server.py", line 138, in init self._async = importlib.import_module( File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/usr/local/lib/python3.10/dist-packages/engineio/async_drivers/eventlet.py", line 3, in from eventlet.green.threading import Thread, Event File "/usr/local/lib/python3.10/dist-packages/eventlet/init.py", line 17, in from eventlet import convenience File "/usr/local/lib/python3.10/dist-packages/eventlet/convenience.py", line 7, in from eventlet.green import socket File "/usr/local/lib/python3.10/dist-packages/eventlet/green/socket.py", line 4, in import('eventlet.green._socket_nodns') File "/usr/local/lib/python3.10/dist-packages/eventlet/green/_socket_nodns.py", line 11, in from eventlet import greenio File "/usr/local/lib/python3.10/dist-packages/eventlet/greenio/init.py", line 3, in from eventlet.greenio.base import # noqa File "/usr/local/lib/python3.10/dist-packages/eventlet/greenio/base.py", line 32, in socket_timeout = eventlet.timeout.wrap_is_timeout(socket.timeout) File "/usr/local/lib/python3.10/dist-packages/eventlet/timeout.py", line 166, in wrap_is_timeout base.istimeout = property(lambda : True) TypeError: cannot set 'is_timeout' attribute of immutable type 'TimeoutError'