QtQr crashes after selecting a webcam device to decode from

Bug #2039362 reported by Benjamin Oppermann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QR Tools
Invalid
Undecided
Unassigned

Bug Description

Reproduce:
1.Click "decode from webcam"
2. pick a webcam device from the pop-up dialog and click on OK.
3. QtQr crashes:

➜ ~ qtqr
Traceback (most recent call last):
  File "/usr/bin/qtqr", line 899, in decodeWebcam
    qr.decode_webcam(device=device)
  File "/usr/lib/python3.11/site-packages/qrtools.py", line 262, in decode_webcam
    proc.init(device)
zbar.UnsupportedError: <zbar.Processor object at 0x7f879e442b80>
[1] 4104 IOT instruction (core dumped) qtqr

OS: Manjaro Linux 23.0.3
QtQr version: 2.1-5

Revision history for this message
Ramiro Algozino (algozino) wrote :

Hi Benjamin,

Could you please try again with the Daily PPA's version (qtqr-2.1-0~47) and see if the problem is still present?

Thanks

Changed in qr-tools:
status: New → In Progress
milestone: none → 2.2
Changed in qr-tools:
status: In Progress → Incomplete
Revision history for this message
Benjamin Oppermann (bennsn) wrote :

I cannot try a PPA version on this device, as I'm on an Arch-based system, *but*:
1) I removed Manjaro from this laptop and installed Garuda Linux (still Arch-based)
2) The QtQR version available in the repos is still the same as on Manjaro (2.1-5)
3) Everything works fine under this operating system (same laptop as before)!

Revision history for this message
Ramiro Algozino (algozino) wrote :

haha, good to know! it may be that the zbar version is different between the systems. The crash that you had I believe was in the underlaying zbar library that QtQR uses to decode QR codes using the webcam and from files.

I'll close this issue, but feel free to reopen it or create a new one.

Thanks for the feedback

Have a great day!

Changed in qr-tools:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.