• 1
  • 2(current)
  • 3
  • 4
  • 5
  • 42
Broken OpenWeatherMap Extended
#16
(2014-10-26, 12:53)im85288 Wrote: 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<--

please paste the entire debug logfile to xbmclogs.com
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
#17
(2014-10-26, 15:25)ronie Wrote: please paste the entire debug logfile to xbmclogs.com

Sure no problem, here is the link: http://xbmclogs.com/show.php?id=330116
Reply
#18
(2014-10-26, 21:14)im85288 Wrote:
(2014-10-26, 15:25)ronie Wrote: please paste the entire debug logfile to xbmclogs.com

Sure no problem, here is the link: http://xbmclogs.com/show.php?id=330116

that's not a Debug Log ;-)
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
#19
Whoops Sad http://xbmclogs.com/show.php?id=330402
Reply
#20
(2014-10-26, 23:26)im85288 Wrote: Whoops Sad http://xbmclogs.com/show.php?id=330402

thx!
should be fixed in: weather.openweathermap.extended-0.0.3.zip
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
#21
Im testing this on a vm windows install.


1) When in weather Hit refresh on side menu kodi just dies most of the time.
2) When in weather, side menu goto addon settings and come back kodi just dies most of the time.
3) You cannot get most locations right, Gotham for e.g there's several around the world, none show up anymore only Notingham, Entering locations doesn't bring alternatives to one location when more exist and also kodi just dies.
4) When in weather, side menu goto addon settings reselect one of the existing locations kodi just dies most of the time.

Aside from that works pretty well if you leave it alone.

By dies I mean kodi just exists and you need to restart it, hardy a crash as theres no erros just poof gone.

I put kodi into debug and enabled logging in addon


http://pastebin.com/p5tZNRJx
http://pastebin.com/kTCETWmZ
http://pastebin.com/wEr1W2uv
crash dump miracle catching this.
http://www.filedropper.com/xbmccrashlog-...027-192419
Reply
#22
(2014-10-27, 03:17)ronie Wrote:
(2014-10-26, 23:26)im85288 Wrote: Whoops Sad http://xbmclogs.com/show.php?id=330402

thx!
should be fixed in: weather.openweathermap.extended-0.0.3.zip

Great, working fine now thanks.

One little thing I noticed is the headings are not showing for Map 3 and Map 5. I delved in a bit and found this:

set_property('Map.3.Heading', xbmc.getLocalizedString(1375))
set_property('Map.5.Heading', xbmc.getLocalizedString(1376))

Are 1375 and 1376 new language params as I could not find them in my version of Kodi.

Also is it possible to get the image back with the layer and legend already applied so that it can be viewed fullscreen as one picture using ShowPicture(ListItem.Icon) ?

Thanks.
Reply
#23
@ im85288 you aren't running confluence skin 2.5.4 as required, your running skin.1080xf.mb3 and the labels missing is liekly not the addon fault but the lack of support in that skin.
Reply
#24
(2014-10-27, 18:55)im85288 Wrote:
(2014-10-27, 03:17)ronie Wrote:
(2014-10-26, 23:26)im85288 Wrote: Whoops Sad http://xbmclogs.com/show.php?id=330402

thx!
should be fixed in: weather.openweathermap.extended-0.0.3.zip

Great, working fine now thanks.

One little thing I noticed is the headings are not showing for Map 3 and Map 5. I delved in a bit and found this:

set_property('Map.3.Heading', xbmc.getLocalizedString(1375))
set_property('Map.5.Heading', xbmc.getLocalizedString(1376))

Are 1375 and 1376 new language params as I could not find them in my version of Kodi.
correct, please ignore that for now.
you'll need a very recent nightly built of kodi for that, those strings were added yesterday.
(2014-10-27, 18:55)im85288 Wrote: Also is it possible to get the image back with the layer and legend already applied so that it can be viewed fullscreen as one picture using ShowPicture(ListItem.Icon) ?
it would require some PIL magic to merge the three individual images into one.
it's not something that's high on my priority list.
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
#25
Great thanks for the info, I'll install a new nightly for the strings and cross my fingers for the magic one day Smile

(2014-10-27, 19:13)uNiversal Wrote: @ im85288 you aren't running confluence skin 2.5.4 as required, your running skin.1080xf.mb3 and the labels missing is liekly not the addon fault but the lack of support in that skin.

Thanks, I did check the confluence addon in case they were in there, but as confirmed they are new default strings for kodi.
Reply
#26
(2014-10-27, 12:11)uNiversal Wrote: 1) When in weather Hit refresh on side menu kodi just dies most of the time.
2) When in weather, side menu goto addon settings and come back kodi just dies most of the time.
3) You cannot get most locations right, Gotham for e.g there's several around the world, none show up anymore only Notingham, Entering locations doesn't bring alternatives to one location when more exist and also kodi just dies.
4) When in weather, side menu goto addon settings reselect one of the existing locations kodi just dies most of the time.

k, so it's crashing kodi all over the place.
i can't reproduce this, at least not on linux, which makes it impossible to narrow down the cause.
i'll try the addon on something window-ish later this week.

as for searching locations, you can add a country code to the search string.
for instance: gotham, us
this will help in some occasions.
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
#27
I normally dont use windows, except for testing random things not connected to playback. I will grab the skin 2.5.4 and change its id so I can run it as a second skin instead which will enable me to test the weather addon in my normal setup.

Re: the weather locations, this was never required in in wu and yahoo weather (even though they differ already the way they behave on these addons) as the varied locations for same name always come up in the list. Personally I would prefer that behaviour but for a one time setup its not really such a big deal to enter a country after the locale.

i will try the above and report back with any logs.

And btw thx for this addon, it does indeed look like a good replacement for wu and indeed a much better alternative then whatever remains.
Reply
#28
Hello.. I tried this addon and noticed in 14 days forecast last entry is (that is 14th day) is not correct.. like today i can see 28th Oct to 9th Nov and then the last entry is actually 31st Oct.

Also question/confirmation? (mind me i am noobie and just started using rasp pi and raspbmc) is it normal behaviour when going left side to settings... options are automatically chosen when hovering over and not by clicking them ? (sometimes for me its pain when raspbmc is lagging ie. mouse movements are not smooth and have to return to settings many times to have the correct forecast chosen..)

Also good work on this addon.. only working Weather addon i could get working was yahoo addon but this is already so far way better and offers more info!

(Tested on latest Gotham (raspbmc).. OpenWeatherMap 0.0.3)
Reply
#29
Some of my temperatures are a bit funky !!

Would be rather cold it if really did feel 18°F. Happens to all the 'feels like' temps in the hourly view.

Image

Day time is OK in this view, but night time is wrong.

Image

All the other views work fine.
Learning Linux the hard way !!
Reply
#30
Many thanks for this add-on ronie. A small issue that I picked up.
The zoom does not seem to work correctly i.e. when set at a zoom of 5 the map is zoomed but the precipitation overlay is not zoomed, it looks identical when not zoomed at all.
I am using the Transparency skin which I doubt is the problem.
Reply
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 42

Logout Mark Read Team Forum Stats Members Help
OpenWeatherMap Extended2