.NET Error with MediaPortal Extention Installer (1 Viewer)

schalicto

Portal Member
August 26, 2007
20
0
42
North Saint Paul, Minnesota
Home Country
United States of America United States of America
I am getting an error whenever I try and use the MediaPortal Extension Installer. It seems like it only happens when the installer calls out to the internet to look for updates or to download a list of potential plugins. The error says
"Unhandled exception has occurred in your application. if you click...."
"Invalid character in the given encoding. Line 528, position 48."
And the details are
"See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Xml.XmlException: Invalid character in the given encoding. Line 528, position 48.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.InvalidCharRecovery(Int32& bytesCount, Int32& charsCount)
at System.Xml.XmlTextReaderImpl.GetChars(Int32 maxCharsCount)
at System.Xml.XmlTextReaderImpl.ReadData()
at System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
at System.Xml.XmlTextReaderImpl.ParseText()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at MediaPortal.MPInstaller.MPInstallHelper.LoadFromFile()
at MediaPortal.MPInstaller.MPInstallHelper.LoadFromFile(String fil)
at MediaPortal.MPInstaller.UpdateChecker.UpdateChecker_Shown(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///f:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
MPInstaller
Assembly Version: 0.9.2.16127
Win32 Version: 0.9.2.19657
CodeBase: file:///F:/Program%20Files/Team%20MediaPortal/MediaPortal/MPInstaller.exe
----------------------------------------
MPInstaller.Library
Assembly Version: 0.9.2.16123
Win32 Version: 0.9.2.19657
CodeBase: file:///F:/Program%20Files/Team%20MediaPortal/MediaPortal/MPInstaller.Library.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///F:/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.1433 (REDBITS.050727-1400)
CodeBase: file:///F:/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.1433 (REDBITS.050727-1400)
CodeBase: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Utils
Assembly Version: 2.2.6.16097
Win32 Version: 2.2.6.19657
CodeBase: file:///F:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///F:/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.1433 (REDBITS.050727-1400)
CodeBase: file:///F:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.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."

If this is a known error then please point me to the fix. I searched the forums to the best of my ability and I couldn't find anyone with this same problem.

If this is not a known error than any/all help would be greatly appreciated.

-Josh
 

dukus

Portal Pro
January 20, 2006
783
748
44
Home Country
Romania Romania
I found the source of error the German TV-Logos V1.0RC1 (MPI) extension the description field was written non English language, i talk with High to solve this problem
 

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Excellent, I just created an installer for the MP-TVSeries yesterday and was concerned about this bug.
     

    parkuhr

    Portal Pro
    September 2, 2007
    357
    4
    Home Country
    Germany Germany
    any news?
    i have the same problem. how can it be fixed?
    is there a update for the mp-installer or a workaround for fixing that?
    what helps me to know the reason of this error, if there isn t a workaround or a way to fix it? (anyway, thx for finding this out. good work)
    can t use mp correctly, without a working mp-installer;(

    regards
    parkuhr
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    Dukas, can you put some exception handling to work around issues like this so it just break the whole application.

    There is bound to be people that make MPI's without testing them properly first.

    Cheers
    Damien
     

    Clemens82

    Portal Member
    March 11, 2008
    9
    2
    Sorry - Repost in english:

    Work-Around:
    Open MediaPortal\Installer\online.xml in any Text-Editor.
    Search for "ä" => replace with "ae" => Done.

    In my case, replace line:

    <Description> Deutsche Senderlogos 1.0RC1 enthält 208 Logos im deutschsprachigen Raum empfangbarer Sender in hoher Qualität und verschiedenen Stilen. </Description>

    with

    <Description> Deutsche Senderlogos 1.0RC1 enthaelt 208 Logos im deutschsprachigen Raum empfangbarer Sender in hoher Qualitaet und verschiedenen Stilen. </Description>
     

    parkuhr

    Portal Pro
    September 2, 2007
    357
    4
    Home Country
    Germany Germany
    Sorry - Repost in english:

    Work-Around:
    Open MediaPortal\Installer\online.xml in any Text-Editor.
    Search for "ä" => replace with "ae" => Done.

    In my case, replace line:

    <Description> Deutsche Senderlogos 1.0RC1 enthält 208 Logos im deutschsprachigen Raum empfangbarer Sender in hoher Qualität und verschiedenen Stilen. </Description>

    with

    <Description> Deutsche Senderlogos 1.0RC1 enthaelt 208 Logos im deutschsprachigen Raum empfangbarer Sender in hoher Qualitaet und verschiedenen Stilen. </Description>


    i am sorry, but this isn t working corectly. if you do so and start mpinstaller and load online list, then you get the same error again.
    it depends becouse mpinstaller seems to be re-changeing the editet lines with ä=ae, back to ä!

    if you writeprotect the online.xml that the installer can t change anything, you get a other error.
    thx for your work. hopeing that this terrible error wil be fixed soon:(

    greetings
    parkuhr
     

    chemelli

    Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    49
    Milano, Italy
    Home Country
    Italy Italy
    High fixed the issue.

    Please rename c:\Program Files\Team MediaPortal\MediaPortal\Installer\online.xml to online.bak an dtry again ;)

    Simone
     

    Users who are viewing this thread

    Top Bottom