2019-03-01, 15:42
well the weatherbit.io is working but the maps don't support for exemple the temperature, maps are not enriched...
ERROR: EXCEPTION Thrown (PythonToCppException) :
-->Python callback/script returned the following error<--
NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ModuleNotFoundError'>
Error Contents: No module named 'urllib2'
Traceback (most recent call last):
File "/Users/username/Library/Application Support/Kodi/addons/weather.openweathermap.extended/default.py", line 3, in <module>
import os, sys, time, urllib2, unicodedata, random, string
ModuleNotFoundError: No module named 'urllib2'
-->End of Python script error report<--
python:2020-03-18 11:49:33.542 T:2867204976 DEBUG: CPythonInvoker(5, /storage/.kodi/addons/weather.openweathermap.extended/default.py): entering source directory /storage/.kodi/addons/weather.openweathermap.extended
2020-03-18 11:49:33.542 T:2867204976 DEBUG: CPythonInvoker(5, /storage/.kodi/addons/weather.openweathermap.extended/default.py): instantiating addon using automatically obtained id of "weather.openweathermap.extended" dependent on version 2.25.0 of the xbmc.python api
2020-03-18 11:49:33.642 T:2867204976 DEBUG: CAddonSettings[weather.openweathermap.extended]: loading setting definitions
2020-03-18 11:49:33.642 T:2867204976 DEBUG: CAddonSettings[weather.openweathermap.extended]: trying to load setting definitions from old format...
2020-03-18 11:49:33.643 T:2867204976 DEBUG: CAddonSettings[weather.openweathermap.extended]: loading setting values
2020-03-18 11:49:33.644 T:2867204976 DEBUG: CSettingsManager: requested setting (Location1deg) was not found.
2020-03-18 11:49:33.648 T:2867204976 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.SyntaxError'>
Error Contents: unexpected EOF while parsing (<string>, line 0)
Traceback (most recent call last):
File "/storage/.kodi/addons/weather.openweathermap.extended/default.py", line 911, in <module>
forecast(locationname, locationid, locationdeg)
File "/storage/.kodi/addons/weather.openweathermap.extended/default.py", line 183, in forecast
lat = float(eval(locationdeg)[0])
File "<string>", line 0
^
SyntaxError: unexpected EOF while parsing
-->End of Python script error report<--
2020-03-18 11:49:33.648 T:2867204976 DEBUG: onExecutionDone(5, /storage/.kodi/addons/weather.openweathermap.extended/default.py)
2020-03-18 11:49:33.658 T:3011309584 DEBUG: ------ Window Init (DialogNotification.xml) ------
2020-03-18 11:49:33.675 T:2867204976 INFO: Python interpreter stopped
2020-03-18 11:49:33.675 T:2867204976 DEBUG: Thread LanguageInvoker 2867204976 terminating
2020-03-18 11:49:33.710 T:2858812272 DEBUG: POParser: loaded 130 weather tokens
(2021-01-22, 18:28)rosede Wrote: I just noticed this thread and wonder what makes the OpenWeatherMap add-on broken? I've been using it for several years and its worked will for me.
Thanks
Daryl
(2017-12-28, 03:58)ronie Wrote: I found the answer in the forum of openweathermap:Hi,
https://openweathermap.desk.com/customer...s-forecast