Skip to content

AttributeError: CCITT #10

@Carthaca

Description

@Carthaca

Hi,

the crc package got a breaking change with https://github.com/Nicoretti/crc/releases/tag/7.0.0,

which leads to run-time errors like

/site-packages/pyredis/helper.py", line 12, in <module>
crc16 = crc.Calculator(crc.Crc16.CCITT)
AttributeError: CCITT

With my limited knowledge I think solution 2 from the migration guide that is added to the above releasenotes of crc applies:

Solution: Replace all usages of Crc16.CCITT in your code with Crc16.XMODEM.

What do you think?

Best regards,
Maurice

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions