[solved] [WIFIREMOTE] Crash occurs when showing rate dialog after watching episode (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,499
    10,378
    Kyiv
    Home Country
    Ukraine Ukraine
    * Fixed a crash that could occur after watching an episode or movie from your favourte plugins.
    After watching episode :( crash, no rate dialog show :(
    Code:
    2015-01-09 22:14:55.316 [INFO] [MPMain][01]: Starting Trakt plugin. Version = '5.0.4.0', Date = '2015-01-09'
    ...
    2015-01-09 23:03:28.043 [INFO] [MPMain][01]: Playback of MP-TVSeries episode stopped and considered watched. Title = 'Библиотекари - 1x5 - ...и Яблоко раздора', PlayList Item = 'False'
    2015-01-09 23:03:28.053 [DEBG] [Scrobble][68]: Showing rate dialog for episode. Title = 'Библиотекари - 1x5 - ...и Яблоко раздора'
    2015-01-09 23:03:28.053 [DEBG] [Scrobble][68]: Address: http://api.trakt.tv/scrobble/stop, Post: {"app_date":"2015-01-09","app_version":"5.0.4.0","progress":100.9,"episode":{"ids":{"slug":null,"trakt":null,"imdb":null,"tmdb":null,"tvdb":4949447,"tvrage":null},"number":5,"season":1,"title":"...и Яблоко раздора"},"show":{"ids":{"slug":null,"trakt":null,"imdb":"tt3663490","tmdb":null,"tvdb":281709,"tvrage":null},"title":"The Librarians (2014)","year":2014}}

    Code:
    [2015-01-09 23:03:28,323] [Error  ] [Rate     ] [ERROR] - MediaPortal: Unhandled exception occured
    [2015-01-09 23:03:28,353] [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.GUIUtils.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.GUIUtils.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-09 23:03:27.963 [INFO][01]: Playback ended for: M:\Video\Series\Библиотекари - The Librarians\Season 1\The.Librarians.S01E05.rus.LostFilm.TV.avi
    2015-01-09 23:03:27.963 [INFO][01]: This episode counts as watched
    2015-01-09 23:03:28.043 [INFO][01]: Episode has already been rated or option not set
    2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.ClearArt
    2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.ClearLogo
    2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.CD
    2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.CDSeason
    2015-01-09 23:03:28.303 [DEBG][01]: OnPageLoad() started.
    2015-01-09 23:03:28.303 [DEBG][01]: LoadFacade: ListLevel: Episode
    2015-01-09 23:03:28.303 [DEBG][57]: Begin Loading of Facade
    2015-01-09 23:03:28.303 [DEBG][57]: View: Get Episodes
    2015-01-09 23:03:28.303 [INFO][01]: Disabling native autoplay.
    2015-01-09 23:03:28.303 [DEBG][01]: OnPageLoad() completed.
    2015-01-09 23:03:28.303 [DEBG][57]: View: Get Episodes: Executing SQL
    2015-01-09 23:03:28.313 [DEBG][57]: View: Sorting Episodes
    2015-01-09 23:03:28.313 [DEBG][57]: Displaying 5 episodes from Библиотекари
    2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x1 - ...и Корона короля Артура (1) to list
    2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x2 - ...и Меч в камне (2) to list
    2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x3 - ...и Меж двух зол to list
    2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x4 - ...и Ночные хлопоты Санты to list
    2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x5 - ...и Яблоко раздора to list
    2015-01-09 23:03:28.313 [DEBG][57]: LoadFacade: Finish
    2015-01-09 23:03:28.323 [DEBG][01]: Element Selection: 4
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 17ms (17486 µs) -> 17 ms (17486 µs)/start "FacadeLoading"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 11ms (11644 µs) -> 11 ms (11644 µs)/start "FacadeLoading BG Thread"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 11ms (11502 µs) -> 11 ms (11502 µs)/start "FacadeLoading getting/reporting items"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 7 time(s) - Elapsed: 0ms (333 µs) -> 0 ms (47 µs)/start "FacadeLoading changed"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 0ms (92 µs) -> 0 ms (92 µs)/start "FacadeMode - switch to List"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 5 time(s) - Elapsed: 0ms (10 µs) -> 0 ms (2 µs)/start "FacadeLoading addElem"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 6ms (6221 µs) -> 6 ms (6221 µs)/start "add to TextureManager"
    2015-01-09 23:03:28.323 [DEBG][01]: Background Load Facade Complete
    2015-01-09 23:03:28.323 [DEBG][01]: Testing logos for item of type Episode
    2015-01-09 23:03:28.353 [DEBG][01]: Testing logos for item of type Episode
    2015-01-09 23:03:28.353 [DEBG][64]: Found 3 Fanart from Database
    2015-01-09 23:03:28.353 [DEBG][64]: Fanart found and loaded for series Библиотекари, loading: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\281709-4.jpg
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    I currently can not see how that could happen.

    From that call stack I can see that the rate dialog is being invoked but its throwing a method not found exception (It thinks that the return value TraktRateValue is in the old namespace). The only way I can see that occurring is if you were using the old plugin but your little log snipet shows you are using the latest.

    The trakt plugin is calling its own method, I would not of been able to compile the dll in this case. If the show rate dialog was being called externally then I could see this as a possibility but it is not.

    Does any one else experience this? I am unable to reproduce.
     
    Last edited:

    tony3ridge

    MP Donator
  • Premium Supporter
  • June 1, 2012
    243
    85
    Home Country
    United Kingdom United Kingdom
    * Fixed a crash that could occur after watching an episode or movie from your favourte plugins.
    After watching episode :( crash, no rate dialog show :(
    Code:
    2015-01-09 22:14:55.316 [INFO] [MPMain][01]: Starting Trakt plugin. Version = '5.0.4.0', Date = '2015-01-09'
    ...
    2015-01-09 23:03:28.043 [INFO] [MPMain][01]: Playback of MP-TVSeries episode stopped and considered watched. Title = 'Библиотекари - 1x5 - ...и Яблоко раздора', PlayList Item = 'False'
    2015-01-09 23:03:28.053 [DEBG] [Scrobble][68]: Showing rate dialog for episode. Title = 'Библиотекари - 1x5 - ...и Яблоко раздора'
    2015-01-09 23:03:28.053 [DEBG] [Scrobble][68]: Address: http://api.trakt.tv/scrobble/stop, Post: {"app_date":"2015-01-09","app_version":"5.0.4.0","progress":100.9,"episode":{"ids":{"slug":null,"trakt":null,"imdb":null,"tmdb":null,"tvdb":4949447,"tvrage":null},"number":5,"season":1,"title":"...и Яблоко раздора"},"show":{"ids":{"slug":null,"trakt":null,"imdb":"tt3663490","tmdb":null,"tvdb":281709,"tvrage":null},"title":"The Librarians (2014)","year":2014}}

    Code:
    [2015-01-09 23:03:28,323] [Error  ] [Rate     ] [ERROR] - MediaPortal: Unhandled exception occured
    [2015-01-09 23:03:28,353] [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.GUIUtils.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.GUIUtils.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-09 23:03:27.963 [INFO][01]: Playback ended for: M:\Video\Series\Библиотекари - The Librarians\Season 1\The.Librarians.S01E05.rus.LostFilm.TV.avi
    2015-01-09 23:03:27.963 [INFO][01]: This episode counts as watched
    2015-01-09 23:03:28.043 [INFO][01]: Episode has already been rated or option not set
    2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.ClearArt
    2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.ClearLogo
    2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.CD
    2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.CDSeason
    2015-01-09 23:03:28.303 [DEBG][01]: OnPageLoad() started.
    2015-01-09 23:03:28.303 [DEBG][01]: LoadFacade: ListLevel: Episode
    2015-01-09 23:03:28.303 [DEBG][57]: Begin Loading of Facade
    2015-01-09 23:03:28.303 [DEBG][57]: View: Get Episodes
    2015-01-09 23:03:28.303 [INFO][01]: Disabling native autoplay.
    2015-01-09 23:03:28.303 [DEBG][01]: OnPageLoad() completed.
    2015-01-09 23:03:28.303 [DEBG][57]: View: Get Episodes: Executing SQL
    2015-01-09 23:03:28.313 [DEBG][57]: View: Sorting Episodes
    2015-01-09 23:03:28.313 [DEBG][57]: Displaying 5 episodes from Библиотекари
    2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x1 - ...и Корона короля Артура (1) to list
    2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x2 - ...и Меч в камне (2) to list
    2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x3 - ...и Меж двух зол to list
    2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x4 - ...и Ночные хлопоты Санты to list
    2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x5 - ...и Яблоко раздора to list
    2015-01-09 23:03:28.313 [DEBG][57]: LoadFacade: Finish
    2015-01-09 23:03:28.323 [DEBG][01]: Element Selection: 4
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 17ms (17486 µs) -> 17 ms (17486 µs)/start "FacadeLoading"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 11ms (11644 µs) -> 11 ms (11644 µs)/start "FacadeLoading BG Thread"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 11ms (11502 µs) -> 11 ms (11502 µs)/start "FacadeLoading getting/reporting items"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 7 time(s) - Elapsed: 0ms (333 µs) -> 0 ms (47 µs)/start "FacadeLoading changed"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 0ms (92 µs) -> 0 ms (92 µs)/start "FacadeMode - switch to List"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 5 time(s) - Elapsed: 0ms (10 µs) -> 0 ms (2 µs)/start "FacadeLoading addElem"
    2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 6ms (6221 µs) -> 6 ms (6221 µs)/start "add to TextureManager"
    2015-01-09 23:03:28.323 [DEBG][01]: Background Load Facade Complete
    2015-01-09 23:03:28.323 [DEBG][01]: Testing logos for item of type Episode
    2015-01-09 23:03:28.353 [DEBG][01]: Testing logos for item of type Episode
    2015-01-09 23:03:28.353 [DEBG][64]: Found 3 Fanart from Database
    2015-01-09 23:03:28.353 [DEBG][64]: Fanart found and loaded for series Библиотекари, loading: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\Fan Art\fanart\original\281709-4.jpg

    Hi,I have same issue, after watching series episode, MP crashes


    Regards
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,751
    7,196
    Sydney
    Home Country
    Australia Australia
    @ajs or @tony3ridge,

    can you please confirm there is no older TraktPlugin.dll in any of your working folders? e.g.

    C:\Program Files\Team MediaPortal\MediaPortal
    C:\Program Files\Team MediaPortal\MediaPortal\Plugins\Windows
    C:\Program Files\Team MediaPortal\MediaPortal\Plugins\Process

    or

    C:\Program Files (x86)\Team MediaPortal\MediaPortal
    C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\Windows
    C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\Process

    Maybe you could of renamed an old one as well?
     

    tony3ridge

    MP Donator
  • Premium Supporter
  • June 1, 2012
    243
    85
    Home Country
    United Kingdom United Kingdom
    @ajs or @tony3ridge,

    can you please confirm there is no older TraktPlugin.dll in any of your working folders? e.g.

    C:\Program Files\Team MediaPortal\MediaPortal
    C:\Program Files\Team MediaPortal\MediaPortal\Plugins\Windows
    C:\Program Files\Team MediaPortal\MediaPortal\Plugins\Process

    or

    C:\Program Files (x86)\Team MediaPortal\MediaPortal
    C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\Windows
    C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\Process

    Maybe you could of renamed an old one as well?

    TraktPlugin.dll seems to be up to date, only traktplugin.dll I could find was in C:\Program Files (x86)\Team MediaPortal\MediaPortal\Plugins\Windows
     

    Users who are viewing this thread

    Top Bottom