Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Again HTTP Error 500

Daniel Dec 29, 2016 02:21PM UTC

So, after hours of testing, there is no luck so i post the full Error-Message:

Traceback (most recent call last):
File "wetter5.py", line 267, in <module>
wetter()
File "wetter5.py", line 70, in wetter
observation = owm.weather_at_id(2778690)
File "usr/local/lib/python2.7/dist-packages/pyowm/webapi25/owm25.py", line 234, in weather_at_id 'lang': self._language})
File "usr/local/lib/python2.7/dist-packages/pyowm/commons/owmhttpclient.py", line 74, in call_API rais api_call_error.APICallError)str(e), e)
pyowm.exceptions.api_call_error.APICallError: Exception in calling OWM web API.
Reason: HTTP Error 500: Internal Server Error
Caused by: HTTP Error 500: Internal Server Error

And now, two funny things:

1) I call the api over:
owm = pyowm.OWM("KEY")
but there is no parameter for the language. How can i define the language?
The Documentation dosnt say how, so i need advice please.

2) The file "owmhttpclient.py" dosnt exist, so the API is calling a non existing file?

Please check this Error-Message and give me a hint, how to fix this problem.

Thanks and regards
Daniel

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
9eda11838f597e7a95b6a1c991dcae0a@openweathermap.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete