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

Campaign error #12

Open
gogasca opened this issue Nov 21, 2019 · 1 comment
Open

Campaign error #12

gogasca opened this issue Nov 21, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@gogasca
Copy link
Owner

gogasca commented Nov 21, 2019

,reason='OK',request=<tornado.httpclient.HTTPRequest object at 0x7f763412ffd0>,request_time=1.084010124206543,time_info={}))
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/tornado/ioloop.py", line 605, in _run_callback
    ret = callback()
  File "/usr/local/lib/python3.5/dist-packages/tornado/stack_context.py", line 277, in null_wrapper
    return fn(*args, **kwargs)
  File "/usr/local/src/news_ml/main/common/TornadoBacklog.py", line 70, in wrapped
    return function(*args, **kwargs)
  File "/usr/local/src/news_ml/main/common/TornadoBacklog.py", line 178, in handle_request
    articles = news_handler.handle_http_response(response.body)
  File "/usr/local/src/news_ml/main/lib/news_api/top_news_handler.py", line 39, in handle_http_response
    json_response = json.loads(response)
  File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
    s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'
@gogasca gogasca added the bug Something isn't working label Nov 21, 2019
@gogasca gogasca self-assigned this Nov 23, 2019
@gogasca
Copy link
Owner Author

gogasca commented Dec 8, 2019

Issue to be fixed once we add support to Python 3.5, Python 3.7. Currently Python 3.6 is required.

gogasca pushed a commit that referenced this issue Mar 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant