Discuss Scratch

Chiroyce
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

JackK211424 wrote:

Can you explain how to fix this?
I'm not an expert in this, but this may help - https://jhooq.com/2-ways-to-fix-ssl-certificate-problem-self-signed-certificate-in-certificate-chain/#pip

JackK211424 wrote:

Sidenote: speaking of stack overflow here is a little Easter egg (I think) at index.php
Wait it's random! It takes you to a random video everytime!

Last edited by Chiroyce (June 21, 2021 02:51:49)








April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
JackK211424
Scratcher
500+ posts

scratchclient - A scratch API wrapper for python

Chiroyce wrote:

Wait it's random! It takes you to a random video everytime!
A random 10 hour meme video to be precise xD

Thanks for the link, I'll see if it works.

Last edited by JackK211424 (June 21, 2021 13:04:54)


mrcoat
Scratcher
82 posts

scratchclient - A scratch API wrapper for python

So I was using scratchclient to love a certain project, but when I try to use
session.get_project(<project id>).love()
It doesn't do anything. Do I have to use a different syntax, or do I have to do it a different way?

My cartoon
Watch My Show!
I was gonna put an image of the studio but it didn't work.

Cool thing I made
when [Awesomeness v] > (100)
forever
play sound [Victory v] until done
set rotation style [The best style v]
go to [The party v]
end
Raihan142857
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

mrcoat wrote:

So I was using scratchclient to love a certain project, but when I try to use
session.get_project(<project id>).love()
It doesn't do anything. Do I have to use a different syntax, or do I have to do it a different way?
Can't repro. You sure the project ID is correct?
This is my code
from scratchclient import ScratchSession
session = ScratchSession("acted", "removed")
session.get_project(450216269).love()
# (in my messages) acted loved your project zach exposed

Last edited by Raihan142857 (June 22, 2021 20:26:37)


I use scratch.
GF: I'll dump you. BF: hex dump or binary dump?










mrcoat
Scratcher
82 posts

scratchclient - A scratch API wrapper for python

Raihan142857 wrote:

Can't repro. You sure the project ID is correct?
So I just reworked some of my code and it works now, I won't go in into detail about the error because my code was pretty complicated, but I was using cloud variables to communicate with the script and then using for loops to separate the project Id from some other information in the cloud variable.

My cartoon
Watch My Show!
I was gonna put an image of the studio but it didn't work.

Cool thing I made
when [Awesomeness v] > (100)
forever
play sound [Victory v] until done
set rotation style [The best style v]
go to [The party v]
end
samq64
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

Raihan142857 wrote:

session = ScratchSession("griffpatch", "SecurePassword7")
I sure hope that's not Griffpatch's real password because if it is, then you're going to be in real trouble.

Last edited by samq64 (June 22, 2021 23:45:49)

gosoccerboy5
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

samq64 wrote:

Raihan142857 wrote:

session = ScratchSession("griffpatch", "SecurePassword7")
I sure hope that's not Griffpatch's real password because if it is, then you're going to be in real trouble.
try it yourself.. of course not

Chiroyce
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

How do i find out which user set the variable?

Last edited by Chiroyce (June 25, 2021 14:48:14)








April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
Raihan142857
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

Chiroyce wrote:

How do i find out which user set the variable?
for now you can't, because you have to request the cloud logs to do that

I use scratch.
GF: I'll dump you. BF: hex dump or binary dump?










wvj
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

Chiroyce wrote:

How do i find out which user set the variable?
encode the username into a cloud var

Chiroyce
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

Raihan142857 wrote:

for now you can't, because you have to request the cloud logs to do that
oh ok







April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
Chiroyce
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

my code -
import os, random, time as t
from scratchclient import ScratchSession
rand = 0
password = os.environ['password']
session = ScratchSession('username', password)
connection = session.create_cloud_connection(project_id)
@connection.on("set")
def on_set(variable):
	r = random.randint(1,1000)
	connection.set_cloud_variable("Cloud", r)
while True:	
	t.sleep(0)
Error -
    self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 5 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 5 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 4 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 5 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 1 more time]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 2 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 4 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 3 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 5 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 4 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 3 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 3 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 3 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 3 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 4 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 7 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 5 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 4 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 4 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 3 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 5 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 3 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 3 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 4 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 6 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 5 more times]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 83, in set_cloud_variable
self.emit("set", cloud)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 243, in emit
l(*args, **kwargs)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/pymitter.py", line 273, in __call__
self.func(*args, **kwargs)
File "main.py", line 12, in on_set
connection.set_cloud_variable("Cloud", r)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 95, in set_cloud_variable
self.set_cloud_variable(variable, value)
[Previous line repeated 1 more time]
File "/opt/virtualenvs/python3/lib/python3.8/site-packages/scratchclient/CloudConnection.py", line 58, in set_cloud_variable
if time.time() - self._timer > 0.1:
RecursionError: maximum recursion depth exceeded while calling a Python object

Last edited by Chiroyce (June 26, 2021 11:42:26)








April Fools' topics:
New Buildings in Scratch's headquarters
Give every Scratcher an M1 MacBook Air
Scratch should let users edit other Scratchers' projects
Make a statue for Jeffalo
Scratch Tech Tips™
Make a Chiroyce statue emoji


<img src=“x” onerror=“alert('XSS vulnerability discovered')”>

this is a test sentence
Raihan142857
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

Chiroyce wrote:

my code -
import os, random, time as t
from scratchclient import ScratchSession
rand = 0
password = os.environ['password']
session = ScratchSession('username', password)
connection = session.create_cloud_connection(project_id)
@connection.on("set")
def on_set(variable):
	r = random.randint(1,1000)
	connection.set_cloud_variable("Cloud", r)
while True:	
	t.sleep(0)
Error -
This is one of those “I know what happened but I'm not sure how I'm going to fix it” moments. It's because when you set a cloud variable, it emits the “set” event. But when the set event happens, you set a cloud variable. So this keeps going on until you break the recursion stack limit. I'll try and see what I can do to prevent this from happening.

I use scratch.
GF: I'll dump you. BF: hex dump or binary dump?










NFlex23
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

Ooh can't wait to use this!







Sorry if I'm too serious sounding on the forums. I don't usually realize it until I've already posted.

My personal stickies:

Sticky: Aviate: create dynamic, component driven statuses on the fly (aviateapp.eu.org) by NFlex23 (New Posts)

Sticky: Scratch Tutorials — share your knowledge or learn something new with Scratchers worldwide by NFlex23 (New Posts)

JackK211424
Scratcher
500+ posts

scratchclient - A scratch API wrapper for python

Raihan142857 wrote:

-snip-
This is one of those “I know what happened but I'm not sure how I'm going to fix it” moments.

There is a way you could fix it. (havent tested it and it may not work in certain cases)

import os, random, time as t
from scratchclient import ScratchSession
rand = 0
password = os.environ['password']
session = ScratchSession('username', password)
connection = session.create_cloud_connection(project_id)
@connection.on("set")
def on_set(variable):
    
    if not variable.value == r:
	r = random.randint(1,1000)
	connection.set_cloud_variable("Cloud", r)

This just checks if variable.value is equal to the previous random value (though, if the project sets the cloud to R then it would ignore it.)

Last edited by JackK211424 (June 26, 2021 21:23:26)


Raihan142857
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

JackK211424 wrote:

Raihan142857 wrote:

-snip-
This is one of those “I know what happened but I'm not sure how I'm going to fix it” moments.

There is a way you could fix it. (havent tested it and it may not work in certain cases)

import os, random, time as t
from scratchclient import ScratchSession
rand = 0
password = os.environ['password']
session = ScratchSession('username', password)
connection = session.create_cloud_connection(project_id)
@connection.on("set")
def on_set(variable):
    
    if not variable.value == r:
	r = random.randint(1,1000)
	connection.set_cloud_variable("Cloud", r)

This just checks if variable.value is equal to the previous random value (though, if the project sets the cloud to R then it would ignore it.)
What if the person who sets the variable isn't you, but the value is the same?

I use scratch.
GF: I'll dump you. BF: hex dump or binary dump?










JackK211424
Scratcher
500+ posts

scratchclient - A scratch API wrapper for python

Raihan142857 wrote:

-snip-
What if the person who sets the variable isn't you, but the value is the same?

JackK211424 wrote:

(though, if the project sets the cloud to R then it would ignore it.)

You could fix this by using the cloud logs, but I'm not sure if there is an api for that (you could do the raw html but it would be slower)

EDIT: there is an api (kind of) https://clouddata.scratch.mit.edu/logs?projectid={PROJECT ID}&limit={LIMIT}&offset=0

Last edited by JackK211424 (June 26, 2021 23:27:28)


JackK211424
Scratcher
500+ posts

scratchclient - A scratch API wrapper for python

Chiroyce wrote:

I'm not an expert in this, but this may help

Yes keyword may because it didnt work
Its also kinda annoying because I cant seem to find much online about how to fix it when your not directly using Sockets.


kccuber
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

help. i keep getting a syntaxerror every time i try installing this package. maybe it's an issue with my python install because
pip install requests
didn't work either


Made using Nord Theme & Inkscape
dhuls
Scratcher
1000+ posts

scratchclient - A scratch API wrapper for python

kccuber wrote:

help. i keep getting a syntaxerror every time i try installing this package. maybe it's an issue with my python install because
pip install requests
didn't work either
import os
os.system('pip install scratchclient')
(src)

Powered by DjangoBB

Standard | Mobile