Closed anglewf closed 5 years ago
@anglewf Hi, thanks for interest in this software and for opening your first issue :).
About the error you're getting, it seems to be related to a 404 error (i.e. not found error). As this may be caused by a variety of reasons, please try the following first to narrow down the cause,
If you've just created your api-key from openweathermap, please wait a few hours so that your key is active. In rare cases, it might even take a full day.
Please check your settings.py file to ensure the syntax of the api_key line is correct. You can open your settings.py file, like so: nano /home/pi/Inky-Calendar/Calendar/settings.py
. The api_key line should look like this: api_key = "somesecretapikey"
. Your actual key should be wrapped by this sign "
on either side. If you were using the settings.py generator (web-ui), just can insert just your key, without these marks ("
).
Try to test the connectivity of your Raspberry Pi by typing this in the terminal:
ping 8.8.8.8
. This will try to 'ping' google to test if it's available. You can terminate the command by typing the [Ctrl] key and [C] key simultaneously.
If you don't receive something similar to 64 bytes from 8.8.8.8: icmp_seq=3 ttl=120 time=26.5 ms
, please post the result in your comment.
Do let me know of the problem was fixed. Thanks in advance.
@anglewf Hi, has your problem been solved now? If yes, please don't forget to close this issue, otherwise, please provide some additional feedback. Thanks in advance.
Closing issue due to lack of feedback. If you feel a need to re-open the issue, please feel free to do so.
@anglewf If you're still interested in a possible solution, please check the specified location in the settings file. Click here on how to select the correct location
We get this error when trying to run the code. We have set the API key in the setting.py and not sure what the problem is. Thanks for your help