NextPVR Forums

Full Version: What is Causing this Error?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have been having problems with Weather2 plug-in. It doesn't automatically update like it should but does update when I force a Refresh.

The following was in the PVRX2.exe log.
[COLOR="Blue"]
2009-12-13 03:59:27.535 ERROR [12] Weather2: GetImage- key 'decreasing' not found in Dictionary weatherIcons
2009-12-13 03:59:27.805 ERROR [1] Unexpected error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
at weather2.WeatherTask.GetRenderList()
at GBPVRX2.MenuTask.x9006c1ed9ccb79de.GetRenderList()
at GBPVRX2.x0061b801bdf12d35.xdb012c437aec4a40(Boolean xd23bf32f3b17e3be)
at GBPVRX2.xb979ad394703258e.xfb409e85bd292293(String[] xf18a926310372520)
2009-12-13 03:59:50.890 ERROR [1] Weather2: GetImage- key 'unchanging' not found in Dictionary weatherIcons[/COLOR]

I use the Community-SD skin and am running Windows7-64 bit.
LewE Wrote:[COLOR="Blue"]
2009-12-13 03:59:27.535 ERROR [12] Weather2: GetImage- key 'decreasing' not found in Dictionary weatherIcons
This means that the file 'decreasing.png' is not found in the media/WeatherIcons directory. This is the arrow that will display for a falling barometric pressure. The wiki has a zip of these icons if you accidentally deleted them.

LewE Wrote:[COLOR="Blue"]2009-12-13 03:59:27.805 ERROR [1] Unexpected error: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.ArrayList.ArrayListEnumeratorSimple.MoveNext()
at weather2.WeatherTask.GetRenderList()
at GBPVRX2.MenuTask.x9006c1ed9ccb79de.GetRenderList()
at GBPVRX2.x0061b801bdf12d35.xdb012c437aec4a40(Boolean xd23bf32f3b17e3be)
at GBPVRX2.xb979ad394703258e.xfb409e85bd292293(String[] xf18a926310372520)
2009-12-13 03:59:50.890 ERROR [1] Weather2: GetImage- key 'unchanging' not found in Dictionary weatherIcons[/COLOR]
This is an error when you update when a radar or satellite map is being displayed. I don't believe it causes any problems, or at least I haven't found any.

Your probably not updating because I had some code in there to not update if a video is currently playing. I've made a change to the next version that will give you the option to update when a video is playing or not. I added this because the old version had it, and I think it was so people running on lower end machines wouldn't have background tasks running.
scb147 Wrote:This means that the file 'decreasing.png' is not found in the media/WeatherIcons directory. This is the arrow that will display for a falling barometric pressure. The wiki has a zip of these icons if you accidentally deleted them.
I downloaded the Weather2 Pressure Arrows.zip file. Now, how do I get them into the Weather Icons Dictionary?
It's just a zip file, so unzip them to the GBPVR/media/WeatherIcons directory.

Then you will need to restart PVRX2, so the Weather2 plugin can reinitialize that images in the GBPVR/media/WeatherIcons directory.