[solved] - [WIFIREMOTE] Crash occurs when showing rate dialog after watching episode

Discussion in 'Trakt' started by ajs, January 9, 2015.

  1. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    7,737
    Likes Received:
    2,041
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +3,824 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    After watching episode :( crash, no rate dialog show :(
    Code (Text):
    1.  
    2. 2015-01-09 22:14:55.316 [INFO] [MPMain][01]: Starting Trakt plugin. Version = '5.0.4.0', Date = '2015-01-09'
    3. ...
    4. 2015-01-09 23:03:28.043 [INFO] [MPMain][01]: Playback of MP-TVSeries episode stopped and considered watched. Title = 'Библиотекари - 1x5 - ...и Яблоко раздора', PlayList Item = 'False'
    5. 2015-01-09 23:03:28.053 [DEBG] [Scrobble][68]: Showing rate dialog for episode. Title = 'Библиотекари - 1x5 - ...и Яблоко раздора'
    6. 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 (Text):
    1. [2015-01-09 23:03:28,323] [Error  ] [Rate     ] [ERROR] - MediaPortal: Unhandled exception occured
    2. [2015-01-09 23:03:28,353] [Log    ] [Rate     ] [ERROR] - Exception: System.MissingMethodException: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.
    3.    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    4.    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    5.    at TraktPlugin.GUI.GUIUtils.ShowRateDialog[T](T rateObject)
    6.    at TraktPlugin.TraktHandlers.TVSeries.<>c__DisplayClassf8.<ShowRateDialog>b__f7(Object o)
    7.    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    8.    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    9.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    10.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    11.    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)
    12.    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    13.    at TraktPlugin.GUI.GUIUtils.ShowRateDialog[T](T rateObject)
    14.    at TraktPlugin.TraktHandlers.TVSeries.<>c__DisplayClassf8.<ShowRateDialog>b__f7(Object o)
    15.    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    16.    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    17.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    18.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    19.    at System.Threading.ThreadHelper.ThreadStart(Object obj)
    Code (Text):
    1. 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
    2. 2015-01-09 23:03:27.963 [INFO][01]: This episode counts as watched
    3. 2015-01-09 23:03:28.043 [INFO][01]: Episode has already been rated or option not set
    4. 2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.ClearArt
    5. 2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.ClearLogo
    6. 2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.CD
    7. 2015-01-09 23:03:28.053 [DEBG][01]: Clearing play image for property #TVSeries.Play.CDSeason
    8. 2015-01-09 23:03:28.303 [DEBG][01]: OnPageLoad() started.
    9. 2015-01-09 23:03:28.303 [DEBG][01]: LoadFacade: ListLevel: Episode
    10. 2015-01-09 23:03:28.303 [DEBG][57]: Begin Loading of Facade
    11. 2015-01-09 23:03:28.303 [DEBG][57]: View: Get Episodes
    12. 2015-01-09 23:03:28.303 [INFO][01]: Disabling native autoplay.
    13. 2015-01-09 23:03:28.303 [DEBG][01]: OnPageLoad() completed.
    14. 2015-01-09 23:03:28.303 [DEBG][57]: View: Get Episodes: Executing SQL
    15. 2015-01-09 23:03:28.313 [DEBG][57]: View: Sorting Episodes
    16. 2015-01-09 23:03:28.313 [DEBG][57]: Displaying 5 episodes from Библиотекари
    17. 2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x1 - ...и Корона короля Артура (1) to list
    18. 2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x2 - ...и Меч в камне (2) to list
    19. 2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x3 - ...и Меж двух зол to list
    20. 2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x4 - ...и Ночные хлопоты Санты to list
    21. 2015-01-09 23:03:28.313 [DEBG][57]: Adding episode Библиотекари - 1x5 - ...и Яблоко раздора to list
    22. 2015-01-09 23:03:28.313 [DEBG][57]: LoadFacade: Finish
    23. 2015-01-09 23:03:28.323 [DEBG][01]: Element Selection: 4
    24. 2015-01-09 23:03:28.323 [DEBG][01]: Watch: Started: 1 time(s) - Elapsed: 17ms (17486 µs) -> 17 ms (17486 µs)/start "FacadeLoading"
    25. 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"
    26. 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"
    27. 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"
    28. 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"
    29. 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"
    30. 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"
    31. 2015-01-09 23:03:28.323 [DEBG][01]: Background Load Facade Complete
    32. 2015-01-09 23:03:28.323 [DEBG][01]: Testing logos for item of type Episode
    33. 2015-01-09 23:03:28.353 [DEBG][01]: Testing logos for item of type Episode
    34. 2015-01-09 23:03:28.353 [DEBG][64]: Found 3 Fanart from Database
    35. 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
    36.  



     
    • Thank You! Thank You! x 1
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,384
    Likes Received:
    4,164
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,277 / 0
    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: January 9, 2015
  4. tony3ridge
    • Premium Supporter

    tony3ridge MP Donator

    Joined:
    June 1, 2012
    Messages:
    243
    Likes Received:
    46
    Gender:
    Male
    Ratings:
    +84 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Hi,I have same issue, after watching series episode, MP crashes


    Regards
     
    • Thank You! Thank You! x 2
  5. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,384
    Likes Received:
    4,164
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,277 / 0
    Home Country:
    Australia Australia
    Im scratching my head figuring out how this could be possible...
     
    • Funny Funny x 1
  6. tony3ridge
    • Premium Supporter

    tony3ridge MP Donator

    Joined:
    June 1, 2012
    Messages:
    243
    Likes Received:
    46
    Gender:
    Male
    Ratings:
    +84 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Also crashes after watching a movie :-(
     
    Last edited by a moderator: January 9, 2015
    • Thank You! Thank You! x 1
    • Informative Informative x 1
  7. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    7,737
    Likes Received:
    2,041
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +3,824 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Full log
     
    • Thank You! Thank You! x 1
  8. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,384
    Likes Received:
    4,164
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,277 / 0
    Home Country:
    Australia Australia
    Okay, turn off auto-rate until I figure out what the issue is.
     
  9. tony3ridge
    • Premium Supporter

    tony3ridge MP Donator

    Joined:
    June 1, 2012
    Messages:
    243
    Likes Received:
    46
    Gender:
    Male
    Ratings:
    +84 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Thanks, that's stopped the crashing (y)
     
    • Agree Agree x 1
  10. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,384
    Likes Received:
    4,164
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,277 / 0
    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?
     
  11. tony3ridge
    • Premium Supporter

    tony3ridge MP Donator

    Joined:
    June 1, 2012
    Messages:
    243
    Likes Received:
    46
    Gender:
    Male
    Ratings:
    +84 / 0
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    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
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!