[fixed] MP2 Client fails to initialize skin engine > crash to desktop (1 Viewer)

chefkoch

Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,635
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    When starting MP2-Client it crashed to desktop.
    Code:
    [2012-05-19 02:29:38,576] [3866  ] [Main    ] [FATAL] - Error executing application
    System.IO.FileLoadException: Die Datei oder Assembly "SlimDX, Version=2.0.10.43, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9" oder eine Abhängigkeit davon wurde nicht gefunden. Ausnahme von HRESULT: 0xC000001D
    Dateiname: "SlimDX, Version=2.0.10.43, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9" ---> System.Runtime.InteropServices.COMException (0xC000001D): Ausnahme von HRESULT: 0xC000001D
      bei MediaPortal.UI.SkinEngine.SkinEnginePlugin.Initialize()
      bei MediaPortal.Client.ApplicationLauncher.Main(String[] args) in D:\MediaPortal\MP2\MediaPortal-2\MediaPortal\Source\Main\MediaPortal.Client\ApplicationLauncher.cs:Zeile 152.

    Cheers,
    Tommy

    There is yet another error which is not related to the one above.
    Code:
    [2012-05-19 02:29:37,521] [2811  ] [AMQ 'PlayerManager'] [INFO ] - PluginManager: Plugin 'DefaultVideoPlayers' (id 'a965afe5-44f9-46e0-980e-40bbe17f25ca') activated.
    [2012-05-19 02:29:37,549] [2839  ] [AMQ 'PlayerManager'] [ERROR] - PluginManager: Error building plugin item 'wmv' at location '/VideoPlayers/MimeTypeRegistrations'
    System.TypeLoadException: Die Methode "get_Surface" im Typ "MediaPortal.UI.Players.Video.VideoPlayer" der Assembly "VideoPlayers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" hat keine Implementierung.
      bei System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase)
      bei System.Reflection.Assembly.GetType(String name, Boolean throwOnError)
      bei MediaPortal.Common.PluginManager.PluginRuntime.GetPluginType(String typeName) in D:\MediaPortal\MP2\MediaPortal-2\MediaPortal\Source\Core\MediaPortal.Common\PluginManager\PluginRuntime.cs:Zeile 203.
      bei MediaPortal.UI.Players.Video.VideoPlayerMimeTypeMappingBuilder.BuildItem(PluginItemMetadata itemData, PluginRuntime plugin)
      bei MediaPortal.Common.Services.PluginManager.PluginManager.RequestItem(PluginItemRegistration itemRegistration, Type type, IPluginItemStateTracker stateTracker) in D:\MediaPortal\MP2\MediaPortal-2\MediaPortal\Source\Core\MediaPortal.Common\Services\PluginManager\PluginManager.cs:Zeile 395.
    [2012-05-19 02:29:37,555] [2845  ] [AMQ 'PlayerManager'] [WARN ] - Could not instantiate VideoPlayerMimeTypeMapping with id 'wmv'
    [2012-05-19 02:29:37,573] [2863  ] [AMQ 'PlayerManager'] [ERROR] - PluginManager: Error building plugin item 'ts' at location '/VideoPlayers/MimeTypeRegistrations'
    System.TypeLoadException: Die Methode "get_Surface" im Typ "MediaPortal.UI.Players.Video.VideoPlayer" der Assembly "VideoPlayers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" hat keine Implementierung.
      bei System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase)
      bei System.Reflection.Assembly.GetType(String name, Boolean throwOnError)
      bei MediaPortal.Common.PluginManager.PluginRuntime.GetPluginType(String typeName) in D:\MediaPortal\MP2\MediaPortal-2\MediaPortal\Source\Core\MediaPortal.Common\PluginManager\PluginRuntime.cs:Zeile 203.
      bei MediaPortal.UI.Players.Video.VideoPlayerMimeTypeMappingBuilder.BuildItem(PluginItemMetadata itemData, PluginRuntime plugin)
      bei MediaPortal.Common.Services.PluginManager.PluginManager.RequestItem(PluginItemRegistration itemRegistration, Type type, IPluginItemStateTracker stateTracker) in D:\MediaPortal\MP2\MediaPortal-2\MediaPortal\Source\Core\MediaPortal.Common\Services\PluginManager\PluginManager.cs:Zeile 395.
    [2012-05-19 02:29:37,576] [2866  ] [AMQ 'PlayerManager'] [WARN ] - Could not instantiate VideoPlayerMimeTypeMapping with id 'ts'
    [2012-05-19 02:29:37,598] [2888  ] [AMQ 'PlayerManager'] [ERROR] - PluginManager: Error building plugin item 'dvd' at location '/VideoPlayers/MimeTypeRegistrations'
    System.TypeLoadException: Die Methode "get_Surface" im Typ "MediaPortal.UI.Players.Video.VideoPlayer" der Assembly "VideoPlayers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" hat keine Implementierung.
      bei System.Reflection.Assembly._GetType(String name, Boolean throwOnError, Boolean ignoreCase)
      bei System.Reflection.Assembly.GetType(String name, Boolean throwOnError)
      bei MediaPortal.Common.PluginManager.PluginRuntime.GetPluginType(String typeName) in D:\MediaPortal\MP2\MediaPortal-2\MediaPortal\Source\Core\MediaPortal.Common\PluginManager\PluginRuntime.cs:Zeile 203.
      bei MediaPortal.UI.Players.Video.VideoPlayerMimeTypeMappingBuilder.BuildItem(PluginItemMetadata itemData, PluginRuntime plugin)
      bei MediaPortal.Common.Services.PluginManager.PluginManager.RequestItem(PluginItemRegistration itemRegistration, Type type, IPluginItemStateTracker stateTracker) in D:\MediaPortal\MP2\MediaPortal-2\MediaPortal\Source\Core\MediaPortal.Common\Services\PluginManager\PluginManager.cs:Zeile 395.
    [2012-05-19 02:29:37,600] [2890  ] [AMQ 'PlayerManager'] [WARN ] - Could not instantiate VideoPlayerMimeTypeMapping with id 'dvd'
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    Both issue are IMO caused by a version mix, please try with clean builds ;-)
     

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,635
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    I rebuilt the sources of FanartTest and dev multiple times already :(
    I also attached my system specs. Will remove them later, as soon as you've downloaded them.
     

    Attachments

    • system.txt
      847.9 KB

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,635
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    Clean build of latest SeriesMoviesBranch and still the same issue on htpc.
    Latest DirectX is installed. .Net 4 full installed.

    Any idea?
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany
    1st thought: .Net 4 is not useful, as MP2 still uses 3.5.
    Is the SlimDX dll available in Client folder?
    Are VC Redists installed?

    We can have a TeamViewer session this evening if you like ;)
     

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,635
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    I downloaded latest SlimDx SDK (January 2012) and copied the .net20 DLL file to the source code, recompiled and now at least the skin engine is being loaded. Still not starting but skin engine does not crash because of a slimdx dependency.

    I added an issue at Mantis to update SlimDx to January 2012.
    Are there any benefits to switch to SlimDx .Net 4.0 as well?

    EDIT: Yet another rebuild with the updated dll and MP2 is starting nicely also on the 10years old machine :D
     
    Last edited:

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,070
    7,459
    Home Country
    Germany Germany

    Users who are viewing this thread

    Top Bottom