New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync library not working #487
Comments
Also just confirmed that scrobbling works fine, so it's not an account issue. |
I can't get the same problem with linux. But I don't have an 32bit ARM, can you try with the latest v18 release? |
Unfortunately v18.4 is the latest release available for the raspberry pi 4 at the moment. I was also wondering if it was something specific to the pi4 build that was causing it, because my windows install was also 18.4 still and didn't have this issue. It's been years since I've done the compiling thing myself but maybe I'll spend some time today playing around and see if I can get 18.5 compiled myself. |
Can you maybe diff the dependencies your raspberry pi lists versus the ones you windows does? I mean the ones shown in the Kodi UI for the trakt addon. |
Just checked them both and they match, both the dependencies and the version numbers. |
And your using it with the same trakt user? |
Yep, same trakt account |
The only thing I can think of is maybe it's something to do with kodi's database? The windows install went back years, at least until Jarvis. Unfortunately I switched the windows install over to use upnp last night and cleaned the library so I can't get log data to compare the shows info submitted to trakt in the plugin. |
Your not using nfo files?
…On Sat, 4 Jan 2020, 16:53 m00kfu, ***@***.***> wrote:
The only thing I can think of is maybe it's something to do with kodi's
database? The windows install went back years, at least until Jarvis.
Unfortunately I switched the windows install over to use upnp last night
and cleaned the library so I can't get log data to compare the shows info
submitted to trakt in the plugin.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#487?email_source=notifications&email_token=ABNLEZF7RHJRAVZSXGHVWJDQ4CWIDA5CNFSM4KB3S6QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIC2RLA#issuecomment-570796204>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNLEZACHFWXXIJDPRX2QI3Q4CWIDANCNFSM4KB3S6QA>
.
|
Nope, no nfo files. Everything is just scraped from thetvdb and stored in kodi's database. |
I have the same problem, trakt is not syncing. |
Same problem here, I get a "200 None" response from API |
All right, my problem was because of expired token. After i enabled debug in kodi and in settings .xml for an addon in userdata (for some strange reason button in addon never REALLY enables the debug mode for the addon, even after disabling/enabling. |
That's by design, as that was how it was meant to be implemented according to the kodi guys. |
How did you resolve this issue? I have the same "Error getting Trakt.tv movie list, aborting movie Sync" problem (not seeing any oath issues though) with rpi4 on raspbian buster. (works fine on rpi4 libreelec and on windows 10) |
For reference, my hardware/software versions
|
Thanks for the reply. It does not look like a linking issue considering scrobbling is working. I just can't get the watched flags to sync from trakt. |
My log for reference |
trakt seems overwhelmed with requests today, got a few timeouts on a web |
I also noticed this. I will test again tonight and see if it is any better. |
How can I determine what the error is getting the show list? |
This is the part of the log where my windows machine does sync and my linux oen doesn't: Kodi 18.5 on win7
Kodi 18.5 on raspbian
Does this point to a urllib3-related failure? |
I've edited syncEpisodes.py (line 143) just before "Invalid Trakt.tv show list" for debugging the exception.
And this is what I get:
Which module is it missing? any clues? |
That's the arrow module http://ftp.snt.utwente.nl/pub/software/xbmc/addons/leia/script.module.arrow/ |
But I do have that addon installed, that's the thing |
Thanks for this. I'll do a similar test tonight and report back. |
You could try if you get more infos with https://stackoverflow.com/a/4564595/2859813 |
i also have 0.15.5 |
Sure! Here you have it
Hope it helps |
I'm getting the same issue:
I also have 0.15.5 installed though |
Interesting. I have the same hardware/software versions, and dont have that problem. |
Thanks but I'm out of ideas at the moment. I'm gonna trash the OS and start from scratch and hope for the best. |
I whish I could give you some more information, but I have no idea :-(
Is that functools_lru_cache error important? :-D |
Can you check if the arrow dependency is enabled? functools_lru_cache might be relevant, as that's a dependency of requests for python 2.7 but not with python 3 (or kodi matrix therefore) Anyway functools_lru_cache should have been installed via dependency in kodi too |
I have the same versions running after a fresh Raspbian Buster reinstall -> install Kodi -> install Trakt plugin ... but I still get the same error |
Same problem with Raspbian & RASPY 4... cannot get my showed films in kodi |
Can any of you edit the code here https://github.com/Razzeee/script.module.trakt/blob/master/lib/trakt/core/helpers.py#L8-L11 so that we get a log of the error and a stacktrace too? |
I'll try that when I get home if someone doesn't beat me to it :) Thanks |
Got the following output:
EDIT: confirmed backports.functools_lru_cache 1.6.1 is in list under manage dependencies EDIT2: code generating the above output:
|
Can you try #486 (comment) or if that doesn't work arrow-py/arrow#495 (comment) |
I did: Then I tried again to import arrow manually, and this time it didn't fail:
So something had been fixed.
|
Thanks for this! As @egrueda mentioned, installing python-backports.functools-lru-cache has gotten things going. |
Now is working! thank you very much all of you |
even with sudo apt install python-backports.functools-lru-cache traktv still errors out , has not been in sync all year unsure why it is not loading resources.lib 2020-07-04 08:51:23.506 T:140401717528320 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
and de-installed nightly version of kodi and installed version supplied with apt for ubuntu 20.04 LTS odly what seemed to fix this was loading up kodi as root , installing traktv then copying the addons folder over the top of the normal kodi profile |
I had the same symptoms on Raspberry Pi OS 10 (buster), freshly downloaded and installed today.
fixed it. I also did a fresh install of Ubuntu 20.04 elsewhere last night, and it worked without intervention on there. Kodi is 18.7, current for the 32-bit ARM-based Pi 4. |
Been having the same problem for nearly a year. Reinstalled Pi with latest Raspbian two weeks ago and stumbled across this just now. "sudo apt install python-backports.functools-lru-cache" solved this problem on my Pi immediately. Pi 4 |
Just leaving some more search terms here, this is still a valid solution for some setups Im running Kodi installed through retropie_setup --> optional packages via binary (granted a bit of an old retropie setup) but been having this problem across multiple installs; Invalid Trakt.tv show list, possible error getting data from Trakt, aborting Trakt.tv collection/watched/rated update. and running a quick
followed by a reboot instantly fixed everything!! |
So I've been using trakt with Kodi on a windows machine for years, no problem. Even tried having it sync on the windows machine earlier today to make sure it wasn't an issue with the trakt api itself. I decided to set up a raspberry pi 4 running raspbian buster as a dedicated media center. For some reason the trakt plugin just doesn't get any data to sync the watched status on my library in the new setup. I've installed/uninstalled/reinstalled the trakt plugin multiple times, restarted kodi, rebooted the machine, reset my auth token for tract multiple times (both through kodi and by revoking access through the website)... nothing seems to work. Any suggestions for what to try next would be more than welcome!
Here's the log file showing what's happening... https://paste.kodi.tv/qesafopevo.kodi
The text was updated successfully, but these errors were encountered: