Getting a Runtime error for get_sleep_time

#63
by midgetjoe555 - opened

I get

File "app.py", line 192, in get_sleep_time
return response.json()['runtime']['gcTimeout']
KeyError: 'runtime'

when i try to run anything

I had the same, it can be fixed if you go into the Settings tab of the Sapce (same place where you set your hardware type) and on the left hand side of the first panel there is a drop down field for Sleep time settings. Make this any value except Don't sleep.

Should be an easy bug to fix but this will unblock you in the mean time.

image.png

Thanks for flagging. I have fixed the bug for the case the user has not set a Sleep time setting!

I had the same, it can be fixed if you go into the Settings tab of the Sapce (same place where you set your hardware type) and on the left hand side of the first panel there is a drop down field for Sleep time settings. Make this any value except Don't sleep.

Should be an easy bug to fix but this will unblock you in the mean time.

image.png

Thanks for the reply.

It was set at 24 hours when I first got the error. Since then I had it switched to don't sleep, but I'll switch back and see if that works.

Sign up or log in to comment