The plugin seems to work sometimes, and spit errors at me _most_ times.
When it errrors i get "No locations specified" in freevo, and the console says
the following..
ERROR parsing forecast data for 'ASXX0222'
This could indicate a failed download of weather data from msnbc. You
can confirm this by examining the contents of the file
'/var/cache/freevo/weather_ASXX0222/data'. Below is also the traceback
indicating where we discovered the problem with the weather file. If the
weather file appears intact, please report this to the
'[email protected]'
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/freevo/plugins/weather.py", line 317,
in getForecast
self.convertWeatherData()
File "/usr/lib/python2.3/site-packages/freevo/plugins/weather.py", line 501,
in convertWeatherData
self.setWeatherIcon( )
File "/usr/lib/python2.3/site-packages/freevo/plugins/weather.py", line 509,
in setWeatherIcon
match = weatherTypes.findType( name=self.shortdesc )
File "/usr/lib/python2.3/site-packages/freevo/plugins/weather.py", line 605,
in findType
raise Exception, "unknown type requested in WeatherTypesClass::findType()"
Exception: unknown type requested in WeatherTypesClass::findType()
The contents of the data file are as follows:
[EMAIL PROTECTED]@^M
function makeWeatherObj() {^M
^M
this.swCity = "Coolangatta Airport";^M
this.swSubDiv = "";^M
this.swCountry = "Australia";^M
this.swRegion = "Australia/New Zealand";^M
this.swTemp = "50";^M
this.swTempCel = Math.round((5/9)*(this.swTemp-32));^M
this.swCIcon = "";^M
this.swWindS = "5";^M
this.swWindD = "SSW";^M
this.swBaro = "30.26";^M
this.swHumid = "92";^M
this.swReal = "50";^M
this.swUV = "";^M
this.swVis = "";^M
this.swLastUp = "07/06/2005 15:00:00";^M
this.swConText = "";^M
this.swFore =
"4|5|6|7|1|07/06/2005|07/07/2005|07/08/2005|07/09/2005|07
/10/2005|32|30|39|39|30|24|4|29|67|4|72|72|71|66|67|0|0|30|40|0|31|29|11|29|27|11|42|14|4|3|55|
57|55|46|54|";^M
^M
this.swAcid = "ASXX0222";^M
}q^A.
Any help would be appreciated.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users