[RELEASE] Weather Underground (default xbmc weather addon)

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #101
(2012-04-12 00:03)ialand Wrote:  if connects just fine for everything else - streaming, scraping, time Smile etc... doing it on all skins I'll clean things up and get a log.

addendum: well it's not a full log, but this barfs into it every time it fails...

Code:
14:40:43 T:2755369840  NOTICE: -->Python Interpreter Initialized<--
14:40:50 T:2755369840   ERROR: Error Type: <type 'exceptions.TypeError'>
14:40:50 T:2755369840   ERROR: Error Contents: unsupported operand type(s) for +: 'int' and 'unicode'
14:40:50 T:2755369840   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/weather.wunderground/default.py", line 564, in <module>
                                                forecast(location)
                                              File "/home/xbmc/.xbmc/addons/weather.wunderground/default.py", line 180, in forecast
                                                properties(data)
                                              File "/home/xbmc/.xbmc/addons/weather.wunderground/default.py", line 249, in properties
                                                set_property('Current.HeatIndex'     , data['current_observation']['heat_index_f'] + TEMPUNIT)
                                            TypeError: unsupported operand type(s) for +: 'int' and 'unicode'
14:40:50 T:3017127696   ERROR: Control 402 in window 10107 has been asked to focus, but it can't

I'll do a clean one later if this doesn't point to the problem.
hehe, noticed that one myself a few days ago :-)
will be fixed in v0.1.2

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #102
this one should fix all issues reported so far:
weather.wunderground-0.1.2

please test and let me know if you spot any bugs :-)

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
pkscuot Offline
Fan
Posts: 604
Joined: Jan 2011
Reputation: 11
Location: Honolulu, HI
Post: #103
I've updated the Confluence test files to account for the fact that all the percent signs are now included with the info label. You can get the updated files here.
find quote
nessus Offline
Skilled Skinner
Posts: 588
Joined: Apr 2009
Reputation: 12
Location: Rodos, Greece
Post: #104
[Image: 10ft6oo.jpg]

Yes. All the labels are working fine.

The only part that remains now to make this addon perfect replacement for weather+ is the full support for maps and video.

Cheers
Nessus
find quote
pkscuot Offline
Fan
Posts: 604
Joined: Jan 2011
Reputation: 11
Location: Honolulu, HI
Post: #105
(2012-04-16 19:39)nessus Wrote:  The only part that remains now to make this addon perfect replacement for weather+ is the full support for maps and video.

Weather+ was, I believe, just screenscrapping weather.com to get maps and video. That meant a great deal of maintenance, as you have to update the screen scrapper every time the web site changes. You can get a map (yes, map singular) for the US based on your region. Right now I suspect that's all we're going to get.

Speaking of the map, I've having an odd issue that I was hoping someone could try and duplicate. The original map from wunderground is an animated gif, and ronie splits that up into individual png files so that the skin can display them as a slideshow. That all seems to work, but very frequently my map displays the images out of order (I'm using the hacked confluence files I created for testing). I checked the debug log, and there is nothing in there indicating an issue, and the individual png files are definitely in the right order. Here's the chuck of the skin file that creates the map:
Code:
<control type="multiimage">
    <description>maps multiimage</description>
    <posx>15</posx>
    <posy>80</posy>
    <width>620</width>
    <height>349</height>
    <imagepath>$INFO[Window.Property(MapPath)]</imagepath>
    <timeperimage>500</timeperimage>
    <pauseatend>1000</pauseatend>
    <fadetime>0</fadetime>
    <randomize>false</randomize>
    <loop>yes</loop>
    <aspectratio>keep</aspectratio>
</control>

Seems like to me it should be showing them in the correct order...
find quote
friedfarmer Offline
Junior Member
Posts: 28
Joined: Aug 2011
Reputation: 1
Post: #106
ronie, I'm only getting 4 day weather forecast with v0.1.2, only options in context menu are city and refresh.
using skin "T" SVN. Is that normal?
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #107
(2012-04-17 01:12)friedfarmer Wrote:  ronie, I'm only getting 4 day weather forecast with v0.1.2, only options in context menu are city and refresh.
using skin "T" SVN. Is that normal?

yes, there's no support in T! for the extended features yet.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
jawilljr Offline
Senior Member
Posts: 164
Joined: Jan 2010
Reputation: 5
Post: #108
(2012-04-17 01:13)ronie Wrote:  
(2012-04-17 01:12)friedfarmer Wrote:  ronie, I'm only getting 4 day weather forecast with v0.1.2, only options in context menu are city and refresh.
using skin "T" SVN. Is that normal?

yes, there's no support in T! for the extended features yet.

I'm using Confluence and I'm not getting 7 day weather forecast with 0.1.2 either.

Jerry
find quote
ronie Offline
Team-XBMC Member
Posts: 8,263
Joined: Jan 2009
Reputation: 108
Post: #109
(2012-04-17 01:53)jawilljr Wrote:  
(2012-04-17 01:13)ronie Wrote:  
(2012-04-17 01:12)friedfarmer Wrote:  ronie, I'm only getting 4 day weather forecast with v0.1.2, only options in context menu are city and refresh.
using skin "T" SVN. Is that normal?

yes, there's no support in T! for the extended features yet.

I'm using Confluence and I'm not getting 7 day weather forecast with 0.1.2 either.

Jerry
you need to install the confluence mod:
Confluence_new_weather.zip

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
dallasnights Offline
Fan
Posts: 515
Joined: Jan 2011
Reputation: 0
Post: #110
where do you put the confluence new weather mod on an ATV
find quote
Post Reply