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

ValueError: int is not allowed for map key when using msgpack 1.0.0 #1830

Closed
sven-mayer opened this issue Mar 21, 2020 · 1 comment
Closed

Comments

@sven-mayer
Copy link

Bug:
"ValueError: int is not allowed for map key" will be raised when using msgpack 1.0.0 and you want to load data recorded with two eye cameras.

Explanation:
This is to the fact that they changed their default setting for msgpack.unpackb see: msgpack/msgpack-python#411 which they also discuss as major braking points in https://github.com/msgpack/msgpack-python#major-breaking-changes-in-msgpack-10

Solution:
adding strict_map_key=False as argument whenever msgpack.unpackb or msgpack.loads is called

@papr
Copy link
Contributor

papr commented Mar 1, 2021

Fixed in #2068

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants