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

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

  1. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,560
    Likes Received:
    4,426
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,646 / 0
    Home Country:
    Australia Australia
    Thanks @Shukuyen,

    If you can push a new release that would be helpful, it will save me putting back the enum into the old namespace.

     
    • Like Like 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,560
    Likes Received:
    4,426
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,646 / 0
    Home Country:
    Australia Australia
    @ajs,

    Can you please test the dll attached, I put back the ENUM that causes issues with WIFIREMOTE (cross fingers it works). If it works okay, then I can make a release with that change and save @Shukuyen the work. It will also be good for me not seeing that crash report :)

    Things to test:
    1. Auto-Rate Dialog after episode or movie has finished.
    2. Rating is accurately sent to trakt.tv
    3. Manual Trakt rate dialog works as expected e.g. trakt context menu from movingpics/myvideos details view -> rate.

    Don't forget to ENABLE WIFIREMOTE for the tests!
     

    Attached Files:

    Last edited: January 15, 2015
    • Thank You! Thank You! x 2
    • Informative Informative x 1
  4. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,560
    Likes Received:
    4,426
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,646 / 0
    Home Country:
    Australia Australia
    @ajs, have you had time to test this yet and report result?
     
    • Agree Agree x 1
  5. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,829
    Likes Received:
    2,792
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,797 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    In the evening, try. Now at work. :coffee:
     
  6. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,829
    Likes Received:
    2,792
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,797 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Auto-Rate after Video (MyVideo)
    Code (Text):
    1. [2015-01-16 23:27:48,159] [Log    ] [47       ] [DEBUG] - [WIFI_REMOTE]  Stop now-playing update thread
    2. [2015-01-16 23:27:48,409] [Log    ] [MPMain   ] [DEBUG] - WindowManager: route MediaPortal.GUI.Video.GUIVideoFiles:6->TraktPlugin.GUI.GUIRateDialog:87300
    3. [2015-01-16 23:27:48,410] [Log    ] [MPMain   ] [DEBUG] - [WIFI_REMOTE]  Sending dialog open to clients
    4. [2015-01-16 23:27:48,416] [Error  ] [Rate     ] [ERROR] - MediaPortal: Unhandled exception occured
    5. [2015-01-16 23:27:48,422] [Log    ] [Rate     ] [ERROR] - Exception: System.MissingMethodException: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.
    6.    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    7.    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    8.    at TraktPlugin.GUI.GUIUtils.ShowRateDialog[T](T rateObject)
    9.    at TraktPlugin.TraktHandlers.MyVideos.<>c__DisplayClass4c.<ShowRateDialog>b__4b(Object o)
    10.    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    11.    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    12.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    13.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    14.    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)
    15.    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    16.    at TraktPlugin.GUI.GUIUtils.ShowRateDialog[T](T rateObject)
    17.    at TraktPlugin.TraktHandlers.MyVideos.<>c__DisplayClass4c.<ShowRateDialog>b__4b(Object o)
    18.    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    19.    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    20.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    21.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    22.    at System.Threading.ThreadHelper.ThreadStart(Object obj)
    23.  
    Auto-Rate after TVSeries:
    Code (Text):
    1. [2015-01-16 20:54:48,133] [Log    ] [MPMain   ] [DEBUG] - TextureManagerEx: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogo480xvidmp32.0widescreennosubtitles.png]
    2. [2015-01-16 20:54:48,133] [Log    ] [FileExistsCache Thread] [DEBUG] - FileExistsCacheThread: new items found waiting for caching: 1
    3. [2015-01-16 20:54:48,134] [Log    ] [FileExistsCache Thread] [DEBUG] - FileExistsCacheThread: no more items to cache, suspending thread.: 1
    4. [2015-01-16 20:54:48,175] [Log    ] [MPMain   ] [DEBUG] - Window: WindowPlugins.GUITVSeries.TVSeriesPlugin init
    5. [2015-01-16 20:54:48,202] [Log    ] [MPMain   ] [DEBUG] - WindowManager: route WindowPlugins.GUITVSeries.TVSeriesPlugin:9811->TraktPlugin.GUI.GUIRateDialog:87300
    6. [2015-01-16 20:54:48,203] [Log    ] [MPMain   ] [DEBUG] - [WIFI_REMOTE]  Sending dialog open to clients
    7. [2015-01-16 20:54:48,209] [Error  ] [Rate     ] [ERROR] - MediaPortal: Unhandled exception occured
    8. [2015-01-16 20:54:48,212] [Log    ] [Rate     ] [ERROR] - Exception: System.MissingMethodException: Method not found: 'TraktPlugin.TraktAPI.TraktRateValue TraktPlugin.GUI.GUIRateDialog.get_Rated()'.
    9.    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    10.    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    11.    at TraktPlugin.GUI.GUIUtils.ShowRateDialog[T](T rateObject)
    12.    at TraktPlugin.TraktHandlers.TVSeries.<>c__DisplayClassf8.<ShowRateDialog>b__f7(Object o)
    13.    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    14.    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    15.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    16.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    17.    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)
    18.    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    19.    at TraktPlugin.GUI.GUIUtils.ShowRateDialog[T](T rateObject)
    20.    at TraktPlugin.TraktHandlers.TVSeries.<>c__DisplayClassf8.<ShowRateDialog>b__f7(Object o)
    21.    at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
    22.    at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    23.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
    24.    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
    25.    at System.Threading.ThreadHelper.ThreadStart(Object obj)
    26. [2015-01-16 20:54:48,212] [Log    ] [MPMain   ] [DEBUG] - TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogo480xvidmp32.0widescreennosubtitles.png]
    27. [2015-01-16 20:54:48,217] [Log    ] [MPMain   ] [DEBUG] - TextureManager: load from memory: [TVSeries:C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\TVSeriesDynLogo480xvidmp32.0widescreennosubtitles.png]
    28. [2015-01-16 20:54:48,424] [Log    ] [60       ] [DEBUG] - [WIFI_REMOTE]  Stop now-playing update thread
    29. [2015-01-16 20:54:49,163] [Log    ] [FileSystemManager Thread] [DEBUG] - FileSystemWatchManagerThread : updating watchers
    30. [2015-01-16 20:54:49,224] [Log    ] [FileSystemManager Thread] [DEBUG] - FileLookUpCacheThread items : 90857
    31.  
    No rating and watched send to Trakt :( But sync after restart MP.

    PS:
    Code (Text):
    1. [2015-01-16 20:57:44,047] [Log    ] [MPMain   ] [INFO ] - PluginManager: Plugin: 'C:\Team MediaPortal\MediaPortal\Plugins\process\WifiRemote.dll' / Version: 0.8.2.0
    2.  
     
  7. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,560
    Likes Received:
    4,426
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,646 / 0
    Home Country:
    Australia Australia
    Sorry @ajs, I gave you the wrong dll. Mixed up between threads.

    I have re-compiled to be sure this time.
     

    Attached Files:

    • Like Like x 2
  8. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,829
    Likes Received:
    2,792
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,797 / 30
    Home Country:
    Ukraine Ukraine
    Show System Specs
    Unfortunately, I'm going to sleep already. To work tomorrow, I'll try to check tomorrow night. :whistle:
     
  9. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,560
    Likes Received:
    4,426
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,646 / 0
    Home Country:
    Australia Australia
    @ajs, I just installed WIFIREMOTE to test.

    It looks like there is more issues, so looking into this now see if something can be done easily.

    Next issues was a removed property 'ShowAdvancedRatings'. For @Shukuyen benefit I readded the property and marked it as obsolete.
     
    Last edited: January 16, 2015
    • Like Like x 1
    • Great Idea! Great Idea! x 1
  10. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,560
    Likes Received:
    4,426
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,646 / 0
    Home Country:
    Australia Australia
    Final build attached, with backwards compatibility for WIFIREMOTE.
     

    Attached Files:

    • Thank You! Thank You! x 3
  11. ltfearme
    • Premium Supporter

    ltfearme Community Plugin Dev

    Joined:
    June 10, 2007
    Messages:
    6,560
    Likes Received:
    4,426
    Gender:
    Male
    Occupation:
    Software Test Engineer
    Location:
    Sydney
    Ratings:
    +5,646 / 0
    Home Country:
    Australia Australia
    Official release out v5.0.6 with fix for this.
     
    • Thank You! Thank You! x 2
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!