Weather script error

I m trying a python script for weather info in polybar but it gives me a error:

"Traceback (most recent call last):

weather.py https://pastebin.com/JBs3f9Yd
weather.json https://pastebin.com/NqHjFTsa

any ideas?

Did it ever work, or does it work in a terminal?

Those weather sites change their API a lot so the scripts quit working. If the script is still maintained, the author may fix it, or you can request it to be fixed.

How old is that key? You may need a new one.

The key is new but I could never manage to make it work… I ve decided to give up polybar in favour to i3blocks. Feels on the old laptop I m trying to fix.

@ryuuji did you allow the script to run as a program?

Yup :slight_smile: