[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#961503: qtqr: When you try to read the QR Code while using the camera, it crashes.



Package: qtqr
Version: 2.0~bzr33-2
Severity: normal

Dear Maintainer,

When I try to read the QR code with the 'Decode from Webcam' button on Qtqr
while using the webcam for video meetings, etc., it crashes.

It would be nice if it would display an error and not crash.

```
$ qtqr
QPixmap::scaled: Pixmap is a null pixmap
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
WARNING: no compatible input to output format
...trying again with output disabled
libv4l2: error setting pixformat: Device or resource busy
libv4l2: error setting pixformat: Device or resource busy
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 0x7fc78602f180>
Aborted
```



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages qtqr depends on:
ii  python3          3.8.2-3
ii  python3-pyqt5    5.14.2+dfsg-1+b1
ii  python3-qrtools  2.0~bzr33-2

qtqr recommends no packages.

qtqr suggests no packages.

-- no debconf information


Reply to: