2015-06-08, 03:57
Hi ronie,
I try to use the plugin without success
I use Kodi 14.2 on Raspbian, I cannot find the city with the search, so I inserted directly in settings.xml
Log
Can you help ?
thanks
I try to use the plugin without success
I use Kodi 14.2 on Raspbian, I cannot find the city with the search, so I inserted directly in settings.xml
Code:
<setting id="Location1" value="Singapore" />
<setting id="Location1ID" value="1880252" />
<setting id="Location1deg" value="[103.850067, 1.289670]" />
Log
Code:
09:51:44 T:1828713488 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: math domain error
Traceback (most recent call last):
File "/home/kodi/.kodi/addons/weather.openweathermap.extended/resources/lib/maps.py", line 217, in <module>
Main()
File "/home/kodi/.kodi/addons/weather.openweathermap.extended/resources/lib/maps.py", line 22, in __init__
self._get_maps(lat, lon)
File "/home/kodi/.kodi/addons/weather.openweathermap.extended/resources/lib/maps.py", line 54, in _get_maps
x, y = GET_TILE(lat, lon, ZOOM)
File "/home/kodi/.kodi/addons/weather.openweathermap.extended/resources/lib/utils.py", line 383, in GET_TILE
ytile = int((1.0 - math.log(math.tan(lat_rad) + (1 / math.cos(lat_rad))) / math.pi) / 2.0 * n)
ValueError: math domain error
-->End of Python script error report<--
Can you help ?
thanks