Skip to content

Create assertion error #8

Description

@tzulberti

When the bundle format changed, and the code still uses the old bundle the following error take place:

  File "sharedbuffers/mapped_struct.py", line 933, in sharedbuffers.mapped_struct.BytesBufferProxyProperty.__get__ (sharedbuffers/mapped_struct.c:20040)
    rv = _unpack_bytes_from_cbuffer(cython.cast(cython.p_char, pybuf.buf), offs, buflen, None)
  File "sharedbuffers/mapped_struct.py", line 333, in sharedbuffers.mapped_struct._unpack_bytes_from_cbuffer (sharedbuffers/mapped_struct.c:10828)
    raise AssertionError
AssertionError

It would be great if we could log a message like that the bundle format is old or something like that

Activity

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