mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armand Grillet <>
Subject Review Request 68970: Fixed JSON object type error when using `support/`.
Date Wed, 10 Oct 2018 05:21:22 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for mesos, Till Toenshoff and Vinod Kone.

Bugs: MESOS-9253

Repository: mesos


The error `TypeError: the JSON object must be str, not 'bytes'` was
visible when using `support/` in our CI. This issue
seems to only happen in old versions of Python 3 that are not supported
but the fix works with any version of Python 3 and allows us to not
change the Python interpreter used by reviewbot.


  support/ 92ad85945fb97e6ae3e21b3b9ab53c885158417e 



Added the line `print(type(json_str))` in `def url_to_json(url):` to verify that the type
was now a `str` and not a `http.client.HTTPResponse`.


Armand Grillet

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message