Closed Bug 1526763 Opened 6 years ago Closed 6 years ago

Python 3 "Object of type bytes is not JSON serializable"

Categories

(Tree Management :: Treeherder: Data Ingestion, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(2 files)

Under Python 3 these two tests fail:

tests/etl/test_job_loader.py:43: test_job_transformation
tests/etl/test_load_artifacts.py:105: test_load_non_ascii_textlog_errors

...with:

E       TypeError: Object of type 'bytes' is not JSON serializable

(eg https://travis-ci.org/mozilla/treeherder/jobs/491188642#L673)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: