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

TypeError: movies() got an unexpected keyword argument 'year' #156

Open
FLAFLALEBG opened this issue Aug 18, 2021 · 2 comments
Open

TypeError: movies() got an unexpected keyword argument 'year' #156

FLAFLALEBG opened this issue Aug 18, 2021 · 2 comments
Labels

Comments

@FLAFLALEBG
Copy link

Describe the bug
When I import any list (private / public) same as example : traktarr movies -t https://trakt.tv/users/rkerwin/lists/top-100-movies
he return (full log):


__ /________ | | / |___ ______________
| | _ __ __ \ | |/ /\ _ \ __ _ __
| | | | // __ | < | | / __ | | /| | /
|| |__| ( /|_ \ || (____ /| ||
/ / /

#########################################################################

Author: l3uddz

URL: https://github.com/l3uddz/traktarr

--

Part of the Cloudbox project: https://cloudbox.works

#########################################################################

GNU General Public License v3.0

#########################################################################

Traceback (most recent call last):
File "/usr/local/bin/traktarr", line 1697, in
app()
File "/home/pi/.local/lib/python3.7/site-packages/click/core.py", line 1137, in call
return self.main(*args, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/click/core.py", line 1062, in main
rv = self.invoke(ctx)
File "/home/pi/.local/lib/python3.7/site-packages/click/core.py", line 1668, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/pi/.local/lib/python3.7/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/pi/.local/lib/python3.7/site-packages/click/core.py", line 763, in invoke
return __callback(*args, **kwargs)
TypeError: movies() got an unexpected keyword argument 'year'

Any idea for fix that ?

@FLAFLALEBG FLAFLALEBG added the Bug label Aug 18, 2021
@Jamyn
Copy link

Jamyn commented Jan 3, 2022

It seems like there are fundamental changes between click 6.7 and later (ex: click 8.0.3). Try reinstalling 6.7 explicitly:

sudo python -m pip install click==6.7

I ran into similar issues trying to use Python 3.9. Python 3.7 worked fine.

@kazuiii
Copy link

kazuiii commented Feb 8, 2022

same for me,
resintalling click 6.7 didn't change anything

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

No branches or pull requests

3 participants