scratchattach version
2.1.18
What happened?
When I run my scratch project on turbowarp, and I get 2 caught errors (on events 'on_connect' and 'on_handshake')
Then, everytime I set a cloud var from the Scratch project I get a 3rd catch (on event 'on_set').
Despite that, the server seems to be working fine; I can set and read values from Python and the Scratch project, and the two are in sync.
The problem is that it floods the console with output, so I can't read what I'm printing there myself...
Your code.
server = sa.init_cloud_server(
'127.0.0.1', 8080,
thread=True, # I also tried thread=False
length_limit=None, allow_non_numeric=True,
whitelisted_projects=None, allow_nonscratch_names=True, blocked_ips=[],
sync_players=True,
log_var_sets=False
)
server.start()
Traceback
Warning: Caught error in event 'on_connect' - Full error below
Traceback (most recent call last):
File "C:\Users\JloAu\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\scratchattach\eventhandlers\_base.py", line 47, in call_event
if event_name in self._threaded_events:
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TwCloudServer' object has no attribute '_threaded_events'
Warning: Caught error in event 'on_handshake' - Full error below
Traceback (most recent call last):
File "C:\Users\JloAu\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\scratchattach\eventhandlers\_base.py", line 47, in call_event
if event_name in self._threaded_events:
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TwCloudServer' object has no attribute '_threaded_events'
Warning: Caught error in event 'on_set' - Full error below
Traceback (most recent call last):
File "C:\Users\JloAu\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\scratchattach\eventhandlers\_base.py", line 47, in call_event
if event_name in self._threaded_events:
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TwCloudServer' object has no attribute '_threaded_events'
scratchattach version
2.1.18
What happened?
When I run my scratch project on turbowarp, and I get 2 caught errors (on events 'on_connect' and 'on_handshake')
Then, everytime I set a cloud var from the Scratch project I get a 3rd catch (on event 'on_set').
Despite that, the server seems to be working fine; I can set and read values from Python and the Scratch project, and the two are in sync.
The problem is that it floods the console with output, so I can't read what I'm printing there myself...
Your code.
Traceback
Warning: Caught error in event 'on_connect' - Full error below Traceback (most recent call last): File "C:\Users\JloAu\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\scratchattach\eventhandlers\_base.py", line 47, in call_event if event_name in self._threaded_events: ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TwCloudServer' object has no attribute '_threaded_events' Warning: Caught error in event 'on_handshake' - Full error below Traceback (most recent call last): File "C:\Users\JloAu\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\scratchattach\eventhandlers\_base.py", line 47, in call_event if event_name in self._threaded_events: ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TwCloudServer' object has no attribute '_threaded_events' Warning: Caught error in event 'on_set' - Full error below Traceback (most recent call last): File "C:\Users\JloAu\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\scratchattach\eventhandlers\_base.py", line 47, in call_event if event_name in self._threaded_events: ^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'TwCloudServer' object has no attribute '_threaded_events'