Skip to content

Error de-serializing object #10

Description

@hden

Error while de-serialising the following package:

'\x85\xa8Coalesce\xc3\xa5Event\xa4user\xa5LTime\xcc\x01\xa4Name\xa4test\xa7Payload\xc4\x03foo'

It should be decoded to the following object:

>>> import msgpack
>>> p = '\x85\xa8Coalesce\xc3\xa5Event\xa4user\xa5LTime\xcc\x01\xa4Name\xa4test\xa7Payload\xc4\x03foo'
>>> msgpack.loads(p)
{'Coalesce': True, 'LTime': 1, 'Payload': 'foo', 'Event': 'user', 'Name': 'test'}

Activity

  1. enochgroot commented on Sep 18, 2026

    @enochgroot
    Collaborator

    Fixed in 2.0.0 (#25687, e04c9b5). The Python msgpack wire in this issue unpacks correctly; regression coverage is in test/regression.test.js.

  2. enochgroot commented on Sep 19, 2026

    @enochgroot
    Collaborator

    Repro on master e04c9b55 with the python-msgpack latin-1 wire from this issue:

    Coalesce true
    Event user
    LTime 1
    Name test
    Payload Buffer "foo"
    

    Covered by unpacks a map written by Python msgpack (msgpack-node#10). Closing as fixed in 2.0.0.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions