OpenWeatherMap Extended
DEPRECATED! (see
https://forum.kodi.tv/showthread.php?tid...pid2764716)
PLEASE USE THEĀ
WEATHERBIT.IO ADDON INSTEAD.
If you have issues with this addon, please please (with sugar on top) post a Debug Log!
1 enable debug logging in kodi
2 enable logging in the openweathermap addon settings
3 restart kodi
4 go to the weather window
5 wait a few minutes
6 post the entire kodi.log file on http://paste.ubuntu.com/
Here are some screenshots to give you an idea on what's available...
Current Forecast and daily forecast up to 14 days:
36Hour (Today-Tonight-Tomorrow) forecast:
Weekend forecast:
3-Hourly forecast for the next 2 days:
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<--
just test on my Helix Alpha 4, Win 7 System.
Works perfect! Maps looking good..
Thanks for the graet job....
Hi ronie,
do you have stats how many users used wunderground?
i ask because free usage of open weathermap is limited to 3000 hits per hour or 4 000 000 hits per day.
http://openweathermap.org/price
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!
(2014-10-24, 13:28)Bitboy Wrote: [ -> ]Hi ronie,
do you have stats how many users used wunderground?
i ask because free usage of open weathermap is limited to 3000 hits per hour or 4 000 000 hits per day.
http://openweathermap.org/price
you mean 3000 per minute ;-)
with wunderground, we were close to 2 million calls a day at one point.
we manged to lower it to 1.5 million by disabling the addon by default and
making sure it didn't run on older xbmc installs anymore.
(2014-10-24, 01:26)Dilligaf Wrote: [ -> ]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<--
cool, exactly the kind of bug i'm interested in.
fixed in:
weather.openweathermap.extended-0.0.2.zip
Bug when changing location ??
Not sure if this is a general Kodi bug or an OpenWeatherMap bug, but it's with the weather addon I can replicate it so......
Helix 14 Alpha 5 built from git source today. OpenWeatherMap v 0.0.2, Confluence 2.5.4, OS - Ubuntu 14.04
Kodi is installed to a local directory, not system-wide and is running in portable mode.
Expected behaviour - When using the left blade to change locations (I have two), clicking on the up icon when showing the second location would wrap-around to the first location.
Actual behaviour - Kodi segfaults with a "AccessInit: hash collision: 3 for both 1 and 1" message in the terminal window.
Crashlog -
http://pastebin.com/Gr0L5Scu
Debug log -
http://pastebin.com/XA5iMeXD
@
ronie, if its a general Kodi bug, I'll report it as such, but figured I would start here as I can reproduce it each time with this addon.
Ahh, OK. Having corrected that, issue still applies.
Quote:xbmc@Diamond:~/kodi$ ./bin/kodi -p
AccessInit: hash collision: 3 for both 1 and 1
Segmentation fault (core dumped)
Crash report available at /home/xbmc/kodi_crashlog-20141025_211756.log
debug log -
http://pastebin.com/AZ6N16jb
Assuming if this is cross-addon that it's actually a bug in Kodi, as opposed to an addon.
Hi ronie.
This is amazing news!
Thanks a bunch for working so fast
I will test this out with Rapier as soon as possible!
Cheers
(2014-10-25, 22:32)black_eagle Wrote: [ -> ]Assuming if this is cross-addon that it's actually a bug in Kodi, as opposed to an addon.
yeah, most likely.
i can't reproduce it though, running todays built on linux.
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
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<--