Trakt Error? Check that trakt skin settings are correctly defined! (1 Viewer)

TheBatfink

MP Donator
  • Premium Supporter
  • June 11, 2007
    1,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    Hi, I attempted to enter OnlineVideos plugin from the home screen and got a MePo freeze. Last thing in the MePo error log is from Trakt so maybe the problem was caused by the Trakt plugin?

    Attached are logs immediately after killing MePo process manually. Is there something I am doing to cause this maybe?

    Thanks!
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    Looks like a combination of Skin and MediaPortal skin engine bug to me. It originates from Trakt but I don't think it's a bug in Trakt. What probably happened is that you left BasicHome to enter OnlineVideos but there was some race condition when the trakt plugin tried to get a reference to a control in BasicHome. Maybe this was just some extremely bad luck and only happened once for you or does it happen all the time?

    The Skin defines what windows to load a Trakt dashboard on when you enter a window, this is done from your skin directory in Trakt.SkinSettings.xml. It lets Trakt know which window to load the dashboard in, this is not correctly defined for your skin. My guess is that it's trying to load it in BasicHome.xml but you don't have the required controls defined on it for Trakt (something which I imagine would be done by the Titan skin editor).

    You could open the Trakt.SkinSettings.xml and look for anything like '<windows>35|87258</windows>', you want to remove '35' as that is the window (BasicHome) that it's complaining about: make it look like <windows>87258</windows>. Alternatively you can re-generate the BasicHome and include the trakt dashboard if that is possible.

    You can also just disable trakt since you haven't specified any username/password anyway.
     
    Last edited:

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    Thanks for the detailed explaination. I'll check out those skin files. Just for info it's not Titan skin its Titanius. Strangely it was a kind of one off MePo freeze, it doesn't do it all the time.

    I noticed the username password thing and was wondering why my client machine was not syncing watched flags. Went in and it was missing the password which explains that. Definitely don't want to uninstall :)

    Thanks
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    I would let Titanius skin author know that there is a reference to load the trakt dashboard in BasicHome if '35' is indeed referenced but there is no support for it on BasicHome.
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    Hi ltfearme. There is no reference exactly as you mentioned. Only:

    Code:
    <trending>
    <facadetype>Filmstrip</facadetype>
    <facademaxitems>3</facademaxitems>
    <propertiesmaxitems>3</propertiesmaxitems>
    <shows>
    <windows>35</windows>
    </shows>
    <movies>
    <windows>35</windows>
    </movies>
    </trending>
    Maybe this is what is upsetting it?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    Yeah, that would be causing those debug messages in the Trakt log, they are harmless but for some reason it did affect you once.

    I suggest removing the whole trending section if you dont have it on BasicHome (35) or figure out a way in your skin to make it appear and you could keep it.

    Note: you probably have one for window 87258 defined, you can keep that and check that it works in the main Trakt window where you see a dashboard.

    @powermarcel10, I believe you are the skin author for Titanius? Does it have support for a Trakt dashboard on BasicHome? If not I suggest the section above be removed to avoid those trakt debug/warnings in log.
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    Hey. I have another error in MePo log again :) This time seems related to receiving a follower request? Will be the one you sent around 22:00 in my logs.

    PS: You really like SpongeBob? :p
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    You sure do get a lot of errors, the one you are referring to is:

    Code:
    [GetFollowReq] [ERROR] - Exception: System.ObjectDisposedException: Cannot access a disposed object.
    Object name: 'MediaPortalApp'.
      at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
      at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
      at TraktPlugin.GUI.GUIUtils.ShowNotifyDialog(String heading, String text, String image, String buttonText, Int32 timeout)
      at TraktPlugin.TraktPlugin.<GUIWindowManager_OnActivateWindow>b__68(Object obj)
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart(Object obj)  Message: Cannot access a disposed object.
    Why that is happening for you I have no idea, does the Notify Dialog work in Titanius? I can't reproduce using StreamedMP but will do some more tests.

    PS: You really like SpongeBob? :p
    heh, my son does :) The whole family shares the same account!
     
    Last edited:

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,697
    7,081
    Sydney
    Australia Australia
    Country flag
    Reading your latest message https://forum.team-mediaportal.com/...nd-a-bug-read-this.124712/page-2#post-1095312 I might be able to explain that exception.

    You were probably shutting down MediaPortal at the time a Notify Dialog request was made in trakt (which may happen on first entry to BasicHome when you have any follower requests).

    I will see what I can do to detect this and prevent it.
     

    TheBatfink

    MP Donator
  • Premium Supporter
  • June 11, 2007
    1,285
    220
    Nottingham
    United Kingdom United Kingdom
    Country flag
    Actually I may of closed MePo at that point yes, not sure. The dialog does work, it popped up this morning on my client when I turned it on. Both machines run the same plugin and skin setup so I guess it would of worked on this one I'm pulling logs from :)

    They are silent errors though, I don't think I ever notice anything in MePo - just happen to be looking in the logs more recently so thought I'd raise them :) maybe help make the plugin more robust!

    Thanks for taking a look!
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    ajs Trakt error when start with MP crash Trakt 1
    thepahakurki Trakt error: Invalid or missing file Trakt 8
    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
    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
    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
    Top Bottom