Closed idkhow2type closed 2 years ago
Can you send the error or the code here? So that I can figure out the problem...
Maybe you were spamming the Scratch Server and the server disconnected you... Try using time.sleep() Or use try/except statement to catch and handle the error when the Cloud creashes...
@idkhow2type Is the issue still there?
Sorry for taking a while to respond, here's the code for what I'm doing: https://gist.github.com/idkhow2type/fec1374aa7f8577f51f1ca74076c6d9f For context, I'm making a Scratch project that can read its comments
The issue only seems to happen in this part of the code
if i >= len(comments):
set_cloud_var(str(i + 1), "")
continue
According to your code, the line no. 15 should be CLOUD.set_cloud_variable()
As the issue has been solved here, I will close this issue...
Occasionally, right after setting a cloud variable, everything crashes, without any errors. Can you look into it? Thanks!