-
Notifications
You must be signed in to change notification settings - Fork 53
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
Traktarr crashes on oauth #128
Comments
I'm having the same problem on latest unraid version. |
2020-04-27 21:04:46,457 - INFO - media.trakt - __oauth_request_device_code - We're talking to Trakt to get your verification code. Please wait a moment... |
Unraid 6.8.3 and having same issue 2020-05-18 09:58:27,918 - INFO - media.trakt - __oauth_request_device_code - We're talking to Trakt to get your verification code. Please wait a moment... |
I had exactly the same error, also unraid. |
Describe the bug
Fresh install of Traktarr crashes when trying to run due to oauth error but I can't run "[sudo] traktarr trakt_authentication"
Expected behavior
create an activation key and link to trakt.com/activate
Logs
Link to debug or trace log files.
2020-04-26 03:26:07,988 - INFO - media.trakt - __oauth_request_device_code - We're talking to Trakt to get your verification code. Please wait a moment...
2020-04-26 03:26:08,308 - ERROR - media.trakt - oauth_authentication - Exception occurred when authenticating user
Traceback (most recent call last):
File "/opt/traktarr/media/trakt.py", line 359, in oauth_authentication
device_code_response = self.__oauth_request_device_code()
File "/opt/traktarr/media/trakt.py", line 270, in __oauth_request_device_code
device_code_response = req.json()
File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 897, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.6/json/init.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
System Information
The text was updated successfully, but these errors were encountered: