• 1
  • 30
  • 31
  • 32(current)
  • 33
  • 34
  • 51
Broken Weather Underground
(2014-05-10, 21:37)YurixAnd Wrote: Hi
I'm use raspbmc (Rasperry Pi + XBMC).

Code:
22:13:35 T:2750411840   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: could not convert string to float:
                                            Traceback (most recent call last):
                                              File "/home/pi/.xbmc/addons/weather.wunderground/default.py", line 642, in <module>
                                                forecast(location, locationid)
                                              File "/home/pi/.xbmc/addons/weather.wunderground/default.py", line 156, in forecast
                                                properties(data,loc,locid)
                                              File "/home/pi/.xbmc/addons/weather.wunderground/default.py", line 218, in properties
                                                update = time.localtime(float(data['current_observation']['observation_epoch']))
                                            ValueError: could not convert string to float:
                                            -->End of Python script error report<--

this is full debug log (level 2)

thx, could you please follow the instructions in the first post on how to create a debug log?
(you need to enable logging in the addon as well)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
weather.underground crashes.

XBMC 13.0
Win 7 x64
weather.underground 3.0.4
reporting location / settings:

Code:
<settings>
    <setting id="Animate" value="false" />
    <setting id="Debug" value="true" />
    <setting id="Enabled" value="true" />
    <setting id="Location1" value="Wheeler AAF, Hawaii" />
    <setting id="Location1id" value="zmw:96854.7.99999" />
    <setting id="Location2" value="" />
    <setting id="Location2id" value="" />
    <setting id="Location3" value="" />
    <setting id="Location3id" value="" />
    <setting id="Location4" value="" />
    <setting id="Location4id" value="" />
    <setting id="Location5" value="" />
    <setting id="Location5id" value="" />
    <setting id="Weekend" value="0" />
    <setting id="Zoom" value="10" />
</settings>

default.py crashes on first running the script. Debug log is here:
http://xbmclogs.com/show.php?id=201675

scott s.
.
Reply
(2014-05-15, 01:23)scott967 Wrote: weather.underground crashes.

confirmed.
looks like they made some changes to their api.

i'll look into it.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
Image

XBMC 13.0 (Release)
Wunderground 3.0.4
Reply
Bug 
Either something is wrong with the weather subsystem or it's hot as he__ outside!!
Reply
(2014-05-15, 02:14)ac0mputerguru Wrote: Either something is wrong with the weather subsystem or it's hot as he__ outside!!

Looks like I should be dead!
Reply
(2014-05-07, 21:19)ronie Wrote: thanx for the log files!

could you test if v3.0.4 fixes this issue?
weather.wunderground-3.0.4.zip

I'm Running 3.0.4, still getting Script Failed : Weather Underground
Using Gotham 13, Aeon MQ5 on a Windows 8 Machine, any ideas?
Reply
(2014-05-15, 01:38)ronie Wrote:
(2014-05-15, 01:23)scott967 Wrote: weather.underground crashes.

confirmed.
looks like they made some changes to their api.

i'll look into it.

Excellent, I thought I was imagining things but it gives me a script failed error, I can of course provide a debug log as soon as I get that machine booted, though its a 3.0.4 but on Helix compiled with all of yesterdays merges.
Issue is triggered when the machine is on idle and when I pull it out the screensaver and home menu loads the kai pops up with error.
Reply
open ~/.xbmc/addons/weather.wunderground/default.py with a editor
change all occurences of

Code:
[31:-4]

against

Code:
[28:-4]

These are the lines 191, 204, 310, 363, 437, 483.

Works again
Reply
(2014-05-15, 10:15)_BJ1 Wrote: open ~/.xbmc/addons/weather.wunderground/default.py with a editor
change all occurences of

Code:
[31:-4]

against

Code:
[28:-4]

These are the lines 191, 204, 310, 363, 437, 483.

Works again

Thanks, work perfect...
Board: B85M-ITX
CPU: i3 4330
GPU: Geforce GTX 750ti
Reply
i've pushed an update to the addon repo.
you should receive the fix within the next couple of hours.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
Possible point of confusion (PPOC) that we might need to make clear if I am correct....

Frodo current version = 2.04
Gotham current version = 3.05

Is this correct?
Reply
(2014-05-15, 16:26)flhthemi Wrote: Possible point of confusion (PPOC) that we might need to make clear if I am correct....

Frodo current version = 2.04
Gotham current version = 3.05

Is this correct?

yup.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
(2014-05-15, 11:56)ronie Wrote: i've pushed an update to the addon repo.
you should receive the fix within the next couple of hours.

3.0.4 crashed, received auto update, restarted, and 3.0.5 is working. fixed.

scott s.
.
Reply
How come I haven't received an update? Is it because I disabled Weather Underground after it started giving me errors? I since have gone to a different weather service since the script errors happened. Where do I get the updated 3.0.5 version if I don't ever get an update?

Edit: NVM. I will get it from github and install manually.

3.0.5 working beautifully. Thanks Ronie!
Reply
  • 1
  • 30
  • 31
  • 32(current)
  • 33
  • 34
  • 51

Logout Mark Read Team Forum Stats Members Help
Weather Underground1