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

AttributeError: 'NoneType' object has no attribute 'text' #86

Closed
1 task done
shadjisolomou opened this issue Apr 26, 2024 · 2 comments · Fixed by #111
Closed
1 task done

AttributeError: 'NoneType' object has no attribute 'text' #86

shadjisolomou opened this issue Apr 26, 2024 · 2 comments · Fixed by #111

Comments

@shadjisolomou
Copy link

Is there already an issue for your problem?

  • I have checked older issues, open and closed

Bug Description

An error occurred while running the script.
Please submit the error to GitHub with the following information:

Traceback (most recent call last):
File "C:\Users\X\AppData\Local\Programs\Python\Python312\Lib\site-packages\IMDBTraktSyncer\IMDBTraktSyncer.py", line 123, in main
trakt_watchlist, trakt_ratings, trakt_reviews, watched_content = traktData.getTraktData()
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\X\AppData\Local\Programs\Python\Python312\Lib\site-packages\IMDBTraktSyncer\traktData.py", line 18, in getTraktData
json_data = json.loads(response.text)
^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'text'

Environment

OS: Win10, Uses pip install:yes

Screenshots

No response

@RileyXX
Copy link
Owner

RileyXX commented Jun 16, 2024

Are you still having this issue? See if you can get more of the error message there might be some details missing here.

This is kind of a generic error that can happen if the Trakt API is down or if your credentials (api keys etc) are incorrect.

@RileyXX RileyXX changed the title https://github.com/RileyXX/IMDB-Trakt-Syncer/issues/new?template=bug_report.yml AttributeError: 'NoneType' object has no attribute 'text' Jun 16, 2024
@RileyXX
Copy link
Owner

RileyXX commented Dec 13, 2024

This bug should be fixed in the latest version v2.9.5. If you're still having problems with this let me know and I can reopen this issue. Thanks

@RileyXX RileyXX closed this as completed Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants