.NET Error with MediaPortal Extention Installer (1 Viewer)

schalicto

Portal Member
August 26, 2007
20
0
39
North Saint Paul, Minnesota
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
40
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,687
    7,062
    Sydney
    Australia Australia
    Country flag
    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
    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,687
    7,062
    Sydney
    Australia Australia
    Country flag
    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
    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
    45
    Milano, Italy
    Italy Italy
    Country flag
    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 (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    haaitje Pictures error .net framework MPTagThat 0
    ajs Mediaportal update to .Net 4.6.2+ MediaPortal 1 13
    J New .NET version? General Development (no feature request here!) 0
    V MP2 - V2.1 MP2.1.3 doesn't install without .net 4.7 Older releases 8
    Terra Homepage How to enable .NET 3.5 for MP1 goes to a 404 page Website/Forum/Wiki Feedback 0
    joecrow 1.25.0 Error on Install. Bugreports 6
    M MediaPortal2 TV Config Error on Install (0x80004005) General 7
    J Blue Screen Error Submit: Bug Reports 0
    G Q about scheduling weekly series when epg lists duplicate back to back episodes each week General Support 2
    Rob Hexenmeister Dependency error on install v2.3.2.0 OnlineVideos 28
    catavolt [WiP] When changing theme in my skins, I always get this error message in logs MediaPortal 1 9
    F Error invoking action 'GetNowNextProgramForGroup' Submit: Bug Reports 3
    B MP 2.2.3 Error playing videos from NAS Submit: Bug Reports 2
    vvulture UNKNOWN ERROR when starting live TV General Support 6
    doskabouter Build errors MediaPortal 1 9
    ajs Trakt error when start with MP crash Trakt 1
    horned_reaper MediaPortal configuration error log message General Support 1
    horned_reaper MiniDisplayStatus error log messages General Support 7
    horned_reaper [solved] GUITextureManager Load2 log error messages Fanart Handler 1
    horned_reaper MediaPortal.LastFM.LastFMException error log message General Support 1
    R [solved] No Response from Home Page - Error Newcomers Forum 0
    globaldonkey Music Database Error Listen Music 1
    ajs [solved] 4982: Why this error hard stop when Mediaportal start? MediaPortal 1 3
    thepahakurki Trakt error: Invalid or missing file Trakt 8
    Z Error when attempting to play Blu Ray General 1
    Top Bottom