Skip to content
This repository has been archived by the owner on Dec 11, 2018. It is now read-only.

catch QR code generation exceptions #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

champtar
Copy link

Error: code length overflow. (1748>1056)
at Function.b.createData (qrcode.min.js:1)
at b.makeImpl (qrcode.min.js:1)
at b.getBestMaskPattern (qrcode.min.js:1)
at b.make (qrcode.min.js:1)
at QRCode.makeCode (qrcode.min.js:1)
at new QRCode (qrcode.min.js:1)
at parsexml (export-xml.html:114)
at FileReader.reader.onload (export-xml.html:134)

Signed-off-by: Etienne Champetier champetier.etienne@gmail.com

Error: code length overflow. (1748>1056)
    at Function.b.createData (qrcode.min.js:1)
    at b.makeImpl (qrcode.min.js:1)
    at b.getBestMaskPattern (qrcode.min.js:1)
    at b.make (qrcode.min.js:1)
    at QRCode.makeCode (qrcode.min.js:1)
    at new QRCode (qrcode.min.js:1)
    at parsexml (export-xml.html:114)
    at FileReader.reader.onload (export-xml.html:134)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
@ElijahLynn
Copy link

Thanks for this, the current code is giving me an exception and this PR/branch gets me further. I can now see the first of my 3 codes. I am still getting a "export.html:119 Error: code length overflow. (1644>1056)" on the 2nd and 3rd codes in the file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants