adamchainz/treepoem

Treepoem with bwipp old version has a promlem whith ^040 and ^041 simbols

Closed this issue · 2 comments

Python Version

No response

Package Version

3.24

Description

If the character string contains ")" or "(" an error occurs when generating the datamatrix.

'''Error creating DataMatrix: bwipp.GS1unknownAI AI GdU(91: Unrecognised AI

Process finished with exit code 1'''
If you replace them with characters ^040 and ^041, then there is still an error:
'''Error creating DataMatrix: bwipp.GS1badCSET82character AI 21: Invalid CSET 82 character

Process finished with exit code 1'''

At the same time, as I understand it, this has been corrected in the latest versions of the bwipp, for example:
https://bwipjs-api.metafloor.com/?bcid=gs1datamatrix&text=(01)04620757979006(21)5btHYnjVq^040GdU(91)EE10(92)LFDU/cef0RnXBlMCXRhYp5nJAoFyJOxzQbFuMpFYOO8=&parse&parsefnc

When will the code be updated to the latest version bwipp?

I check for updates every three months or so. Can you link to the upstream issue that corrected your problem? If not, maybe there’s something else being done differently on that site you linked (I never heard of it, nor bwip-js).

Upgrading BWIPP in #580, which may fix it. Closing since there hasn't been any follow-up, anyway.