(2012-05-31, 14:35)bossanova808 Wrote: I am about to commit and then request a pull of a new version...once they look at it it will make its way out to the wide world...
V0.3.8
- Only import PIL if extended features are activated (means on platforms like Crystalbuntu without PIL you can still get BOM weather data at least without having to edit any code)
- some radars (e.g. IDR072) - were not on the ftp server, they now get pulled in by http if they're available that way (thanks youngman!)
- backgrounds are refreshed every 24 hours to pick up any changes at the BOM
Still getting PIL Errors...
19:55:39 T:2694138768 INFO: -->Python script returned the following error<--
19:55:39 T:2694138768 ERROR: Error Type: <type 'exceptions.ImportError'>
19:55:39 T:2694138768 ERROR: Error Contents: No module named PIL
19:55:39 T:2694138768 ERROR: Traceback (most recent call last):
File "/root/.xbmc/addons/weather.ozweather/default.py", line 613, in <module>
forecast(location, radar)
File "/root/.xbmc/addons/weather.ozweather/default.py", line 223, in forecast
buildImages(radarCode)
File "/root/.xbmc/addons/weather.ozweather/default.py", line 344, in buildImages
prepareBackgrounds(radarCode)
File "/root/.xbmc/addons/weather.ozweather/default.py", line 312, in prepareBackgrounds
downloadBackground(radarCode, "IDR.legend.0.png")
File "/root/.xbmc/addons/weather.ozweather/default.py", line 247, in downloadBackground
from PIL import Image
ImportError: No module named PIL
19:55:39 T:2694138768 INFO: -->End of Python script error report<--
I'm going back to the previous default.py script where I only had to remove line 24 to get the PlugIn to work....