kivy-garden / zbarcam

Real time Barcode and QR Code scanner
MIT License
129 stars 33 forks source link

Invalid code types #63

Closed FrCln closed 3 years ago

FrCln commented 3 years ago

When running the example on Android, this error is shown in logs (app fails to start): ValueError: Invalid code types: [<ZBarSymbol.QRCODE: 64>, <ZBarSymbol.EAN13: 13>]. Available code types: {'NONE', 'CODE128', 'I25', 'EAN2', 'EAN5', 'EAN8', 'QRCODE', 'UPCE', 'UPCA', 'PARTIAL', 'DATABAR', 'CODE93', 'DATABAR_EXP', 'ISBN10', 'ISBN13', 'PDF417', 'CODABAR', 'CODE39', 'EAN13', 'COMPOSITE'}

FrCln commented 3 years ago

I took this example from master branch: src/main.py

code_types: ZBarSymbol.QRCODE, ZBarSymbol.EAN13

But I used the library from develop branch. There should be another version: src/main.py.

code_types: 'QRCODE', 'EAN13'
AndreMiras commented 3 years ago

Ah yeah I should make a release