New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encoder returns empty array #34
Comments
IMPORTANT: This doesn't work currently. There seems to be a bug in the reedsolo library. It has been reported at tomerfiliba-org/reedsolomon#34 This required removing the proprocessing step of base64 encoding. Instead, we base64 encode each QR code independently (always). Sadly this does make the data a little less readable while debugging. Closes #2.
Oh also, in case it's an issue with potential string lengths,
|
About your first question, it's an uncaught error but it's normal, this happens because you initialized RSCodec with too many ECC symbols (300) when by default the max total message length nsize=255. Now there will be an error message. About your second question, this was indeed a bug, which was kindly fixed by someone else in #46 and is now merged, so this bug does not happen anymore. |
Thanks for adding an error |
This code:
Returns
bytearray(b'')
on my computer. Adjusting the number down causes it to return something.The text was updated successfully, but these errors were encountered: