Skip to content

TypeError on unserializedMessage. #1

@Samuelbella

Description

@Samuelbella

Hello,
I tried to use the IDMEFv2 library on python. I enter a string that I transform in Json (so dictionary) with Json.loads(),
I create the payload with SerializedMessage() as in the README. But when I use the payload with the unserialize() function, I have a
TypeError : __bytes__ returned non-bytes (type dict).

Thanks for your answer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions