[solved] [WIFIREMOTE] Crash occurs when showing rate dialog after watching episode (2 Viewers)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,366
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #51
    Just overwrite your existing TraktPlugin.dll and re-test.
    Call the dialogue by hands. In the MyVideo, he did not appear. But appeared in the TV series. :coffee:
    Code:
    [2015-01-13 20:11:38,141] [Error  ] [MPMain   ] [ERROR] - Exception: System.MissingMethodException: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.
       at WifiRemote.MPDialogs.MpDialogTraktRating..ctor(GUIRateDialog dialog)
       at WifiRemote.MPDialogs.MpDialogsHelper.GetDialogTraktRating()
       at WifiRemote.MPDialogs.MpDialogsHelper.GetDialog(GUIDialogWindow dialog)
       at WifiRemote.MPDialogs.MpDialogsHelper.GetDialogMessage(GUIDialogWindow dialog)
       at WifiRemote.WifiRemote.GUIPropertyManager_OnPropertyChanged(String tag, String tagValue)
       at MediaPortal.GUI.Library.GUIPropertyManager.OnPropertyChangedHandler.Invoke(String tag, String tagValue)
       at MediaPortal.GUI.Library.GUIPropertyManager.SetProperty(String tag, String tagvalue)
       at MediaPortal.Dialogs.GUIDialogWindow.OnMessage(GUIMessage message)
       at TraktPlugin.GUI.GUIRateDialog.OnMessage(GUIMessage message)
       at MediaPortal.Dialogs.GUIDialogWindow.PageLoad(Int32 ParentID)
       at MediaPortal.Dialogs.GUIDialogWindow.DoModal(Int32 ParentID)
       at TraktPlugin.GUI.GUIRateDialog.DoModal(Int32 ParentID)
       at TraktPlugin.GUI.GUITraktDialogs.ShowRateDialog[T](T rateObject)
       at TraktPlugin.GUI.GUICommon.ShowTraktExtMovieMenu(String title, String year, String imdbid, Boolean isWatched, String fanart, SearchPeople people, Boolean showAll)
       at TraktPlugin.TraktPlugin.GUIWindowManager_Receivers(GUIMessage message)
       at MediaPortal.GUI.Library.SendMessageHandler.Invoke(GUIMessage message)
       at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
    Code:
    [2015-01-13 20:09:57,356] [Log    ] [MPMain   ] [INFO ] - PluginManager: 'C:\Team MediaPortal\MediaPortal\Plugins\windows\TraktPlugin.dll' file version: 5.0.6.0
    [2015-01-13 20:09:57,387] [Log    ] [PoolThread30] [DEBUG] - ThreadPool.ProcessQueue() : total items processed: 1
    [2015-01-13 20:09:57,387] [Log    ] [9        ] [DEBUG] - fileSystemWatcher_Deleted file c:\programdata\team mediaportal\mediaportal\skin\Titan\SkinSettings.xml.bak
    [2015-01-13 20:09:57,387] [Log    ] [PoolThread34] [DEBUG] - SkinSettings: Saved all settings.
    [2015-01-13 20:09:57,402] [Log    ] [PoolThread34] [DEBUG] - ThreadPool.ProcessQueue() : total items processed: 2
    [2015-01-13 20:09:57,387] [Log    ] [8        ] [DEBUG] - fileSystemWatcher_Created file c:\programdata\team mediaportal\mediaportal\skin\Titan\SkinSettings.xml
    [2015-01-13 20:09:57,714] [Log    ] [MPMain   ] [DEBUG] - PluginManager: End loading '\windows\TraktPlugin.dll' (358.8007 ms running time)

    What to do with the file TraktPlugin.pdb? :whistle:
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    hmm...from that callstack it looks like wifiremote is responsible for this issue.

    Can you try disable it please.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,366
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #53
    After wath series - crash
    Code:
    [2015-01-13 22:24:34,475] [Log    ] [MPMain   ] [INFO ] - g_Player.Process() player stopped...
    [2015-01-13 22:24:34,476] [Log    ] [MPMain   ] [INFO ] - g_Player.OnEnded()
    [2015-01-13 22:24:34,476] [Log    ] [MPMain   ] [INFO ] - RefreshRateChanger.AdaptRefreshRate: 'auto refreshrate changer' not going back to default refreshrate
    [2015-01-13 22:24:34,556] [Log    ] [MPMain   ] [DEBUG] - [WIFI_REMOTE]  Playback ended!
    [2015-01-13 22:24:34,556] [Log    ] [MPMain   ] [INFO ] - VideoPlayer:ended
    [2015-01-13 22:24:34,566] [Log    ] [MPMain   ] [DEBUG] - Windowmanager: Goto previous window
    [2015-01-13 22:24:34,566] [Log    ] [MPMain   ] [DEBUG] - Window: MediaPortal.GUI.Video.GUIVideoFullscreen deinit
    [2015-01-13 22:24:34,566] [Log    ] [MPMain   ] [DEBUG] - TextureManager: CleanupThumbs()
    [2015-01-13 22:24:34,586] [Log    ] [MPMain   ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Titan\TVSeries.xml' is missing control id 10 (window property: filterButton)
    [2015-01-13 22:24:34,586] [Log    ] [MPMain   ] [WARN ] - GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Titan\TVSeries.xml' is missing control id 526 (window property: loadingImage)
    [2015-01-13 22:24:34,726] [Log    ] [81       ] [DEBUG] - [WIFI_REMOTE]  Stop now-playing update thread
    [2015-01-13 22:24:34,826] [Log    ] [MPMain   ] [DEBUG] - TextureManagerEx: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogo480xvidmp32.0widescreennosubtitles.png]
    [2015-01-13 22:24:34,876] [Log    ] [MPMain   ] [DEBUG] - Window: WindowPlugins.GUITVSeries.TVSeriesPlugin init
    [2015-01-13 22:24:34,896] [Log    ] [MPMain   ] [DEBUG] - WindowManager: route WindowPlugins.GUITVSeries.TVSeriesPlugin:9811->TraktPlugin.GUI.GUIRateDialog:87300
    [2015-01-13 22:24:34,896] [Log    ] [MPMain   ] [DEBUG] - [WIFI_REMOTE]  Sending dialog open to clients
    [2015-01-13 22:24:34,906] [Error  ] [Rate     ] [ERROR] - MediaPortal: Unhandled exception occured
    [2015-01-13 22:24:34,906] [Log    ] [MPMain   ] [DEBUG] - TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogo480xvidmp32.0widescreennosubtitles.png]
    [2015-01-13 22:24:34,906] [Log    ] [Rate     ] [ERROR] - Exception: System.MissingMethodException: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.
       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.GUITraktDialogs.ShowRateDialog[T](T rateObject)
       at TraktPlugin.TraktHandlers.TVSeries.<>c__DisplayClassf8.<ShowRateDialog>b__f7(Object o)
       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: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.  Site   : System.Object MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)  Source : System.Windows.Forms  Stack Trace:     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.GUITraktDialogs.ShowRateDialog[T](T rateObject)
       at TraktPlugin.TraktHandlers.TVSeries.<>c__DisplayClassf8.<ShowRateDialog>b__f7(Object o)
       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)
    [2015-01-13 22:24:34,916] [Log    ] [MPMain   ] [DEBUG] - TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogo480xvidmp32.0widescreennosubtitles.png]
    Code:
    [2015-01-13 22:24:34,906] [Error  ] [Rate     ] [ERROR] - MediaPortal: Unhandled exception occured
    [2015-01-13 22:24:34,906] [Log    ] [Rate     ] [ERROR] - Exception: System.MissingMethodException: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.
       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.GUITraktDialogs.ShowRateDialog[T](T rateObject)
       at TraktPlugin.TraktHandlers.TVSeries.<>c__DisplayClassf8.<ShowRateDialog>b__f7(Object o)
       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: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.  Site   : System.Object MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)  Source : System.Windows.Forms  Stack Trace:     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.GUITraktDialogs.ShowRateDialog[T](T rateObject)
       at TraktPlugin.TraktHandlers.TVSeries.<>c__DisplayClassf8.<ShowRateDialog>b__f7(Object o)
       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)
    Code:
    2015-01-13 20:09:57.402 [INFO] [MPMain][01]: Starting Trakt plugin. Version = '5.0.6.0', Date = '2015-01-13'
    ...
    2015-01-13 22:24:34.556 [INFO] [MPMain][01]: Playback of MP-TVSeries episode stopped and considered watched. Title = 'Агент Картер - 1x1 - Now Is Not the End', PlayList Item = 'False'
    2015-01-13 22:24:34.556 [DEBG] [Scrobble][82]: Showing rate dialog for episode. Title = 'Агент Картер - 1x1 - Now Is Not the End'
    2015-01-13 22:24:34.566 [DEBG] [Scrobble][82]: Address: http://api.trakt.tv/scrobble/stop, Post: {"app_date":"2015-01-13","app_version":"5.0.6.0","progress":101.84,"episode":{"ids":{"slug":null,"trakt":null,"imdb":null,"tmdb":null,"tvdb":4879753,"tvrage":null},"number":1,"season":1,"title":"Now Is Not the End"},"show":{"ids":{"slug":null,"trakt":null,"imdb":"tt3475734","tmdb":null,"tvdb":281485,"tvrage":null},"title":"Marvel's Agent Carter","year":2015}}
    [DOUBLEPOST=1421181260][/DOUBLEPOST]
    Can you try disable it please.
    I'll try tomorrow ...[DOUBLEPOST=1421181392][/DOUBLEPOST]PS:
    Code:
    [2015-01-13 20:10:00,072] [Log    ] [MPMain   ] [DEBUG] - PluginManager: Begin Loading '\process\WifiRemote.dll'
    [2015-01-13 20:10:00,088] [Log    ] [MPMain   ] [INFO ] - PluginManager: Plugin: 'C:\Team MediaPortal\MediaPortal\Plugins\process\WifiRemote.dll' / Version: 0.8.2.0
    [2015-01-13 20:10:00,103] [Log    ] [MPMain   ] [DEBUG] - PluginManager: End loading '\process\WifiRemote.dll' (31.2001 ms running time)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,366
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #54
    TV-Series:
    Manual Rate Dialog run (Work - Ok):
    Code:
    2015-01-13 22:38:55.893 [INFO] [Sync][32]: Getting user ajs's collected tv episodes from trakt.tv
    2015-01-13 22:38:55.903 [DEBG] [Sync][32]: Address: http://api.trakt.tv/sync/last_activities
    2015-01-13 22:39:15.624 [INFO] [Rate][70]: Received a Rate Episode event from tvseries. Show Title = 'Marvel's Agent Carter', Show Year = '2015', Season = '1', Episode = '1', Episode Title = 'Now Is Not the End', Show TVDb ID = '281485', Episode TVDb ID = '4879753'
    2015-01-13 22:39:15.640 [DEBG] [Rate][70]: Address: http://api.trakt.tv/sync/ratings, Post: {"shows":[{"ids":{"slug":null,"trakt":null,"imdb":"tt3475734","tmdb":null,"tvdb":281485,"tvrage":null},"title":"Marvel's Agent Carter","year":2015,"seasons":[{"episodes":[{"number":1,"rated_at":"2015-01-13T20:39:15Z","rating":7}],"number":1}]}]}
    2015-01-13 22:39:44.329 [DEBG] [Rate][70]: Response: {"added":{"movies":0,"shows":0,"seasons":0,"episodes":1},"not_found":{"movies":[],"shows":[],"seasons":[],"episodes":[],"people":[]}}
    Automatic Rate Dialog (Crash):
    Code:
    2015-01-13 23:24:31.722 [INFO] [MPMain][01]: Playback of MP-TVSeries episode stopped and considered watched. Title = 'Элементарно - 3x9 - Инъекции вечности', PlayList Item = 'False'
    2015-01-13 23:24:31.722 [DEBG] [Scrobble][91]: Showing rate dialog for episode. Title = 'Элементарно - 3x9 - Инъекции вечности'
    2015-01-13 23:24:31.732 [DEBG] [Scrobble][91]: Address: http://api.trakt.tv/scrobble/stop, Post: {"app_date":"2015-01-13","app_version":"5.0.6.0","progress":101.03,"episode":{"ids":{"slug":null,"trakt":null,"imdb":null,"tmdb":null,"tvdb":5066311,"tvrage":null},"number":9,"season":3,"title":"Инъекции вечности"},"show":{"ids":{"slug":null,"trakt":null,"imdb":"tt2191671","tmdb":null,"tvdb":255316,"tvrage":null},"title":"Elementary","year":2012}}
    Code:
    [2015-01-13 23:24:31,972] [Log    ] [MPMain   ] [DEBUG] - Window: WindowPlugins.GUITVSeries.TVSeriesPlugin init
    [2015-01-13 23:24:31,992] [Log    ] [MPMain   ] [DEBUG] - WindowManager: route WindowPlugins.GUITVSeries.TVSeriesPlugin:9811->TraktPlugin.GUI.GUIRateDialog:87300
    [2015-01-13 23:24:31,992] [Log    ] [MPMain   ] [DEBUG] - [WIFI_REMOTE]  Sending dialog open to clients
    [2015-01-13 23:24:31,992] [Error  ] [Rate     ] [ERROR] - MediaPortal: Unhandled exception occured
    [2015-01-13 23:24:32,002] [Log    ] [MPMain   ] [DEBUG] - TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogo480xvidmp32.0widescreennosubtitles.png]
    [2015-01-13 23:24:32,022] [Log    ] [Rate     ] [ERROR] - Exception: System.MissingMethodException: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.
       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.GUITraktDialogs.ShowRateDialog[T](T rateObject)
       at TraktPlugin.TraktHandlers.TVSeries.<>c__DisplayClassf8.<ShowRateDialog>b__f7(Object o)
       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: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.  Site   : System.Object MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)  Source : System.Windows.Forms  Stack Trace:     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.GUITraktDialogs.ShowRateDialog[T](T rateObject)
       at TraktPlugin.TraktHandlers.TVSeries.<>c__DisplayClassf8.<ShowRateDialog>b__f7(Object o)
       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)
    [2015-01-13 23:24:32,022] [Log    ] [MPMain   ] [DEBUG] - TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogo480xvidmp32.0widescreennosubtitles.png]
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    The manual rate from TVseries will work, your problem is with the TraktRate dialog because its looking for an enum which can't be found. It's actually there but for some reason your system thinks its in the another namespace (which was the case in the previous version).
    Code:
    Exception: System.MissingMethodException: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.

    TraktPlugin.TraktAPI.TraktRateValue should be TraktPlugin.TraktAPI.Enums.TraktRateValue

    I would like to see your results when WIFI Remote is disabled (preferably removed if it still occurs).

    If WIFI Remote is the reason, then perhaps I can add the enum back and mark it as obsolete so it works okay with it. But I need to be sure that is the problem, I will also check out the source code if it is.
     

    Shukuyen

    Community Plugin Dev
  • Premium Supporter
  • May 8, 2008
    557
    300
    Lake of Constance
    Home Country
    Germany Germany
    If WIFI Remote is the reason, then perhaps I can add the enum back and mark it as obsolete so it works okay with it. But I need to be sure that is the problem, I will also check out the source code if it is.

    Hi There,

    yes, WifiRemote is the problem here. I access the Trakt plugin directly to allow WifiRemote clients to display the rating dialog, too.
    This is broken now with the changed enum namespace :) @ltfearme I can publish an update for WifiRemote with a fix. Do you know the commit (or plugin version) where you changed the enum?

    Sorry for the inconvenience, guys!


    Edit: I guess it's this commit here: https://github.com/Technicolour/Tra...mmit/8a87243fb435e83913744caa8ad95a4f441cc8ee
     

    Users who are viewing this thread

    Top Bottom