Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 145, in _serialize
json.dumps(value, ensure_ascii=True)
File "/usr/local/lib/python3.7/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/local/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/local/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/local/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type bytes is not JSON serializable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 119, in _render_unencodable_bytes_by_callable
json.dumps(datacp, ensure_ascii=True)
File "/usr/local/lib/python3.7/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/local/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/local/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/local/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type bytes is not JSON serializable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 119, in _render_unencodable_bytes_by_callable
json.dumps(datacp, ensure_ascii=True)
File "/usr/local/lib/python3.7/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/local/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/local/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/local/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type bytes is not JSON serializable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 119, in _render_unencodable_bytes_by_callable
json.dumps(datacp, ensure_ascii=True)
File "/usr/local/lib/python3.7/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/local/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/local/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/local/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type bytes is not JSON serializable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 119, in _render_unencodable_bytes_by_callable
json.dumps(datacp, ensure_ascii=True)
File "/usr/local/lib/python3.7/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/local/lib/python3.7/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/local/lib/python3.7/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/local/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type bytes is not JSON serializable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/testplan/common/exporters/__init__.py", line 22, in run_exporter
exporter.export(source)
File "/usr/local/lib/python3.7/site-packages/testplan_ms/exporters/testing/testdb.py", line 213, in export
data = test_plan_schema.dump(source).data
File "/usr/local/lib/python3.7/site-packages/marshmallow/schema.py", line 439, in dump
**kwargs
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 147, in serialize
index=(index if index_errors else None)
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 68, in call_and_store
value = getter_func(data)
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 141, in <lambda>
getter = lambda d: field_obj.serialize(attr_name, d, accessor=accessor)
File "/usr/local/lib/python3.7/site-packages/marshmallow/fields.py", line 252, in serialize
return self._serialize(value, attr, obj)
File "/usr/local/lib/python3.7/site-packages/testplan/common/serialization/fields.py", line 304, in _serialize
return [self._serialize(nobj, attr, obj) for nobj in nested_obj]
File "/usr/local/lib/python3.7/site-packages/testplan/common/serialization/fields.py", line 304, in <listcomp>
return [self._serialize(nobj, attr, obj) for nobj in nested_obj]
File "/usr/local/lib/python3.7/site-packages/testplan/common/serialization/fields.py", line 317, in _serialize
nested_obj, many=False, update_fields=False
File "/usr/local/lib/python3.7/site-packages/marshmallow/schema.py", line 439, in dump
**kwargs
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 147, in serialize
index=(index if index_errors else None)
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 68, in call_and_store
value = getter_func(data)
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 141, in <lambda>
getter = lambda d: field_obj.serialize(attr_name, d, accessor=accessor)
File "/usr/local/lib/python3.7/site-packages/marshmallow/fields.py", line 252, in serialize
return self._serialize(value, attr, obj)
File "/usr/local/lib/python3.7/site-packages/testplan/common/serialization/fields.py", line 304, in _serialize
return [self._serialize(nobj, attr, obj) for nobj in nested_obj]
File "/usr/local/lib/python3.7/site-packages/testplan/common/serialization/fields.py", line 304, in <listcomp>
return [self._serialize(nobj, attr, obj) for nobj in nested_obj]
File "/usr/local/lib/python3.7/site-packages/testplan/common/serialization/fields.py", line 317, in _serialize
nested_obj, many=False, update_fields=False
File "/usr/local/lib/python3.7/site-packages/marshmallow/schema.py", line 439, in dump
**kwargs
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 147, in serialize
index=(index if index_errors else None)
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 68, in call_and_store
value = getter_func(data)
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 141, in <lambda>
getter = lambda d: field_obj.serialize(attr_name, d, accessor=accessor)
File "/usr/local/lib/python3.7/site-packages/marshmallow/fields.py", line 252, in serialize
return self._serialize(value, attr, obj)
File "/usr/local/lib/python3.7/site-packages/testplan/common/serialization/fields.py", line 304, in _serialize
return [self._serialize(nobj, attr, obj) for nobj in nested_obj]
File "/usr/local/lib/python3.7/site-packages/testplan/common/serialization/fields.py", line 304, in <listcomp>
return [self._serialize(nobj, attr, obj) for nobj in nested_obj]
File "/usr/local/lib/python3.7/site-packages/testplan/common/serialization/fields.py", line 317, in _serialize
nested_obj, many=False, update_fields=False
File "/usr/local/lib/python3.7/site-packages/marshmallow/schema.py", line 439, in dump
**kwargs
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 147, in serialize
index=(index if index_errors else None)
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 68, in call_and_store
value = getter_func(data)
File "/usr/local/lib/python3.7/site-packages/marshmallow/marshalling.py", line 141, in <lambda>
getter = lambda d: field_obj.serialize(attr_name, d, accessor=accessor)
File "/usr/local/lib/python3.7/site-packages/marshmallow/fields.py", line 252, in serialize
return self._serialize(value, attr, obj)
File "/usr/local/lib/python3.7/site-packages/marshmallow/fields.py", line 570, in _serialize
return [self.container._serialize(each, attr, obj) for each in value]
File "/usr/local/lib/python3.7/site-packages/marshmallow/fields.py", line 570, in <listcomp>
return [self.container._serialize(each, attr, obj) for each in value]
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 149, in _serialize
data=value, binary_serializer=self._binary_to_hex_list
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 127, in _render_unencodable_bytes_by_callable
recurse_lvl=(recurse_lvl + 1),
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 135, in _render_unencodable_bytes_by_callable
recurse_lvl=(recurse_lvl + 1),
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 135, in _render_unencodable_bytes_by_callable
recurse_lvl=(recurse_lvl + 1),
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 138, in _render_unencodable_bytes_by_callable
return {self._BYTES_KEY: binary_serializer(datacp)}
File "/usr/local/lib/python3.7/site-packages/testplan/report/testing/schemas.py", line 90, in _binary_to_hex_list
for b in bytearray(binary_obj)
TypeError: an integer is required