Open brianpmarks opened 6 years ago
Based on a paste into my dev env, #33 shows the same behavior.
Maybe progress: moving run()
to the bottom of the program gives
ExternalError: Error: Couldn't infer function to wrap on line 20 in main.py
That line is ball_color = color(200, 20, 60)
Two things:
color()
throwing an error? #28 should have fixed that.run()
should come at the end if that's the new requirement to avoid this for new trinkets edits.So about the run
function needing to go to the end. Is because the run function is synchronous and will return when the sketch finishes.
I will investigate the automatic initialisation of a sketch on the first call to a processing.py function.
Same user report for #35 but a different error. They state that the trinket used to work but now no error is shown but neither does the trinket work. Example here: https://trinket.io/embed/python/56d5bfc9c6
Forgive me if this is a known issue but I wasn't sure what exactly to report.