andness
andness12mo ago

Can't get a simple button working

Feeling pretty dumb here... I'm trying out the App Editor, and I've made a button which receives some data and calls a Python script which prints the data... and that's all! And when I click this button it calls the Python script, but then it never comes out of the "Loading" state. I've tried returning True from the Python script, I've tried attaching a Transformer to do myButton.loading=false .... I just can't figure it out. There must be something very basic I'm doing wrong 😳
8 Replies
rubenf
rubenf12mo ago
what version are you on ?
andness
andnessOP12mo ago
I just upgraded to the latest this morning, 235 Actually now I tried making a Deno script instead and it works immediately So it looks like an issue with Python scripts
rubenf
rubenf12mo ago
i'm on it, something is wrong with the latest version
andness
andnessOP12mo ago
Yeah the Deno version failed now too when I tried a simple repro I'll downgrade in the meantime then
rubenf
rubenf12mo ago
it's fixed on latest currently building
andness
andnessOP12mo ago
Ok, reverted back to 234 and it's fine But man that's what I call rapid response! 👏
rubenf
rubenf12mo ago
it's a very tiny typo but with deadly consequences 😦
andness
andnessOP12mo ago
I see, the difference a pair of brackets can do...