What is problem here? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
16th Jan 2023, 11:49 AM
Bidur Pokhrel
Bidur Pokhrel - avatar
1 Answer
0
Hello Bidur, The problem, firstly, is with the current indentation. This may be from where you have copied/pasted the code, however to get this to run I've had to go through all of the indentation. Now I can get your GUI app to run, however I still can't test the Openmap API (I've just setup a new account to test for you, however I think there is a delay in the api key becoming valid - {"cod":401, "message": "Invalid API key. Please see https://openweathermap.org/faq#error401 for more info."} I will re-try in a bit and see if the API is working and check for any other issues.
16th Jan 2023, 1:10 PM
DavX
DavX - avatar