[FIXED] Error during the install of the patch to v.2.1.1 (1 Viewer)

fischy667

Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    958
    283
    41
    Rostock
    Home Country
    Germany Germany
    I get an error during the install of the patch to v.2.1.1
    [HIDE]Informationen über das Aufrufen von JIT-Debuggen
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

    ************** Ausnahmetext **************
    System.Xml.XmlException: Unerwartetes Dateiende. Die folgenden Elemente wurden nicht geschlossen: window. Zeile 68, Position 9.
    bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
    bei System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
    bei System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String arg)
    bei System.Xml.XmlTextReaderImpl.ThrowUnclosedElements()
    bei System.Xml.XmlTextReaderImpl.ParseEndElement()
    bei System.Xml.XmlTextReaderImpl.ParseElementContent()
    bei System.Xml.XmlTextReaderImpl.Read()
    bei System.Xml.XmlTextReader.Read()
    bei SMPCheckSum.CheckSum.readChksum(String xmlFileName)
    bei SMPCheckSum.CheckSum.Compare(String xmlFileName)
    bei SMPpatch.SMPpatch.copyDirectory(String patchSource, String patchDestination)
    bei SMPpatch.SMPpatch.copyDirectory(String patchSource, String patchDestination)
    bei SMPpatch.SMPpatch.checkAndCopy(String destinationPath)
    bei SMPpatch.SMPpatch.installZip(patchFile thePatch)
    bei SMPpatch.SMPpatch.installPatch(patchFile thePatch)
    bei SMPpatch.SMPpatch.installThePatches()
    bei SMPpatch.SMPpatch.btInstallPatch_Click(Object sender, EventArgs e)
    bei System.Windows.Forms.Control.OnClick(EventArgs e)
    bei System.Windows.Forms.Button.OnClick(EventArgs e)
    bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    bei System.Windows.Forms.Control.WndProc(Message& m)
    bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
    bei System.Windows.Forms.Button.WndProc(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Geladene Assemblys **************
    mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    ----------------------------------------
    SMPpatch
    Assembly-Version: 2.1.1.3353.
    Win32-Version: 2.1.1.3353.
    CodeBase: file:///C:/Users/Gunnar/Desktop/SMPpatch-r3353.exe.
    ----------------------------------------
    System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5468 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
    ----------------------------------------
    System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
    ----------------------------------------
    System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5467 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    ----------------------------------------
    System.Xml
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll.
    ----------------------------------------
    System.XML.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.resources/2.0.0.0_de_b77a5c561934e089/System.Xml.resources.dll.
    ----------------------------------------
    System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5420 (Win7SP1.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
    ----------------------------------------
    mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5466 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    ----------------------------------------

    ************** JIT-Debuggen **************
    Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
    Konfigurationsdatei der Anwendung oder des Computers
    (machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
    Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

    Zum Beispiel:

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

    Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
    Ausnahmen an den JIT-Debugger gesendet, der auf dem
    Computer registriert ist, und nicht in diesem Dialogfeld behandelt.[/HIDE]
    The new exe´s and dll´s are installing without any problem, but during the installationof SkinUpdate.zip the error pops up and the version number doesn`t change.

    Thanks
    fischy667

    System: Windows 7x64

    Update: I took now the SkinUpdate.zip from google code and copied it manually to the folder. But why is the patch not installing correctly?
     

    Attachments

    • Bild 002.png
      Bild 002.png
      142.1 KB
    • Bild 001.png
      Bild 001.png
      103 KB
    Last edited by a moderator:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I get an error during the install of the patch to v.2.1.1

    The new exe´s and dll´s are installing without any problem, but during the installation of SkinUpdate.zip the error pops up and the version number doesn`t change.
    It's failing when reading your skin xml files and adding checksums, that error might be occurring because the xml is corrupt e.g. bad syntax. Have you by any chance installed 3rd party skin files or modified your skin files in any way?

    It still shouldn't crap out like that so will take a look at preventing error.

    I'm not sure what file, but one of the bad files has an error on Line 68.
     
    Last edited:

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    958
    283
    41
    Rostock
    Home Country
    Germany Germany
    Yes, I have modified same skin files. But I put all modified files in a theme folder.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    If you zip up the xml files in your main skin directory I can take a look and see if I can spot which one caused the error. Shouldn't be a problem on theme files as we dont touch them (at least not intentional).

    Only do this if you run the patch again and see the same error as it may already be fixed from patch zip file.

    Note: because you manually installed the patch from the zip you may have a problem executing the next patch as it will skip over files which doesnt have the correct checksum, which is the case for the files in the zip as we only set it during install/patch time.
     
    Last edited:

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    958
    283
    41
    Rostock
    Home Country
    Germany Germany
    Ok, thanks, but I found out myself. The only modified file which was not in the theme folder is BasicHome.xml because I hat some problems with it in the theme folder.
    I created a new BasicHome (with the basichome editor) and now the update was installed without any problem.

    So, now I tried again with my basichome in the themes folder, copied some more files into it and now it seems to work.

    Thanks.
     
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Cool fischy667, do you know what in particular about the BasicHome that caused the problem?
     

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    958
    283
    41
    Rostock
    Home Country
    Germany Germany
    No, but I can tell which files I copied to the theme folder.

    The complete media folder and the basichome overlays I am using.

    I will also tell you what I am changing:
    The labels on the 5-day weather forecast are not correct.

    For the DAY 1 label you are using 6030 which stand for "Today" but the first block it shows the current condition. So it would be nice to add a translation id for "current" or "now" or using #WorldWeather.TranslationCurrentCondition from WorldWeather and change the DAY 2 label from #WorldWeather.ForecastDay0Day to 6030.

    Thanks
     

    Attachments

    • Bild 001.png
      Bild 001.png
      2.6 MB
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I put some error handling around the possibility of encountering bad xml whilst generating checksums.I also fixed the labels displayed in WorldWeather and on BasicHome 5-Day weather.
     

    Users who are viewing this thread

    Top Bottom