Posts: 971
Joined: Dec 2008
Reputation:
44
2014-10-24, 01:26
(This post was last modified: 2014-10-24, 02:41 by Dilligaf.)
Get a script error when starting:
20:38:45 T:3176 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'thread_street' referenced before assignment
Traceback (most recent call last):
File "C:\Users\mike\AppData\Roaming\XBMC\addons\weather.openweathermap.extended\default.py", line 960, in <module>
forecast(location, locationid, locationdeg)
File "C:\Users\mike\AppData\Roaming\XBMC\addons\weather.openweathermap.extended\default.py", line 306, in forecast
thread_street.join()
UnboundLocalError: local variable 'thread_street' referenced before assignment
-->End of Python script error report<--
If I have been of help, please add to my reputation as a way of saying thanks, it's free.
Posts: 562
Joined: Jan 2013
Reputation:
9
just test on my Helix Alpha 4, Win 7 System.
Works perfect! Maps looking good..
Thanks for the graet job....
Board: B85M-ITX
CPU: i3 4330
GPU: Geforce GTX 750ti
Posts: 542
Joined: Mar 2010
Reputation:
1
Liking it, seems to be working well - as a drop-in replacement even - on XBMC 13.2 and Aeon Nox 5.1.5.
Thank you!
* MikroTik RB5009UG+S+IN :: ZyXEL GS1900-8HP v1 :: EAP615-Wall v1 :: Netgear GS108T v3 running OpenWrt 23.05
* LibreELEC 11:
HTPC Gigabyte Brix GB-BXA8-5545 with
CEC adapter, Sony XR-64A84K ::
Desktop AMD Ryzen 7 5800X / Sapphire Nitro+ Radeon 6700XT / 27" Dell U2717D QHD
* Debian Bookworm x86_64: Celeron G1610, NFS/MariaDB/ZFS server
*
Blog
Posts: 2
Joined: Dec 2011
Reputation:
0
2014-10-26, 06:31
(This post was last modified: 2014-10-26, 06:36 by 1larryw.)
I have the add-on installed and running on 13.2 Gotham, an dinstalled the confluence skin update on Windows 7. I can't for the life of me, figure out how to switch the right pane views between forcasts, maps, etc. I don't see an option to change the view in the settings fly-out.
What am I missing?
*** UPDATE ***
Never mind! a quick exit and XBMC reload fixed everything. Looks good and seems to be working properly now.
L-Dub
Posts: 1,470
Joined: Aug 2011
Reputation:
46
im85288
Skilled Python Coder
Posts: 1,470
Maybe it is related to the clocks going back but I now get the following error:
10:50:16 T:140050796885760 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: invalid literal for int() with base 10: ''
Traceback (most recent call last):
File "/storage/.xbmc/addons/weather.openweathermap.extended/default.py", line 963, in <module>
forecast(location, locationid, locationdeg)
File "/storage/.xbmc/addons/weather.openweathermap.extended/default.py", line 307, in forecast
hourly_props(hourly_weather, daynum)
File "/storage/.xbmc/addons/weather.openweathermap.extended/default.py", line 796, in hourly_props
if int(day_time) > 2:
ValueError: invalid literal for int() with base 10: ''
-->End of Python script error report<--