Closed sherlockholmes77777 closed 1 year ago
Hi there it looks like there is an issue with your Trakt authorization. If you could please answer the following questions so I can help troubleshoot:
A fix was implemented in one of the recent versions where the Trakt auth would expire and the script would not handle it properly. If you are a returning user and you are not on the latest version this is likely the cause of the error you're getting. If that is the case, updating the script will fix this. You can confirm your script is updated with the following command python -m pip install IMDBTraktSyncer --upgrade
.
If you are on the latest version of IMDBTraktSyncer and still getting this error, there may have been an issue during the setup process. To reset the script, navigate to where it was installed. If you installed with pip, the script files will most likely be in your Python packages folder C:\Users\YOURUSERNAME\AppData\Local\Programs\Python\Python311\Lib\site-packages
. To reset the script, simply delete the credentials.txt file and run the script again. On next run the script will ask you to re-enter your details.
It was a temporary issue and it fixed by itself for now. Thanks for the reply.
Is there already an issue for your problem?
Bug Description
Starting webdriver... Successfully signed in to IMDB Processing Trakt Data
--- ERROR --- An error occurred while running the script. Please submit the error to GitHub with the following information:
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/IMDBTraktSyncer/IMDBTraktSyncer.py", line 122, in main trakt_watchlist, trakt_ratings, trakt_reviews, watched_content = traktData.getTraktData() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/IMDBTraktSyncer/traktData.py", line 151, in getTraktData json_data = json.loads(response.text) ^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'text'
Submit the error here: https://github.com/RileyXX/IMDB-Trakt-Syncer/issues/new?template=bug_report.yml
Saving session... ...copying shared history... ...saving history...truncating history files... ...completed.
Environment
MacOS
Screenshots
No response