Comment 3 for bug 1838593

Revision history for this message
Xanatos (xanatos00) wrote :

Hello,

Same issue, with laptop with built-in camera on Debian Buster unknown version, my package version is: qtqr 2.0~bzr33-2
This camera is disabled by default.
I toggle on before using it with hotkey, then launch qtqr, when I use "decode from webcam", qtqr crash:

Traceback (most recent call last):
  File "/usr/bin/qtqr", line 834, in decodeWebcam
    qr.decode_webcam(device=device)
  File "/usr/lib/python3/dist-packages/qrtools.py", line 240, in decode_webcam
    proc.init(device)
zbar.UnsupportedError: <zbar.Processor object at 0x7f90a802ae40>
Abandon

If I retry, it will works the second or third time.
I patched with a try except this line to prevent crash, I have now the following message, but application continues:

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 552, resource id: 16379793, major code: 40 (TranslateCoords), minor code: 0

Regards