Trakt error: Invalid or missing file (1 Viewer)

thepahakurki

MP Donator
  • Premium Supporter
  • July 21, 2008
    69
    16
    Finland
    Finland Finland
    Country flag
    When I start the Trakt-plugin from the plugin menu I get a black screen and the error "Invalid or missing file:". Yep, that's the whole error! Trakt plugin itself works perfectly in the background. It syncs my progress and lets me rate movies and tv-episodes after I've watched them. It's just that I can't launch the plugin itself inside Mediaportal.

    I'm running:
    Mediaportal 1.22
    Trakt 6.0.2.0
    Titan skin with Titan Extended 1.7.0.344​

    I have tried reinstalling Mediaportal, Trakt-plugin and Titan Extended skin. The problem still persists. However I did not do a fresh install resetting settings because I hope there is a solution to this.

    When I check traktplugin.log I find this error in it:
    2019-12-22 20:43:01.086 [DEBG] [DashShows][18]: Unable to find facade control [id:98301], check that trakt skin settings are correctly defined!
    2019-12-22 20:43:03.605 [DEBG] [DashMovies][37]: Unable to find facade control [id:98302], check that trakt skin settings are correctly defined!
    2019-12-22 20:43:11.342 [DEBG] [DashShows][10]: Unable to find facade control [id:98301], check that trakt skin settings are correctly defined!
    2019-12-22 20:43:13.860 [DEBG] [DashMovies][18]: Unable to find facade control [id:98302], check that trakt skin settings are correctly defined!
    2019-12-22 20:43:16.379 [DEBG] [DashActivity][29]: Unable to find facade control [id:98300], check that trakt skin settings are correctly defined!

    I don't know what to do about this?


    Mediaportal-error.log:
    [2019-12-22 20:42:58,331] [Error ] [MPMain ] [ERROR] - Error initializing window:TraktPlugin.TraktPlugin Value cannot be null.
    Parameter name: source System.Core at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
    at TraktPlugin.Cache.TmdbCache.Init() in C:\Development\Trakt-for-Mediaportal\TraktPlugin\Cache\TmdbCache.cs:line 36
    at TraktPlugin.TraktPlugin.Init() in C:\Development\Trakt-for-Mediaportal\TraktPlugin\TraktPlugin.cs:line 105
    at MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)
    [2019-12-22 20:43:29,403] [Log ] [MPMain ] [ERROR] - Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    at TraktPlugin.Cache.TmdbCache.DeInit() in C:\Development\Trakt-for-Mediaportal\TraktPlugin\Cache\TmdbCache.cs:line 59
    at TraktPlugin.TraktPlugin.DeInit() in C:\Development\Trakt-for-Mediaportal\TraktPlugin\TraktPlugin.cs:line 160
    at MediaPortal.GUI.Library.GUIWindowManager.<>c.<Clear>b__73_0(GUIWindow window)
    at MediaPortal.GUI.Library.GUIWindowManager.LockAndDoOnAllRegisteredWindows(Action`1 toDo)
    at MediaPortal.GUI.Library.GUIWindowManager.Clear()
    at MediaPortalApp.OnExit()
    at MediaPortalApp.Main(String[] args) Message: Object reference not set to an instance of an object. Site : Void DeInit() Source : TraktPlugin Stack Trace: at TraktPlugin.Cache.TmdbCache.DeInit() in C:\Development\Trakt-for-Mediaportal\TraktPlugin\Cache\TmdbCache.cs:line 59
    at TraktPlugin.TraktPlugin.DeInit() in C:\Development\Trakt-for-Mediaportal\TraktPlugin\TraktPlugin.cs:line 160
    at MediaPortal.GUI.Library.GUIWindowManager.<>c.<Clear>b__73_0(GUIWindow window)
    at MediaPortal.GUI.Library.GUIWindowManager.LockAndDoOnAllRegisteredWindows(Action`1 toDo)
    at MediaPortal.GUI.Library.GUIWindowManager.Clear()
    at MediaPortalApp.OnExit()
    at MediaPortalApp.Main(String[] args)
    [2019-12-22 20:43:29,403] [Error ] [MPMain ] [ERROR] - MediaPortal stopped due to an exception Object reference not set to an instance of an object. TraktPlugin at TraktPlugin.Cache.TmdbCache.DeInit() in C:\Development\Trakt-for-Mediaportal\TraktPlugin\Cache\TmdbCache.cs:line 59
    at TraktPlugin.TraktPlugin.DeInit() in C:\Development\Trakt-for-Mediaportal\TraktPlugin\TraktPlugin.cs:line 160
    at MediaPortal.GUI.Library.GUIWindowManager.<>c.<Clear>b__73_0(GUIWindow window)
    at MediaPortal.GUI.Library.GUIWindowManager.LockAndDoOnAllRegisteredWindows(Action`1 toDo)
    at MediaPortal.GUI.Library.GUIWindowManager.Clear()
    at MediaPortalApp.OnExit()
    at MediaPortalApp.Main(String[] args)

    I hope someone can help me to fix this!
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,710
    7,091
    Sydney
    Australia Australia
    Country flag
    Can you attach your logs MediaPortal.log, TraktPlugin.log and MediaPortal-Error.log after reproducing the issue.

    Please also attach your settings files MediaPortal.xml and zip up the contents of this folder C:\ProgramData\Team MediaPortal\MediaPortal\Trakt.

    We'll go from there.
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,710
    7,091
    Sydney
    Australia Australia
    Country flag
    @thepahakurki, it looks like your files in C:\ProgramData\Team MediaPortal\MediaPortal\Trakt\TmdbCache are corrupt.

    Can you delete these files and try again.

    I have made a change to the plugin to detect NUL characters in these files so it does not happen again.

    Regarding your Titan Extended skin, it is not a good idea to install Extended on top of a newer install of MediaPortal as the skin is deprecated as @ajs said. I can't guarantee any further issues with skin due to that. If you are using a newer version of MediaPortal I suggest sticking to the default Ttian skin or search for another one.
     

    thepahakurki

    MP Donator
  • Premium Supporter
  • July 21, 2008
    69
    16
    Finland
    Finland Finland
    Country flag
    Thank you! Deleting files in TmdbCache folder fixed it!

    I didn't realize Titan Extended is deprecated. It's a shame because I love the Titan skin but without the extended version there's no way to customize it. Guess I'll have to look for new skins then!
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    12,539
    7,226
    Kyiv
    Ukraine Ukraine
    Country flag
    I use titan with Ares like BasicHome ... No problem with customize and work fine for me :)

    --
    WBR, ajs :):whistle::coffee:
     

    Users who are viewing this thread

    Similar threads
    OP Title Forum Replies Date
    ajs Trakt error when start with MP crash Trakt 1
    doskabouter Trakt api not working Trakt 14
    Lichloathe Trakt for MP2 question General 7
    ajs Trakt crashed Mediaportal if no Internet in home lan Trakt 2
    fischy667 wrong/no sync with trakt on some series Trakt 2
    B 1.26.0 Error Upgrading Data Base (FanArtHandler log) on Holiday implemention ... MP 1.26 Pre Release Fanart Handler 6
    F MediaPortal 1.16 server crashing due to user error? General Support 5
    CanadianEh MP TV server rebuild with Colossus 2 - Kodi clients receive PMT error when playing videos recoreded by Colossus 2 TV-Server 2
    M 1.25.0 Tv Server Configuration Italian Dvb-t2 test channel preview error Television (MyTV frontend and TV-Server) 8
    G [solved] timeshift error Newcomers Forum 2
    C Can't install any extensions - DLL error Installation, configuration support 19
    horned_reaper Errors in FH log ... Fanart Handler 1
    joecrow 1.25.0 5031: Error on Install. Bugreports 24
    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
    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

    Similar threads

    Top Bottom