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

[APP SUBMITTED]: TypeError: the JSON object must be str, not 'bytes' #7248

Closed
Desaydrone opened this issue Oct 11, 2019 · 3 comments
Closed
Labels

Comments

@Desaydrone
Copy link

INFO

Python Version: 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]
Operating System: Linux-4.14.79-v7+-armv7l-with-debian-9.9
Locale: UTF-8
Branch: master
Database: 44.14
Commit: baad1e5
Link to Log: https://gist.github.com/0ea8ca836b56c9f2d8e9331d47ef1d17

ERROR

2019-10-11 09:15:33 ERROR    TORRENTCHECKER :: [baad1e5] Exception while checking torrent status.
Traceback (most recent call last):
  File "/opt/medusa/medusa/clients/torrent/torrent_checker.py", line 45, in run
    client.remove_ratio_reached()
  File "/opt/medusa/medusa/clients/torrent/**********.py", line 286, in remove_ratio_reached
    returned_data = json.loads(self.response.content)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@triage-new-issues triage-new-issues bot added the triage Untriaged issue label Oct 11, 2019
@p0psicles
Copy link
Contributor

Think it's an easy fix.
@medariox response.text?

@Desaydrone
Copy link
Author

You're the pro ;) no doubt about that it can be fix :P

@triage-new-issues triage-new-issues bot removed the triage Untriaged issue label Oct 11, 2019
@medariox
Copy link
Contributor

@p0psicles
Yeah, that will fix it.

@p0psicles p0psicles mentioned this issue Oct 11, 2019
3 tasks
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