-
Notifications
You must be signed in to change notification settings - Fork 14
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
Unable to set version of microQR encoder #25
Comments
I've just noticed another error, although I'm not sure why this one occurs: generator = pb.MicroQrCodeGenerator(pixels_per_module=5)
generator.set_error('Q')
generator.set_message("TEST")
generator.generate() # Breaks here Causes the following error:
This only happens if |
I've reproduced the problem. Investigating now. |
Fixed in the latest Java SNAPSHOT. How critical is this that it gets fixed on the Python side quickly? Like in the next 2 weeks? |
It's not pressing at all on my end, feel free to get it solved whenever you have time! |
The following snippet generates an error:
I've had a quick poke through the code, and it looks like the appropriate conversion to the expected java object is missing (for both the QR and microQR generators), similar to how this method is done for
set_error()
.It also looks like there's a bug in the
set_mask()
method for both of these classes, it's callingstring_to_qrcode_error()
on the input parameter rather thanstring_to_qrcode_mask()
, which I assume is the intended function, see here and here.The text was updated successfully, but these errors were encountered: