Traceback (most recent call last):


 "test-schedule-entry.py", line 4, in <module>

data = jsonpickle.dumps(entry)


 "/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/rwt-q7zv79uy/jsonpickle/pickler.py", line 76, in encode

return backend.encode(context.flatten(value, reset=reset))


 "/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/rwt-q7zv79uy/jsonpickle/backend.py", line 165, in encode

raise e


 "/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/rwt-q7zv79uy/jsonpickle/backend.py", line 162, in encode

return self.backend_encode(name, obj)


 "/var/folders/c6/v7hnmq453xb6p2dbz1gqc6rr0000gn/T/rwt-q7zv79uy/jsonpickle/backend.py", line 173, in backend_encode

return self._encoders[name](*encoder_args, **encoder_kwargs)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/__init__.py", line 231, in dumps

return _default_encoder.encode(obj)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 199, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/json/encoder.py", line 257, in iterencode

return _iterencode(o, 0)


 "/Library/Frameworks/Python.framework/Versions/3.7/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

Traceback (most recent call last):


 "pwndb.py", line 136, in <module>

main(emails, output)


 "pwndb.py", line 27, in main

print(info + " Searching for leaks...")


 "/home/xavcc/pwndb/venv/lib/python3.6/codecs.py", line 377, in write

self.stream.write(data)
TypeError: write() argument must be str, not bytes
