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

[pv/bm] Failure on database dump #1

Open
nrybowski opened this issue Dec 6, 2021 · 1 comment
Open

[pv/bm] Failure on database dump #1

nrybowski opened this issue Dec 6, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@nrybowski
Copy link
Owner

binding_manager_1    |     return format(backend.dump_database())
binding_manager_1    |   File "/pv/binding_manager/api.py", line 32, in format
binding_manager_1    |     return (jsonify(payload), 200) if payload is not None else ('', 404)
binding_manager_1    |   File "/usr/lib/python3.8/site-packages/flask/json/__init__.py", line 370, in jsonify
binding_manager_1    |     dumps(data, indent=indent, separators=separators) + "\n",
binding_manager_1    |   File "/usr/lib/python3.8/site-packages/flask/json/__init__.py", line 211, in dumps
binding_manager_1    |     rv = _json.dumps(obj, **kwargs)
binding_manager_1    |   File "/usr/lib/python3.8/json/__init__.py", line 234, in dumps
binding_manager_1    |     return cls(
binding_manager_1    |   File "/usr/lib/python3.8/json/encoder.py", line 199, in encode
binding_manager_1    |     chunks = self.iterencode(o, _one_shot=True)
binding_manager_1    |   File "/usr/lib/python3.8/json/encoder.py", line 257, in iterencode
binding_manager_1    |     return _iterencode(o, 0)
binding_manager_1    |   File "/usr/lib/python3.8/site-packages/flask/json/__init__.py", line 100, in default
binding_manager_1    |     return _json.JSONEncoder.default(self, o)
binding_manager_1    |   File "/usr/lib/python3.8/json/encoder.py", line 179, in default
binding_manager_1    |     raise TypeError(f'Object of type {o.__class__.__name__} '
binding_manager_1    | TypeError: Object of type bytes is not JSON serializable
@nrybowski nrybowski added the bug Something isn't working label Dec 6, 2021
@nrybowski
Copy link
Owner Author

See f3297c0.

@nrybowski nrybowski changed the title pv:bm: Failure on database dump [pv/bm] Failure on database dump Feb 11, 2022
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