StreamedMP doesnt find all xml`s an Graphics (1 Viewer)

Ponyriemen

MP Donator
  • Premium Supporter
  • July 9, 2007
    2,570
    110
    /root/home
    Home Country
    Germany Germany
    Hi @ All...

    since Yesterday i have a weird Problem with the Skin and i dont know, if it is a Bug from Skin or System itself.

    When i startet MePo, the Skin shows a Message-Box with "Cant find C:/... -xml" an when i start the Editor, an Error occurs while starting, i can click Continue or Abort. If i click continue, the Editor openes, but i cant set Standard-Graphics for TV, Plugins, etc - he doesnt find the Files for, but they are there...

    But most weird is, that this occurs on a Win7 System and a XP System at 2 different Machines.

    I cant post logs at this Time, because i am at Work, but hopefully someone knows this "Bug" or had similar Problems...

    Greets, Pony
     

    trevor

    Portal Pro
    October 17, 2006
    1,600
    950
    Chelmsford
    Home Country
    United Kingdom United Kingdom
    Hi @ All...

    since Yesterday i have a weird Problem with the Skin and i dont know, if it is a Bug from Skin or System itself.

    When i startet MePo, the Skin shows a Message-Box with "Cant find C:/... -xml" an when i start the Editor, an Error occurs while starting, i can click Continue or Abort. If i click continue, the Editor openes, but i cant set Standard-Graphics for TV, Plugins, etc - he doesnt find the Files for, but they are there...

    But most weird is, that this occurs on a Win7 System and a XP System at 2 different Machines.

    I cant post logs at this Time, because i am at Work, but hopefully someone knows this "Bug" or had similar Problems...

    Greets, Pony

    Hi,

    This is an odd one, the editor does not write out any logs but copies of your usermenuprofile.xml and MediaPortalDirs.xml (if you have altered this file).

    Also the exact text of the error message - is this an exception message or an internal message box? If exception if you can provide a copy of the exception text.

    Thanks
     

    Ponyriemen

    MP Donator
  • Premium Supporter
  • July 9, 2007
    2,570
    110
    /root/home
    Home Country
    Germany Germany
    AW: Re: StreamedMP doesnt find all xml`s an Graphics

    the editor does not write out any logs but copies of your usermenuprofile.xml and MediaPortalDirs.xml (if you have altered this file).
    I`ve edited the "MediaPortalDirs.xml" so that i have an centralized Database on my WHS.
    Ist that the Reason for the Error?

    Sorry i cant reproduce the Error at the Moment, beecause i am still at Work... ;)

    Pony
     

    trevor

    Portal Pro
    October 17, 2006
    1,600
    950
    Chelmsford
    Home Country
    United Kingdom United Kingdom
    Re: AW: Re: StreamedMP doesnt find all xml`s an Graphics

    the editor does not write out any logs but copies of your usermenuprofile.xml and MediaPortalDirs.xml (if you have altered this file).
    I`ve edited the "MediaPortalDirs.xml" so that i have an centralized Database on my WHS.
    Ist that the Reason for the Error?

    Sorry i cant reproduce the Error at the Moment, beecause i am still at Work... ;)

    Pony

    It is more than likley the issue, we do read this file and take changes into account but we might have missed something, looking at the source there are only 4 times the editor would produce that error message

    helper.showError("Can't find MediaPortalDirs.xml \r\r" + fMPdirs, errorCode.major);
    helper.showError("Can't find usermenuprofile.xml \r\r" + SkinInfo.mpPaths.configBasePath + "usermenuprofile.xml", errorCode.major);
    MessageBox.Show("Can't find MediaPortalDirs.xml \r\r" + fMPdirs);
    MessageBox.Show("Can't find MediaPortal.xml \r\r" + fMPdirs);

    So what I need to know is which file is causing the problems and a copy of that file so I can reproduce, when you get home if you let me have the info and files I should be able to sort and supply you a hotfix for it.

    thx
     

    Ponyriemen

    MP Donator
  • Premium Supporter
  • July 9, 2007
    2,570
    110
    /root/home
    Home Country
    Germany Germany
    AW: StreamedMP doesnt find all xml`s an Graphics

    ...back home... ;)

    So take a look at this, Please - occures, if i open the Editor:
    bildschirmfoto2010-11-6g7n.png

    Sorry for bad Quality...
    If i scroll down the Text, i can read the following (german) Details in itself:
    [COLLAPSE]Informationen über das Aufrufen von JIT-Debuggen
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

    ************** Ausnahmetext **************
    System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\ProgramData\team mediaportal\mediaportal\skin\StreamedMP\media\animations\Bilder" konnte nicht gefunden werden.
    bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    bei System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
    bei System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption searchOption)
    bei System.IO.DirectoryInfo.GetFiles(String searchPattern)
    bei StreamedMPEditor.formStreamedMpEditor.getFileListing(String imageDir, String fileMask, Boolean imagelisting)
    bei StreamedMPEditor.formStreamedMpEditor.GetDefaultBackgroundImages()
    bei StreamedMPEditor.formStreamedMpEditor.reloadBackgroundItems()
    bei StreamedMPEditor.formStreamedMpEditor.loadMenuSettings()
    bei StreamedMPEditor.formStreamedMpEditor.OnLoad(EventArgs e)
    bei System.Windows.Forms.Form.OnCreateControl()
    bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    bei System.Windows.Forms.Control.CreateControl()
    bei System.Windows.Forms.Control.WmShowWindow(Message& m)
    bei System.Windows.Forms.Control.WndProc(Message& m)
    bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
    bei System.Windows.Forms.Form.WmShowWindow(Message& m)
    bei System.Windows.Forms.Form.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.4952 (win7RTMGDR.050727-4900).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    ----------------------------------------
    SMPEditor
    Assembly-Version: 1.4.2.2136.
    Win32-Version: 1.4.2.2136.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/SMPEditor.exe.
    ----------------------------------------
    System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    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.4927 (NetFXspW7.050727-4900).
    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.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    ----------------------------------------
    Core
    Assembly-Version: 1.1.1.11854.
    Win32-Version: 1.1.1.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Core.DLL.
    ----------------------------------------
    Databases
    Assembly-Version: 1.1.1.11856.
    Win32-Version: 1.1.1.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Databases.DLL.
    ----------------------------------------
    System.Xml
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    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.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
    ----------------------------------------
    mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4952 (win7RTMGDR.050727-4900).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    ----------------------------------------
    MP-TVSeries
    Assembly-Version: 2.6.5.1269.
    Win32-Version: 2.6.5.1269.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/MP-TVSeries.DLL.
    ----------------------------------------
    Utils
    Assembly-Version: 2.2.7.11849.
    Win32-Version: 2.2.7.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL.
    ----------------------------------------
    System.Core
    Assembly-Version: 3.5.0.0.
    Win32-Version: 3.5.30729.4926 built by: NetFXw7.
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll.
    ----------------------------------------
    Accessibility
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
    ----------------------------------------
    System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.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.


    [/COLLAPSE]

    In Editor, the missing Images:
    bildschirmfoto2010-11-ihdz.png


    When MePo ist started, the Message about missing XML-Files:
    bildschirmfoto2010-11-pfc6.png


    And at least, the 2 Files...
    Greetz, Pony
    P.S.: Thanks for your Help!
     

    Attachments

    • MediaPortalDirs.xml
      3.4 KB
    • usermenuprofile.xml
      14.4 KB

    trevor

    Portal Pro
    October 17, 2006
    1,600
    950
    Chelmsford
    Home Country
    United Kingdom United Kingdom
    Re: AW: StreamedMP doesnt find all xml`s an Graphics

    ...back home... ;)

    So take a look at this, Please - occures, if i open the Editor:
    bildschirmfoto2010-11-6g7n.png

    Sorry for bad Quality...
    If i scroll down the Text, i can read the following (german) Details in itself:
    [collapse]Informationen über das Aufrufen von JIT-Debuggen
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

    ************** Ausnahmetext **************
    System.IO.DirectoryNotFoundException: Ein Teil des Pfades "C:\ProgramData\team mediaportal\mediaportal\skin\StreamedMP\media\animations\Bilder" konnte nicht gefunden werden.
    bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    bei System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption)
    bei System.IO.DirectoryInfo.GetFiles(String searchPattern, SearchOption searchOption)
    bei System.IO.DirectoryInfo.GetFiles(String searchPattern)
    bei StreamedMPEditor.formStreamedMpEditor.getFileListing(String imageDir, String fileMask, Boolean imagelisting)
    bei StreamedMPEditor.formStreamedMpEditor.GetDefaultBackgroundImages()
    bei StreamedMPEditor.formStreamedMpEditor.reloadBackgroundItems()
    bei StreamedMPEditor.formStreamedMpEditor.loadMenuSettings()
    bei StreamedMPEditor.formStreamedMpEditor.OnLoad(EventArgs e)
    bei System.Windows.Forms.Form.OnCreateControl()
    bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    bei System.Windows.Forms.Control.CreateControl()
    bei System.Windows.Forms.Control.WmShowWindow(Message& m)
    bei System.Windows.Forms.Control.WndProc(Message& m)
    bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
    bei System.Windows.Forms.Form.WmShowWindow(Message& m)
    bei System.Windows.Forms.Form.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.4952 (win7RTMGDR.050727-4900).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    ----------------------------------------
    SMPEditor
    Assembly-Version: 1.4.2.2136.
    Win32-Version: 1.4.2.2136.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/SMPEditor.exe.
    ----------------------------------------
    System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    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.4927 (NetFXspW7.050727-4900).
    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.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    ----------------------------------------
    Core
    Assembly-Version: 1.1.1.11854.
    Win32-Version: 1.1.1.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Core.DLL.
    ----------------------------------------
    Databases
    Assembly-Version: 1.1.1.11856.
    Win32-Version: 1.1.1.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Databases.DLL.
    ----------------------------------------
    System.Xml
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    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.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
    ----------------------------------------
    mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4952 (win7RTMGDR.050727-4900).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    ----------------------------------------
    MP-TVSeries
    Assembly-Version: 2.6.5.1269.
    Win32-Version: 2.6.5.1269.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/plugins/windows/MP-TVSeries.DLL.
    ----------------------------------------
    Utils
    Assembly-Version: 2.2.7.11849.
    Win32-Version: 2.2.7.0.
    CodeBase: file:///C:/Program%20Files/Team%20MediaPortal/MediaPortal/Utils.DLL.
    ----------------------------------------
    System.Core
    Assembly-Version: 3.5.0.0.
    Win32-Version: 3.5.30729.4926 built by: NetFXw7.
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll.
    ----------------------------------------
    Accessibility
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
    ----------------------------------------
    System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.4927 (NetFXspW7.050727-4900).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.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.


    [/collapse]

    In Editor, the missing Images:
    bildschirmfoto2010-11-ihdz.png


    When MePo ist started, the Message about missing XML-Files:
    bildschirmfoto2010-11-pfc6.png


    And at least, the 2 Files...
    Greetz, Pony
    P.S.: Thanks for your Help!

    Hi,

    the biggest problem seems to be that it can not find the local directory

    C:\ProgramData\team mediaportal\mediaportal\skin\StreamedMP\media\animations\Bilder

    Does this exist on all systems?

    Looking at you MediaPortalDirs.xml you are only altering the Database and Thumb locations and this is handled in the editor so a little unsure whey it should be complaining about the skin location, the error when starting MP also points to the skin directory missing.

    I am still at work currently, when I get home I will create the same setup you have a test.

    thx
     

    trevor

    Portal Pro
    October 17, 2006
    1,600
    950
    Chelmsford
    Home Country
    United Kingdom United Kingdom
    Hi Ponyriemen,

    Had a good check of this now and the lack of the Bilder directory will cause the editor to crash though will not cause the issues when running MP - I can't reproduce that no matter what I try.

    Next stage will be a full set of logs from trying to run MP

    thx
     

    Ponyriemen

    MP Donator
  • Premium Supporter
  • July 9, 2007
    2,570
    110
    /root/home
    Home Country
    Germany Germany
    AW: StreamedMP doesnt find all xml`s an Graphics

    Hi trevor,

    yesterday i made a full-clean Install of MePo 1.20 Alpha and the Last-Full-Setup of StreamedMP.
    All was good, no errors, the Editor works as well, MePo too.

    Then i did the Update/Patch of StreamedMP in MePo itself, and tried all again. I saw, that all works well, but the Editor shows on Startup the Error-Message i postet above. I am not sure, if this occurs after Installation of the Patch itself, or after Downloading alternative Splash-Screens.

    Does this Information help you?

    Pony
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    Hi Ponyriemen, did you confirm you have the following directory and file:

    Code:
    animations\Bilder\default.jpg

    This is something you would of added as a custom folder and file.
     

    Users who are viewing this thread

    Top Bottom