-
Notifications
You must be signed in to change notification settings - Fork 717
Open
Labels
Description
I am getting a DataOverflowError: Code length overflow. Data size (132) > size available (128)
when using the following code.
qr = qrcode.QRCode(version=2, error_correction=qrcode.ERROR_CORRECT_H, box_size=10, border=4)
# 15 chars
qr.add_data("sdfdsfnfffffnsd")
qr.make(fit=False)
The capacity of version 2 with H should be 128bits. I am trying to add 15 chars (15*8 => 120 bits).
I guess I am missing something?
Using qrcode v8 with python 3.10.