jant90 15 Posted September 19, 2016 Share Posted September 19, 2016 I just finished a clean Emby install and I would like to sync my watched status from Trakt.tv back to my Emby library. Whenever I execute "Import playstates from Trakt.tv" it finishes almost immediately but nothing happened. The log shows errors. The scheduled task "Sync library to trakt.tv" always fails. I've attached a log file for both problems. I run a clean install of Ubuntu Server 16.04 LTS. Can I fix this myself, perhaps by installing some dependency or is this a bug in the Trakt plugin? import_playstates.txt sync_library.txt Link to comment Share on other sites More sharing options...
Luke 37096 Posted September 19, 2016 Share Posted September 19, 2016 Hi, it's returning errors about unauthorized so i would double check your trakt login information on the plugin's setup page. 1 Link to comment Share on other sites More sharing options...
jant90 15 Posted September 19, 2016 Author Share Posted September 19, 2016 Thanks. It looks like Chrome's autocomplete messed things up, sorry about that :facepalm:. Link to comment Share on other sites More sharing options...
Luke 37096 Posted September 19, 2016 Share Posted September 19, 2016 Thanks for reporting back. Link to comment Share on other sites More sharing options...
Trevor68 48 Posted October 8, 2016 Share Posted October 8, 2016 I think I have a similiar error, but I have been to trak and changed my password, with no improvement. Do they need an API now, as I note my account has no "connected apps" 2016-10-08 11:50:45.5318 Error TaskManager: Error *** Error Report *** Version: 3.1.181.0 Command line: C:\Users\Theatre\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1 Processor count: 4 64-Bit OS: True 64-Bit Process: True Program data path: C:\Users\Theatre\AppData\Roaming\MediaBrowser-Server Application Path: C:\Users\Theatre\AppData\Roaming\MediaBrowser-Server\System\MediaBrowser.ServerApplication.exe One or more errors occurred. MediaBrowser.Model.Net.HttpException at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsync>d__7.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<Get>d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Trakt.Api.TraktApi.<GetFromTrakt>d__27.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Trakt.Api.TraktApi.<SendGetAllWatchedMoviesRequest>d__18.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at Trakt.ScheduledTasks.SyncLibraryTask.<SyncUserLibrary>d__9.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Trakt.ScheduledTasks.SyncLibraryTask.<Execute>d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediaBrowser.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__b.MoveNext() InnerException: System.AggregateException One or more errors occurred. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__1d.MoveNext() InnerException: System.Net.WebException The remote server returned an error: (401) Unauthorized. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) 2016-10-08 11:50:45.5318 Info TaskManager: Sync library to trakt.tv Failed after 0 minute(s) and 14 seconds 2016-10-08 11:50:45.5468 Info ServerManager: Sending web socket message NotificationAdded 2016-10-08 11:50:45.5468 Info ServerManager: Sending web socket message ScheduledTaskEnded 2016-10-08 11:50:45.5468 Info TaskManager: ExecuteQueuedTasks 2016-10-08 11:50:45.5678 Info HttpServer: HTTP GET http://localhost:8096/emby/Notifications/0f58f1dfe6b3e4dfb3db5bbb6d6fbefb/Summary. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 2016-10-08 11:50:45.5898 Info HttpServer: HTTP Response 200 to ::1. Time: 22ms. http://localhost:8096/emby/Notifications/0f58f1dfe6b3e4dfb3db5bbb6d6fbefb/Summary 2016-10-08 11:50:50.8531 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Logs. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 2016-10-08 11:50:50.8531 Info HttpServer: HTTP Response 200 to ::1. Time: 6ms. http://localhost:8096/emby/System/Logs 2016-10-08 11:50:50.8531 Info HttpServer: HTTP GET http://localhost:8096/emby/System/Configuration. UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 2016-10-08 11:50:50.8531 Info HttpServer: HTTP Response 200 to ::1. Time: 4ms. http://localhost:8096/emby/System/Configuration Link to comment Share on other sites More sharing options...
Luke 37096 Posted October 8, 2016 Share Posted October 8, 2016 make sure you configure your trakt login and password in the emby trakt plugin settings. Link to comment Share on other sites More sharing options...
Trevor68 48 Posted October 8, 2016 Share Posted October 8, 2016 Yes, having read above I even changed my password over at Trak to be absolutely sure it's not wrong. Tak hasn't worked for me for years now, no-one has ever offered a solution, but seeing as it works for some I keep plugging away at it now and then. I went thru the whole new account at tralk awhile ago, no change. Today I uninstalled and reinstalled the plugin, again no change. I can tell you the difference between a correct and an incorrect password though, it tries to sync for about 20 seconds longer with the correct one. Link to comment Share on other sites More sharing options...
Trevor68 48 Posted October 8, 2016 Share Posted October 8, 2016 Ok, MCM is still happily adding everything to Trak as it fetches, so I am going to assume this is only a Emby Plugin Problem. I noticed after I deleted it came back populated with info, is there somewhere I can manually delete the plugin? Link to comment Share on other sites More sharing options...
Luke 37096 Posted October 8, 2016 Share Posted October 8, 2016 You can learn how to uninstall plugins on our wiki: https://github.com/MediaBrowser/Wiki/wiki/Plugins Link to comment Share on other sites More sharing options...
Trevor68 48 Posted October 8, 2016 Share Posted October 8, 2016 (edited) Did you even read that page? I have uninstalled the plugin and reinstalled it, it comes back prepoluated, hence there is an actual FILE somewhere I should likely delete I'm guessing. I'm just doing any troubleshooting I can think of because no one here has any other real suggestions. Seriously, this hasn't worked for years, everyone hear keeps blaming Trak, yet I have other software that utlises Trak just fine. This actually worked awesome many years ago, then just stopped working when Trak released API 2.0 Edited October 8, 2016 by Trevor68 Link to comment Share on other sites More sharing options...
Luke 37096 Posted October 8, 2016 Share Posted October 8, 2016 If you're having trouble uninstalling the plugin, please provide the server log so that we can try to find out why. Perhaps there is something else going on. Instructions are here: https://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ Thanks. Link to comment Share on other sites More sharing options...
ebr 14924 Posted October 9, 2016 Share Posted October 9, 2016 Plug-in configurations are not removed when you uninstall them. This is by design so that you don't lose a complex configuration. Under the plugins folder there is a configurations folder. Find the appropriate file in there and remove it. Link to comment Share on other sites More sharing options...
Trevor68 48 Posted October 9, 2016 Share Posted October 9, 2016 Thanks, I figured it had to be something like that, will give it a shot tonight. Link to comment Share on other sites More sharing options...
Trevor68 48 Posted October 10, 2016 Share Posted October 10, 2016 Thanks ebr, a clean reinstall (delete trakt.xml) and it's all working again :-) Link to comment Share on other sites More sharing options...
Luke 37096 Posted November 15, 2016 Share Posted November 15, 2016 Well done! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now