-
Notifications
You must be signed in to change notification settings - Fork 55
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
Python Error - Any ideas? #153
Comments
My initial guess would be that the config is setup incorrectly. |
Ah right okay so it's something in the config and not a python issue.
I'll look over it again tomorrow.
Cheers
…On 29 Jun 2021, 23:36, at 23:36, salty ***@***.***> wrote:
My initial guess would be that the config is setup incorrectly.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#153 (comment)
|
I am having this issue as well. It seems it is caused by the Trak.TV list URLs. They now have a comma in the URL. This messes up the script For Example if you are viewing a list like this you need to take out the sort part including the ? Like so: |
I haven't had a chance to try the script again, but I'll give this a go soon. |
Describe the bug
Running the "traktarr trakt_authentication" command results in the following error
`
Traceback (most recent call last):
File "traktarr.py", line 1697, in
File "/usr/lib/python3.8/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.8/site-packages/click/core.py", line 1063, in invoke
Command.invoke(self, ctx)
File "/usr/lib/python3.8/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.8/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "traktarr.py", line 52, in app
cfg = Config(configfile=config, cachefile=cachefile, logfile=logfile).cfg
File "/traktarr/misc/config.py", line 130, in cfg
tmp = self.load_config()
File "/traktarr/misc/config.py", line 168, in load_config
return AttrConfig(json.load(fp))
File "/usr/lib/python3.8/json/init.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.8/json/decoder.py", line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 9 column 7 (char 148)
for more info on the above run options: https://hub.docker.com/r/eafxx/traktarr`
System Information
Any idea what's going wrong here?
The text was updated successfully, but these errors were encountered: