Jump to content

Trakt sync issues


serenaender

Recommended Posts

serenaender

Hi,

 

Since I have reinstalled my emby server, due to a new OS installation, I can't sync my media with the trakt plugin. I get this errorr in both tasks (Import playsets and Sync) Value cannot be null:

2017-03-07 09:11:18.6049 Info TaskManager: Executing Import playstates from Trakt.tv2017-03-07 09:11:18.6049 Info HttpServer: HTTP Response 204 to ::1. Time: 1ms. http://localhost:8096/emby/ScheduledTasks/Running/5e47e7d3542ace9c367691a65cb31e862017-03-07 09:11:18.6049 Error TaskManager: Error	*** Error Report ***	Version: 3.2.5.0	Command line: C:\Users\jsc_e\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe	Operating system: Microsoft Windows NT 6.2.9200.0	64-Bit OS: True	64-Bit Process: True	Processor count: 8	Program data path: C:\Users\jsc_e\AppData\Roaming\Emby-Server	Application directory: C:\Users\jsc_e\AppData\Roaming\Emby-Server\System	System.ArgumentNullException: El valor no puede ser nulo.	Nombre del parámetro: g	   en System.Guid..ctor(String g)	   en Trakt.Helpers.UserHelper.<>c__DisplayClass0_0.<GetTraktUser>b__0(TraktUser tUser)	   en System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)	   en Trakt.ScheduledTasks.SyncFromTraktTask.<>c.<Execute>b__6_0(User u)	   en System.Linq.Enumerable.WhereListIterator`1.MoveNext()	   en System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)	   en System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)	   en Trakt.ScheduledTasks.SyncFromTraktTask.<Execute>d__6.MoveNext()	--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---	   en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)	   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)	   en Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()	System.ArgumentNullException	   en System.Guid..ctor(String g)	   en Trakt.Helpers.UserHelper.<>c__DisplayClass0_0.<GetTraktUser>b__0(TraktUser tUser)	   en System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)	   en Trakt.ScheduledTasks.SyncFromTraktTask.<>c.<Execute>b__6_0(User u)	   en System.Linq.Enumerable.WhereListIterator`1.MoveNext()	   en System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)	   en System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)	   en Trakt.ScheduledTasks.SyncFromTraktTask.<Execute>d__6.MoveNext()	--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---	   en System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)	   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)	   en Emby.Common.Implementations.ScheduledTasks.ScheduledTaskWorker.<ExecuteInternal>d__68.MoveNext()	2017-03-07 09:11:18.6049 Info TaskManager: Import playstates from Trakt.tv Failed after 0 minute(s) and 0 seconds2017-03-07 09:11:18.6049 Info HttpServer: HTTP GET http://localhost:8096/emby/ScheduledTasks?isHidden=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.02017-03-07 09:11:18.6119 Info ServerManager: Sending web socket message NotificationAdded2017-03-07 09:11:18.6119 Info ServerManager: Sending web socket message ScheduledTaskEnded2017-03-07 09:11:18.6119 Info TaskManager: ExecuteQueuedTasks2017-03-07 09:11:18.6430 Info HttpServer: HTTP GET http://localhost:8096/emby/Notifications/485a7cad442a47ec90a76d35cfe81884/Summary. UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.02017-03-07 09:11:18.6430 Info HttpServer: HTTP Response 200 to ::1. Time: 35ms. http://localhost:8096/emby/ScheduledTasks?isHidden=false2017-03-07 09:11:18.6430 Info HttpServer: HTTP Response 200 to ::1. Time: 2ms. http://localhost:8096/emby/Notifications/485a7cad442a47ec90a76d35cfe81884/Summary

I have reinstalled the plugin, the emby server, tried to clean de library, added only few folders to the library, even with the library empty and I always get the same error.

 

Regards,

Link to comment
Share on other sites

Try shutting down the server, then deleting the trakt config file at

C:\Users\jsc_e\AppData\Roaming\Emby-Server\plugins\configurations

then start up and configure again.

Link to comment
Share on other sites

serenaender

Try shutting down the server, then deleting the trakt config file at

C:\Users\jsc_e\AppData\Roaming\Emby-Server\plugins\configurations

then start up and configure again.

 

Done it, but the jobs are still failing with the same error.

Link to comment
Share on other sites

serenaender

Hi,

 

This is the trakt xml. I only have edited the username and the password.

 

<?xml version="1.0"?>
<PluginConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <TraktUsers>
    <TraktUser>
      <UserName>#########</UserName>
      <Password>#########</Password>
      <UsesAdvancedRating>false</UsesAdvancedRating>
      <SkipUnwatchedImportFromTrakt>false</SkipUnwatchedImportFromTrakt>
      <PostWatchedHistory>true</PostWatchedHistory>
      <ExtraLogging>true</ExtraLogging>
      <ExportMediaInfo>true</ExportMediaInfo>
      <LocationsExcluded />
    </TraktUser>
  </TraktUsers>
</PluginConfiguration>

 

Many thanks.

Link to comment
Share on other sites

serenaender

It was using the web interface. I haven't touched the xml configuration file. These are the options configured right now.

 

58bf2f59d713a_ScreenShot030717at1106PM.p

Link to comment
Share on other sites

serenaender

Hi,

 

Now, with the new emby server and trakt plugins updates is working again.

 

Many thanks.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...