Skip to content
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

It does not work anymore #1

Open
RedSquirrel87 opened this issue Dec 25, 2020 · 6 comments
Open

It does not work anymore #1

RedSquirrel87 opened this issue Dec 25, 2020 · 6 comments

Comments

@RedSquirrel87
Copy link

I get an error when I use the context menu option for this addon.
This is the kodi.log explanation of the error:

2020-12-25 21:49:46.564 T:3287282560 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: 'imdbnumber'
Traceback (most recent call last):
File "/storage/.kodi/addons/script.trakt/defaultscript.py", line 14, in
Main()
File "/storage/.kodi/addons/script.trakt/defaultscript.py", line 11, in Main
script.run()
File "/storage/.kodi/addons/script.trakt/resources/lib/script.py", line 171, in run
data['id'] = result['imdbnumber']
KeyError: 'imdbnumber'
-->End of Python script error report<--

@razzeee
Copy link
Owner

razzeee commented Dec 25, 2020

Which scraper are you using? NFO files? Do you set imdbnumber?

@RedSquirrel87
Copy link
Author

I'm using tmdb for movies and thetvdb for TV series, no NFO files

@RedSquirrel87
Copy link
Author

I forgot to mention that I'm using also the "Rating button" addon and it works like a charm. Only the "Watched button" addon gives the error

@razzeee
Copy link
Owner

razzeee commented Dec 27, 2020

Please post a complete log

@RedSquirrel87
Copy link
Author

RedSquirrel87 commented Dec 27, 2020

I'll do it asap, but the only "error" message is that one attached in the first post.
However it seems to be the same issue already reported in your other addon (I found this issue razzeee/context.trakt.addtowatchlist#1 ) because the error message is the same and even for me it happens only with TV series, it works with movies.
I'm using the versions in the official Kodi repository, is it possible that they are still deprecated versions there?

@razzeee
Copy link
Owner

razzeee commented Dec 27, 2020

Probable, most testing is done on matrix these days. That's also something I would have seen with a complete log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants