Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Argument out of range exception: Length cannot be less than zero

  1. #1
    Join Date
    Apr 2006
    Location
    Colorado
    Posts
    7

    Argument out of range exception: Length cannot be less than zero

    Hello,
    I'm new to gbpvr, but I'm fairly technical. I'm getting the following exception in the PVRX2.exe.log:

    2010-03-31 16:50:47.031 ERROR [3] FATAL UNHANDLED EXCEPTION:: System.ArgumentOutOfRangeException: Length cannot be less than zero.
    Parameter name: length
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at weather2.AccuweatherXML.ParseLocationCodes()
    at weather2.AccuweatherXML.ParseWeatherXML()
    at weather2.WeatherTask.UpdateWeatherThread()
    at System.Threading.ThreadHelper.ThreadStart_Context( Object state)
    at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
    at System.Threading.ThreadHelper.ThreadStart()


    Anyone seen this? I'm poking with various settings trying to figure out which is causing this. It worked successfully for a day, but is aborting today.

    This is preceded by several messages "Unable to find requested skin image: ", but happens with both Blue and Slick skins. Any relevant suggestions would be appreciated.

    Weather 2 version 1.1.03
    Running on XP SP3.

    Rich

  2. #2
    Join Date
    Oct 2006
    Location
    Hamilton New Zealand
    Posts
    4,957
    remove weather then what happens

  3. #3
    Join Date
    Apr 2006
    Location
    Colorado
    Posts
    7
    When I uncheck the plugin for weather 2, life is good...hence the post on this forum.

  4. #4
    Join Date
    Apr 2006
    Location
    Colorado
    Posts
    7
    Sorry..that was a curt response. Is that what you meant or should I reconfigure the settings for my location or something?

  5. #5
    Join Date
    Oct 2006
    Location
    Hamilton New Zealand
    Posts
    4,957
    just making sure it was the weather plugin in causing the issue
    you didnt say you had done that

  6. #6
    Join Date
    Jul 2007
    Location
    USA
    Posts
    135

    Me too

    Just started seeing this error today. Did something change in the Accuweather data feed, maybe? had to disable Weather2 to get a usable setup.
    -Leaded1
    Server - AMD 6 Core windows 10 with Hauppage WINTV-PVR2 USB2, HDHomerun Dual, and WINTV-HVR 1600 tuners | Clients -PCH A-100 and iOS

  7. #7
    Join Date
    Sep 2009
    Location
    USA
    Posts
    62
    I came home to the same situation today. I had to uninstall Weather2 as I couldn't get it to stay disabled in Config. Same error in the logs as well. Bummer, because it was a useful app
    GB-PVR 1.4.7|Antec Fusion Black iMon LCD|Gigabyte GA-MA78LM-S2H|AMD Athlon II X2 240 Regor 2.8GHz|Asus 8400 GS 512MB|2GB Mushkin DDR2 SDRAM DDR2 1066 RAM|Western Digital WD-3200AAVS 320GB|Hauppauge PVR-150 & PVR-250|Windows 7 Home Premium

  8. #8
    Join Date
    Oct 2007
    Location
    Southern California, US
    Posts
    769
    I had the same problem, with PVRX2 crashing until I unchecked Weather2 in the Plug-ins list in CONFIG. I was going to post it along with my zip code thinking it might just be with the data for my area. I can see from the variety of locations where people are posting this problem that it isn't zip code related.

    Hopefully, it is something that can easily be fixed. I don't like going withouit this plug-in.

  9. #9
    Join Date
    Feb 2009
    Location
    Upper Peninsula Michigan, USA
    Posts
    875
    It was crashing GBPVR to desktop during update during video playback. I unchecked that in config, and tried to open Weather2 in PVRX2, and it still crashes it to desktop. I am suspecting Accuweather changed something. What a bummer.
    Gigabyte GA-EP45-UD3R, Win8, Core 2 Duo E8400 3.0GHz, 6 GB (2GBx2, 1GBx2) DDR2 800, GIGABYTE GV-N220OC-1GI Video, CM Real Power Pro 550 Watt PS, HVR-2250 & HVR-1600 analog/Clear QAM, Realtek S/PDIF, Harmony 880 in MCE remote mode w/ Gestion LM Remote Keymap.
    NPVR 2.5.9 (SAF6) Cyberlink video & LAV/ffdshow Audio Filters. Skin=Default Horizontal
    Plugins: Weather
    External Apps: XBMC, Hulu, Boxee, Winamp
    Utilities:Comskip

  10. #10
    Join Date
    Nov 2006
    Location
    Pennsylvania, USA
    Posts
    809
    Accuweather changed a URL within an XML tag.

    I will get a release out to fix this, and some other stuff, either today or tomorrow.

Posting Permissions

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