2018-10-28, 19:20
Hey ronie,
I am getting a new error of just the past couple of days Oct. 26, 27 & 28th.
It had worked flawlessly since it's original release until now suddenly. I get the on screen "weatherbit.io has had an error see the log" (that's not exact)
Here is the error:
12:08:53.297 T:20096 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: Failed to import _strptime because the import lockis held by another thread.
Traceback (most recent call last):
File "C:\Users\iblong\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 474, in <module>
forecast(locationname, locationdeg)
File "C:\Users\iblong\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 234, in forecast
current_props(current_weather,loc)
File "C:\Users\iblong\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 301, in current_props
set_property('Today.Sunrise' , convert_time('%s %s' % (data['data'][0]['ob_time'][0:10], data['data'][0]['sunrise'])))
File "C:\Users\iblong\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 117, in convert_time
date_time = time.strptime(str(date_time)[0:16], '%Y-%m-%d %H:%M')
ImportError: Failed to import _strptime because the import lockis held by another thread.
-->End of Python script error report<--
Thanks for the help!
I am getting a new error of just the past couple of days Oct. 26, 27 & 28th.
It had worked flawlessly since it's original release until now suddenly. I get the on screen "weatherbit.io has had an error see the log" (that's not exact)
Here is the error:
12:08:53.297 T:20096 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: Failed to import _strptime because the import lockis held by another thread.
Traceback (most recent call last):
File "C:\Users\iblong\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 474, in <module>
forecast(locationname, locationdeg)
File "C:\Users\iblong\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 234, in forecast
current_props(current_weather,loc)
File "C:\Users\iblong\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 301, in current_props
set_property('Today.Sunrise' , convert_time('%s %s' % (data['data'][0]['ob_time'][0:10], data['data'][0]['sunrise'])))
File "C:\Users\iblong\AppData\Roaming\Kodi\addons\weather.weatherbit.io\default.py", line 117, in convert_time
date_time = time.strptime(str(date_time)[0:16], '%Y-%m-%d %H:%M')
ImportError: Failed to import _strptime because the import lockis held by another thread.
-->End of Python script error report<--
Thanks for the help!