Posts: 15,282
Joined: Jan 2009
Reputation:
739
ronie
Team-Kodi Member
Posts: 15,282
looks like you haven't properly selected any locations.
you need to configure them on the 'location setup' tab.
perhaps you've used the 'expert' tab instead, which won't work.
Posts: 103
Joined: Dec 2013
Reputation:
6
lharms
Senior Member
Posts: 103
Hello, I was wondering what is the rules for this addon to remove things from the maps directory? Is it size limited, or time, or no purge?
Posts: 93
Joined: Mar 2015
Reputation:
0
Why are never purged? They are used in other moment?
I saw that I had +500MB of files in the different subfolders of maps. I add a crontab line to purge, every night, the +24 hours files. This can do some problem? Because i can't understand why the script stores all this maps from 2 months ago.
Posts: 93
Joined: Mar 2015
Reputation:
0
2016-06-05, 10:46
(This post was last modified: 2016-06-07, 12:01 by Julipo.)
I don't know if i mistake the addon (and I'm writtring in other addon thread) or I'm missundestanding something with "only the streetmap", but I have all the downloads since I installed the addon in these folders:
script.openweathermap.maps/maps/cloudsmap
script.openweathermap.maps/maps/precipmap
script.openweathermap.maps/maps/pressuremap
script.openweathermap.maps/maps/tempmap
script.openweathermap.maps/maps/windmap
Every folder have this content, supose cloudsmap:
1.png
2.png
3.png
4.png
5.png
6.png
7.png
8.png
9.png
cloudsmap-1464904498.png
cloudsmap-1464906303.png
...
It has one "type-timesamp.png" file every 1800 seconds. These files is that I need to delete with the crontab and what take +500 MB.
There is one final folder:
streetmap-{hash}
That only contains:
1.png 2.png 3.png 4.png 5.png 6.png 7.png 8.png 9.png streetmap.png
It doesn't have the format "type-timestamp.png"
So the only folder that is not growing is just the streetmap folder.
Is possible that I need to configure something that I miss?
Posts: 93
Joined: Mar 2015
Reputation:
0
Kodi need to be run in debug mode? (I don't see nothing in Info mode)
¿What interval you need? ¿1800 seconds to see what happens between executions?
Posts: 256
Joined: Dec 2009
Reputation:
1
Hi there's a localization issue with the german translation. English string is "Broken Clouds" and german version has "Defekt Wolken" (which means technically broken and is funny but wrong). A better translation would be "Leicht bewölkt" which means something like "lightly cloudy". I could not find the localization for this on GitHub. Could someone go ahead and improve the localization?
Broken means defekt but it's the wrong context here. Defekt means defective / faulty.
Posts: 979
Joined: Sep 2013
Hi ronie,
Someone posted a log on the TvTunes forum:
http://forum.kodi.tv/showthread.php?tid=...pid2359243
I noticed there was a "weather.openweathermap" script error in there, so thought I'd post here in case it is of any help:
Code:
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: ('deg',)
Traceback (most recent call last):
File "/Users/MjW/Library/Application Support/Kodi/addons/weather.openweathermap/default.py", line 630, in <module>
forecast(location, locationid)
File "/Users/MjW/Library/Application Support/Kodi/addons/weather.openweathermap/default.py", line 191, in forecast
properties(now,fc,hd,loc)
File "/Users/MjW/Library/Application Support/Kodi/addons/weather.openweathermap/default.py", line 344, in properties
set_property('Current.WindUserUnit' , xbmc.getLocalizedString(434) % (winddir(now['wind']['deg'], 1), convert_unit(2, now['wind']['speed'], SPEEDUNIT), SPEEDUNIT))
KeyError: ('deg',)
-->End of Python script error report<--
(I believe they are running on MacOS, in case that helps)
Thanks
Rob
Posts: 15,282
Joined: Jan 2009
Reputation:
739
ronie
Team-Kodi Member
Posts: 15,282
thanx rob :-)
i need the full log though, which isn't available anymore, as it seems.