Jump to content


Photo

Trakt sync failed: Value cannot be null. parentPath

trakt

  • Please log in to reply
34 replies to this topic

#1 eNES0nsEsK OFFLINE  

eNES0nsEsK

    Newbie

  • Members
  • 9 posts
  • Local time: 04:03 PM

Posted 21 November 2016 - 11:02 AM

Hi,

 

I'm new to Trakt.tv. I've installed the plugin onto Emby which is running on a FreeNAS box.

I am tring to initiate a sync on the Scheduled Tasks page but it fails. I get the following message about the problem,

 

Sync library to trakt.tv failed.
a minute ago
Value cannot be null. Parameter name: parentPath

 

I have double checked to confirm I'm using the correct username and password in the Trakt plugin settings. I can log into track.tv okay.

 

Can anyone tell me what the parentPath parameter is please?

 

Regards,

 

eNES0nsEsK



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157196 posts
  • Local time: 11:03 AM

Posted 21 November 2016 - 01:20 PM

Hi there, welcome! We're sorry to hear about this . In order to best help you, please provide the information requested in how to report a problem. Thanks !



#3 eNES0nsEsK OFFLINE  

eNES0nsEsK

    Newbie

  • Members
  • 9 posts
  • Local time: 04:03 PM

Posted 22 November 2016 - 04:25 AM

I enabled the debug logging in the Trakt settings and triggered the error again.

 

Here's the log file.

Attached Files



#4 MrWebsmith OFFLINE  

MrWebsmith

    Advanced Member

  • Alpha Testers
  • 1652 posts
  • Local time: 10:03 AM
  • LocationPhiladelphia, PA, USA

Posted 22 November 2016 - 09:42 AM

Also having trakt task failures for the past week or so..

 

fails without the OP's specific error after about 5s or so.. 

 

fresh log and debugging enabled

 

 https://www.dropbox....400477.txt?dl=0

https://www.dropbox....devver.jpg?dl=0

https://www.dropbox....aktver.jpg?dl=0

https://www.dropbox....notlog.jpg?dl=0


Edited by MrWebsmith, 22 November 2016 - 09:43 AM.


#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157196 posts
  • Local time: 11:03 AM

Posted 22 November 2016 - 01:48 PM

I pushed an update to the plugin with changes from a community member. See if that exhibits different behavior. thanks.



#6 eNES0nsEsK OFFLINE  

eNES0nsEsK

    Newbie

  • Members
  • 9 posts
  • Local time: 04:03 PM

Posted 22 November 2016 - 02:28 PM

Hi Luke,

 

That's working for me now. Thanks very much for the speedy fix.



#7 MrWebsmith OFFLINE  

MrWebsmith

    Advanced Member

  • Alpha Testers
  • 1652 posts
  • Local time: 10:03 AM
  • LocationPhiladelphia, PA, USA

Posted 23 November 2016 - 08:52 AM

glad the op's problem is fixed.. my trakt task is still failing on current dev and newest trakt build..

 

fresh log:

https://www.dropbox....484005.txt?dl=0



#8 b0mb OFFLINE  

b0mb

    Advanced Member

  • Members
  • 237 posts
  • Local time: 04:03 PM

Posted 25 November 2016 - 05:20 PM

i do have the same problem since today....



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157196 posts
  • Local time: 11:03 AM

Posted 25 November 2016 - 05:48 PM

i do have the same problem since today....

 

I there, we're sorry to hear about this. In order to best help you, please provide the information requested in how to report a problem. Thanks !



#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157196 posts
  • Local time: 11:03 AM

Posted 25 November 2016 - 05:50 PM

glad the op's problem is fixed.. my trakt task is still failing on current dev and newest trakt build..

 

fresh log:

https://www.dropbox....484005.txt?dl=0

 

It is sending back a 401 status code which suggests it is not accepting your credentials.



#11 b0mb OFFLINE  

b0mb

    Advanced Member

  • Members
  • 237 posts
  • Local time: 04:03 PM

Posted 25 November 2016 - 05:54 PM

It is sending back a 401 status code which suggests it is not accepting your credentials.

I have the same problem... yesterday all was working fine...

 

i´ve also made an update to the latest beta a few minutes ago. trakt plugin has also been updated by i get that 401 error also....

 

edit:

 

following this solved the problem ;)

 

https://emby.media/c...in-not-working/


Edited by b0mb, 25 November 2016 - 06:58 PM.


#12 MrWebsmith OFFLINE  

MrWebsmith

    Advanced Member

  • Alpha Testers
  • 1652 posts
  • Local time: 10:03 AM
  • LocationPhiladelphia, PA, USA

Posted 28 November 2016 - 08:45 AM

b0mb,

 

i wish that worked for me.. alas im still getting "one or more errrors failed" when trying the Trakt task...  this is a log after performing all the uninstall/reinstall/confirm fresh xml   steps in the link from april

 

 

https://www.dropbox....915430.txt?dl=0

 

dev server: Version 3.1.6176.1177 dev



#13 MrWebsmith OFFLINE  

MrWebsmith

    Advanced Member

  • Alpha Testers
  • 1652 posts
  • Local time: 10:03 AM
  • LocationPhiladelphia, PA, USA

Posted 30 November 2016 - 09:06 AM

bump... anything in that log @Luke that you can see... im out of ideas to try.. 



#14 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157196 posts
  • Local time: 11:03 AM

Posted 30 November 2016 - 11:37 AM

Try reconfiguring it

#15 MrWebsmith OFFLINE  

MrWebsmith

    Advanced Member

  • Alpha Testers
  • 1652 posts
  • Local time: 10:03 AM
  • LocationPhiladelphia, PA, USA

Posted 30 November 2016 - 12:20 PM

yep.. as part of the last round i killed manually the old xml... and after the fresh dll install i had it save a fresh config xml that only has the 1 user..  ill post both xmls to this thread and do a fresh restart and fresh run test and post server log from today as well



#16 MrWebsmith OFFLINE  

MrWebsmith

    Advanced Member

  • Alpha Testers
  • 1652 posts
  • Local time: 10:03 AM
  • LocationPhiladelphia, PA, USA

Posted 30 November 2016 - 12:27 PM

current/new config.. (password x'd out)         https://www.dropbox..../Trakt.xml?dl=0

 

old config https://www.dropbox....dTrakt.xml?dl=0

 

today log: https://www.dropbox....060800.txt?dl=0

 

also prior to failing the % is funky... all over the place..

 

https://www.dropbox....ercent.jpg?dl=0


Edited by MrWebsmith, 30 November 2016 - 12:29 PM.


#17 phi303 OFFLINE  

phi303

    Advanced Member

  • Members
  • 65 posts
  • Local time: 08:03 AM

Posted 02 December 2016 - 07:48 PM

I too am new to trakt and also am having a syncing issue. Trakt works as long as I'm watching something but it doesn't "sync" to my acct, here's the error log:

	*** Error Report ***
	Version: 3.0.8500.0
	Command line: C:\Users\Phi\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: True
	Program data path: C:\Users\Phi\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Phi\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	One or more errors occurred.
	MediaBrowser.Model.Net.HttpException
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__20.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__17.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__14.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 Trakt.ScheduledTasks.SyncLibraryTask.<SyncMovies>d__10.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.<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__64.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__20.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-12-02 16:32:06.6178 Info TaskManager: Sync library to trakt.tv Failed after 0 minute(s) and 1 seconds

is the issue trakt side or emby plugin side, just want to make sure I'm not trying to solve a problem I can't do anything about.



#18 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157196 posts
  • Local time: 11:03 AM

Posted 02 December 2016 - 11:07 PM

I too am new to trakt and also am having a syncing issue. Trakt works as long as I'm watching something but it doesn't "sync" to my acct, here's the error log:

	*** Error Report ***
	Version: 3.0.8500.0
	Command line: C:\Users\Phi\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	Operating system: Microsoft Windows NT 6.2.9200.0
	Processor count: 4
	64-Bit OS: True
	64-Bit Process: True
	Program data path: C:\Users\Phi\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Phi\AppData\Roaming\Emby-Server\System\MediaBrowser.ServerApplication.exe
	One or more errors occurred.
	MediaBrowser.Model.Net.HttpException
	   at MediaBrowser.Common.Implementations.HttpClientManager.HttpClientManager.<SendAsyncInternal>d__20.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__17.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__14.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 Trakt.ScheduledTasks.SyncLibraryTask.<SyncMovies>d__10.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.<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__64.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__20.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-12-02 16:32:06.6178 Info TaskManager: Sync library to trakt.tv Failed after 0 minute(s) and 1 seconds

is the issue trakt side or emby plugin side, just want to make sure I'm not trying to solve a problem I can't do anything about.

 

Hi, welcome. I would try again with the next release of the server. The trakt plugin has been given a lot of improvements but it won't be available until the next release of Emby Server is out. Thanks !



#19 phi303 OFFLINE  

phi303

    Advanced Member

  • Members
  • 65 posts
  • Local time: 08:03 AM

Posted 03 December 2016 - 07:48 PM

I kinda figured a hobbled together workaround for the sync issue. I installed kodi, downloaded emby for kodi, waited for library to sync, then downloaded the trakt add-on and synced the watched list via kodi and then uninstalled everything.



#20 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157196 posts
  • Local time: 11:03 AM

Posted 03 December 2016 - 07:50 PM

Thanks for the update. Please try again with the next release of the server. The trakt plugin has been given a lot of improvements but it won't be available until the next release of Emby Server is out. Thanks !







Also tagged with one or more of these keywords: trakt

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users