Results 1 to 4 of 4

Thread: What is Causing this Error?

  1. #1
    Join Date
    Oct 2007
    Location
    Southern California, US
    Posts
    769

    What is Causing this Error?

    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.

    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.ArrayListEnumeratorSi mple.MoveNext()
    at weather2.WeatherTask.GetRenderList()
    at GBPVRX2.MenuTask.x9006c1ed9ccb79de.GetRenderList()
    at GBPVRX2.x0061b801bdf12d35.xdb012c437aec4a40(Boolea n 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


    I use the Community-SD skin and am running Windows7-64 bit.

  2. #2
    Join Date
    Nov 2006
    Location
    Pennsylvania, USA
    Posts
    809
    Quote Originally Posted by LewE View Post
    [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.

    Quote Originally Posted by LewE View Post
    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.ArrayListEnumeratorSi mple.MoveNext()
    at weather2.WeatherTask.GetRenderList()
    at GBPVRX2.MenuTask.x9006c1ed9ccb79de.GetRenderList()
    at GBPVRX2.x0061b801bdf12d35.xdb012c437aec4a40(Boolea n 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
    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.

  3. #3
    Join Date
    Oct 2007
    Location
    Southern California, US
    Posts
    769
    Quote Originally Posted by scb147 View Post
    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?

  4. #4
    Join Date
    Nov 2006
    Location
    Pennsylvania, USA
    Posts
    809
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •