Posts: 15,282
Joined: Jan 2009
Reputation:
739
ronie
Team-Kodi Member
Posts: 15,282
yup, getting the error now as well... all was working fine a few hours ago.
might be a temp issue.. they're currently not returning any UV data, which causes the crash
Posts: 127
Joined: Oct 2014
Reputation:
6
Ices
Senior Member
Posts: 127
Weather error too, no data.
Posts: 162
Joined: Jul 2014
Reputation:
4
2018-12-02, 13:00
(This post was last modified: 2018-12-02, 13:17 by i0zjh02.)
At the moment I get an Weatherbit IO error and I see this in my log. I've tried renaming and recreating the settings.xml file but still get the same error. I can see information in todays weather and the maps are present but no of the 10 day or hourly forecast information is populated
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: a float is required
Traceback (most recent call last):
File "C:\Users\Home User\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 474, in <module>
forecast(locationname, locationdeg)
File "C:\Users\Home User\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 250, in forecast
daily_props(daily_weather)
File "C:\Users\Home User\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 369, in daily_props
set_property('Daily.%i.UVIndex' % (count+1), str(int(round(item['uv']))) + '%')
TypeError: a float is required
-->End of Python script error report<--
this is my settings file with keys removed
-<settings version="2">
<setting id="API">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</setting>
<setting id="Debug" default="true">false</setting>
<setting id="LatLon" default="true">false</setting>
<setting id="Location1">Liverpool (GB)</setting>
<setting id="Location1deg" default="true">['53.4084', '-2.99157']</setting>
<setting id="Location2" default="true"/>
<setting id="Location3" default="true"/>
<setting id="Location4" default="true"/>
<setting id="Location5" default="true"/>
<setting id="MAPAPI">xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</setting>
<setting id="WMaps">true</setting>
<setting id="Zoom">7</setting>
</settings>
Posts: 9
Joined: Nov 2018
Reputation:
0
Loaded but nothing seems to have changed
Posts: 9
Joined: Nov 2018
Reputation:
0
Hi Ronie ... I have posted the log file
Cheers
Andrew
Posts: 9
Joined: Nov 2018
Reputation:
0
paste.kodi.tv have I done it wrong ?