Results 1 to 10 of 10

Thread: UltraXMLTV Enhancer Index was out of range

  1. #1
    Join Date
    Mar 2007
    Posts
    24

    UltraXMLTV Enhancer Index was out of range

    Hi. I have run into this error a few times and was hoping somebody could point out where my problem is. I can install then enhancer, configure it and then run it for a week or two, but eventually it begins to give me an Error and will not complete the enhancement (attached is the UltraXMLTV enhancer log:

    "unhandeled exception has occured in your application....:
    "Index was out of range. Must be non-negative and les than the size of the collection"

    Here are the details of the windows error:
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
    at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
    at System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n()
    at System.Collections.Generic.List`1.get_Item(Int32 index)
    at UltraXMLTV_Enhancer.frmMain.DoEnhance()
    at UltraXMLTV_Enhancer.frmMain.btnXMLTV_Go_Click(Obje ct sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    UltraXMLTV_Enhancer
    Assembly Version: 2.0.3505.21771
    Win32 Version: 2.0.3505.21771
    CodeBase: file:///C:/Program%20Files/Devnz/GBPVR/EPG/UltraXMLTV_enhancer/UltraXMLTV_Enhancer.exe
    ----------------------------------------
    Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Runtime.Remoting
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Data.SQLite
    Assembly Version: 1.0.30.1
    Win32 Version: 1.0.30.1
    CodeBase: file:///C:/Program%20Files/Devnz/GBPVR/EPG/UltraXMLTV_enhancer/System.Data.SQLite.DLL
    ----------------------------------------
    System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    dj0_spd5
    Assembly Version: 2.0.3505.21771
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    dj1c4afd
    Assembly Version: 2.0.3505.21771
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    XmlTv
    Assembly Version: 1.0.0.2
    Win32 Version: 1.0.0.2
    CodeBase: file:///C:/Program%20Files/Devnz/GBPVR/EPG/UltraXMLTV_enhancer/XmlTv.DLL
    ----------------------------------------
    IsoCodes
    Assembly Version: 1.0.0.1
    Win32 Version: 1.0.0.1
    CodeBase: file:///C:/Program%20Files/Devnz/GBPVR/EPG/UltraXMLTV_enhancer/IsoCodes.DLL
    ----------------------------------------
    System.Security
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Security/2.0.0.0__b03f5f7f11d50a3a/System.Security.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    System.Web
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    ----------------------------------------
    Microsoft.VisualC
    Assembly Version: 8.0.0.0
    Win32 Version: 8.00.50727.3053
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualC/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualC.dll
    ----------------------------------------
    System.Data.SqlXml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Data.SqlXml/2.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll
    ----------------------------------------
    System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    ----------------------------------------
    8jtyacmk
    Assembly Version: 1.0.0.2
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.

  2. #2
    Join Date
    Mar 2009
    Location
    Portugal
    Posts
    176
    Have you checked your source epg file? If you say Ultra worked fine and then suddenly stopped working, the consistency of the source epg/xml would be my first spot to check.
    Zed (obviously) might be able to tell you more, but from the log, it seems UltraXMLTV tries to work (enhance) but doesn't find something that's expecting to be there (hence the "index out of range", and my suggestion about checking you epg)
    Last edited by Sykor; 2009-12-01 at 02:32 AM.

  3. #3
    Join Date
    Feb 2006
    Location
    Calgary, Alberta, Canada
    Posts
    5,105
    Index out of range is when there is a count of something and the current item is out of bounds. For example, you might have 0 of 0 items, and Ultra tries and look at the first one... (1 doesn't exist in 0 of 0)

    This happens when something is downloaded incorrectly.

    I would start by deleting the _SeriesID.txt file and trying Ultra again. It should download a new file and continue merrily
    Frank Z

    I used to ask 'why?' Now I just reinstall...
    ______________________________________________
    Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager;


  4. #4
    Join Date
    Mar 2007
    Posts
    24
    I initially deleted "_SeriesIDs.txt" and that did not work. So I then deleted all the .log and .txt files that are created in the folder and it has now replaced them and doing fine. To prevent this error, should I have it auto delete these files every week or is it a freak thing that will likely not happen again? Thanks again for the help. I really like the enhancer. Cheers

  5. #5
    Join Date
    Feb 2006
    Location
    Calgary, Alberta, Canada
    Posts
    5,105
    Quote Originally Posted by yofive View Post
    I initially deleted "_SeriesIDs.txt" and that did not work. So I then deleted all the .log and .txt files that are created in the folder and it has now replaced them and doing fine. To prevent this error, should I have it auto delete these files every week or is it a freak thing that will likely not happen again? Thanks again for the help. I really like the enhancer. Cheers
    I must admit that I would like to be able to trap this error and allow for a resume, but it doesn't happen often enough for me to get a handle on what's happening, and I don't want to spend too much time looking...
    Frank Z

    I used to ask 'why?' Now I just reinstall...
    ______________________________________________
    Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager;


  6. #6
    Join Date
    Mar 2007
    Posts
    24
    no worries. it is now working. Thanks again.

  7. #7
    Join Date
    Nov 2006
    Location
    Pennsylvania, USA
    Posts
    809
    I'm now getting this exact exception as well, and it's hanging up my UpdateEPG.bat from completing...

    I've tried deleting the _SeriesIDs.txt, same exception.
    I then tried deleting all the things as mentioned before, same exception.

  8. #8
    Join Date
    Feb 2006
    Location
    Calgary, Alberta, Canada
    Posts
    5,105
    Quote Originally Posted by scb147 View Post
    I'm now getting this exact exception as well, and it's hanging up my UpdateEPG.bat from completing...

    I've tried deleting the _SeriesIDs.txt, same exception.
    I then tried deleting all the things as mentioned before, same exception.
    Many times, this is because Ultra can't cope with a certain intermittent anomaly. How's it going now?
    Frank Z

    I used to ask 'why?' Now I just reinstall...
    ______________________________________________
    Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager;


  9. #9
    Join Date
    Mar 2007
    Posts
    24
    I am manually deleting the files every day. takes more time to do the enhance, but now works without hanging. I think it is because I disabled the * on new show detection, but am not sure. thanks again for the help.

  10. #10
    I had this same problem today and I fixed it by downloading the latest version of mc2xml. deleting the txt file didn't work.

Posting Permissions

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