•  Previous
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 22
  • Next 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
Release - Yahoo! Weather
#46
(2014-10-23, 11:29)a.rdet Wrote: ¿Then for the present there is no solution?

correct.
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
#47
It first worked when I tried it but now I get a script error:

Code:
ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xc3 in position 24: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "E:\Mes Documents\Mes vidéos\XBMC\portable_data\addons\weather.yahoo\default.py", line 29, in <module>
                                                __resource__   = xbmc.translatePath( os.path.join( __cwd__, 'resources', 'lib' ).encode("utf-8") ).decode("utf-8")
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 24: ordinal not in range(128)
                                            -->End of Python script error report<--

My language and region is from France, I assume it's relative to that...?

Full log here.

My config:
  • win 8.1 x64
  • XBMC 13.2
  • yahoo weather 2.0.3

No matter the skin…
  • Windows 10 x64
  • Kodi 17.3
Reply
#48
(2014-10-28, 22:13)fred_gaou Wrote: It first worked when I tried it but now I get a script error:

thx for the report!
i've pushed a fix to the addon repo.
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
#49
I confirm the v3.0.1 fix the issue.

Thanks!
  • Windows 10 x64
  • Kodi 17.3
Reply
#50
Have a problem on v3.0.1 running in Helix B1

When displaying the daily forecast panel in default confluence, the display is by day as follows:
Nov 05/06/07/08/09/10/11/12/13/14/15/16/17/08

The problem is the last day forecast is Nov 08 when I guess it should be Nov 18, or maybe it shouldn't be shown at all.

scott s.
.
Reply
#51
(2014-11-05, 23:37)scott967 Wrote: Have a problem on v3.0.1 running in Helix B1

When displaying the daily forecast panel in default confluence, the display is by day as follows:
Nov 05/06/07/08/09/10/11/12/13/14/15/16/17/08

The problem is the last day forecast is Nov 08 when I guess it should be Nov 18, or maybe it shouldn't be shown at all.

scott s.
.

yup, fixed it earlier today:
https://github.com/xbmc/xbmc/commit/aff8...034dd69b04
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
#52
Working with v3.0.3 in Helix B1 and my city is getting a script failed, if I change it to another city it works. My city is Braga, Portugal.

Thanks.
Reply
#53
(2014-12-02, 00:07)Morcegolas Wrote: Working with v3.0.3 in Helix B1 and my city is getting a script failed, if I change it to another city it works. My city is Braga, Portugal.

Thanks.

i just tried it and it works fine for me.
please post a Debug Log of the script error.
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
#54
I can get the current weather in helix rc2 (Windows) but none of the forecast works, or the map. I will post a log later today.
Reply
#55
(2014-12-05, 20:31)JPad Wrote: I can get the current weather in helix rc2 (Windows) but none of the forecast works, or the map. I will post a log later today.

yahoo weather does not provide any maps, nor extended weather info.
only a basic 5 day forecast will be available if you use this addon.

you're probably looking for openweathermap extended:
http://forum.kodi.tv/showthread.php?tid=207110
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
#56
@ronie, Thank you! I appreciate the guidance. I'll give the other add-on a go! I guess I would have never have thought it didn't support it since the menu items where there to select it....
Reply
#57
Is it possible to change the translated strings? I see "Partly Cloudy" translated wrong in hebrew and I'd like to change it.
Reply
#58
(2014-12-11, 19:30)ofek Wrote: Is it possible to change the translated strings? I see "Partly Cloudy" translated wrong in hebrew and I'd like to change it.

translations are handled by Kodi, not the addon.
see strings 371 & 374 of the Kodi language file.

for more info: http://forum.kodi.tv/showthread.php?tid=141158
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
#59
Oh, I see... well I guess its not as easy to fix as I thought... they translated it word by word and in hebrew you need to change the order of the words ><
Reply
#60
Received the following error on XBMC 13.2 with Yahoo Weather 2.0.4

Code:
00:20:18 T:4808   DEBUG: weather.yahoo: forecast data: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
                                                    <rss version="2.0" xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
                                                        <channel>
                                                    
                                            <title>Yahoo! Weather - xxxxxxxxxxxxxxxxxxxxxxxx</title>
                                            <link>xxxxxxxxxxxxxxxxxxxxxxxxxxx</link>
                                            <description>Yahoo! Weather for xxxxxxxxxxxxxxxx</description>
                                            <language>en-us</language>
                                            <lastBuildDate>xxxxxxxxxxxxxxxxxxx</lastBuildDate>
                                            <ttl>60</ttl>
                                            <yweather:location city="xxxxxxxxxxxxx" region="xxxxxxxxxx"   country="United States"/>
                                            <yweather:units temperature="C" distance="km" pressure="mb" speed="km/h"/>
                                            <yweather:wind chill="12"   direction="40"   speed="4.83" />
                                            <yweather:atmosphere humidity=""  visibility="16.09"  pressure="982.05"  rising="0" />
                                            <yweather:astronomy sunrise="7:13 am"   sunset="4:52 pm"/>
                                            <image>
                                            <title>Yahoo! Weather</title>
                                            <width>142</width>
                                            <height>18</height>
                                            <link>http://weather.yahoo.com</link>
                                            <url>http://l.yimg.com/a/i/brand/purplelogo//uh/us/news-wea.gif</url>
                                            </image>
                                            <item>
                                            <title>xxxxxxxxxxxxxxxxxxxxxxxxxxxx</title>
                                            <geo:lat>36.98</geo:lat>
                                            <geo:long>-122.03</geo:long>
                                            <link>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</link>
                                            <pubDate>xxxxxxxxxxxxxxxxxxxxxxxxx</pubDate>
                                            <yweather:condition  text="Cloudy"  code="26"  temp="12"  date="xxxxxxxxxxxxxxxxxxxxxx" />
                                            <description><![CDATA[
                                            <img src="http://l.yimg.com/a/i/us/we/52/26.gif"/><br />
                                            <b>Current Conditions:</b><br />
                                            Cloudy, 12 C<BR />
                                            <BR /><b>Forecast:</b><BR />
                                            Mon - Showers. High: 13 Low: 9<br />
                                            Tue - Heavy Rain. High: 14 Low: 9<br />
                                            Wed - Showers. High: 14 Low: 8<br />
                                            Thu - Partly Cloudy. High: 14 Low: 9<br />
                                            Fri - Showers. High: 15 Low: 10<br />
                                            <br />
                                            <a href="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</a><BR/><BR/>
                                            (provided by <a href="http://www.weather.com" >The Weather Channel</a>)<br/>
                                            ]]></description>
                                            <yweather:forecast day="Mon" date="15 Dec 2014" low="9" high="13" text="Showers" code="11" />
                                            <yweather:forecast day="Tue" date="16 Dec 2014" low="9" high="14" text="Heavy Rain" code="40" />
                                            <yweather:forecast day="Wed" date="17 Dec 2014" low="8" high="14" text="Showers" code="11" />
                                            <yweather:forecast day="Thu" date="18 Dec 2014" low="9" high="14" text="Partly Cloudy" code="30" />
                                            <yweather:forecast day="Fri" date="19 Dec 2014" low="10" high="15" text="Showers" code="11" />
                                            <guid isPermaLink="false">xxxxxxxxxxxxxxxxxxxxxxxxxxxxx</guid>
                                            </item>
                                            </channel>
                                            </rss>
                                            
                                            <!-- fe468.global.media.gq1.yahoo.com xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -->
00:20:18 T:4808   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 "C:\Users\HTPC\AppData\Roaming\XBMC\addons\weather.yahoo\default.py", line 212, in <module>
                                                forecast(location, locationid)
                                              File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\weather.yahoo\default.py", line 120, in forecast
                                                properties(query,loc)
                                              File "C:\Users\HTPC\AppData\Roaming\XBMC\addons\weather.yahoo\default.py", line 170, in properties
                                                set_property('Current.DewPoint'      , dewpoint(int(condition[0].attributes['temp'].value), int(atmosphere[0].attributes['humidity'].value)))
                                            ValueError: invalid literal for int() with base 10: ''
                                            -->End of Python script error report<--

Looks like the humidity value didn't get passed by Yahoo? Weird.
Reply
  •  Previous
  • 1
  • 2
  • 3
  • 4(current)
  • 5
  • 6
  • 22
  • Next 



Yahoo! Weather51