Comment 3 for bug 1965007

Revision history for this message
Ramiro Algozino (algozino) wrote : Re: [Bug 1965007] Re: Crash when clicking on [Decode from Webcam]

Hi Benjamin,

Sadly I don't have a clue on what each distro's process to pick one version
or another is. I'd suggest finding out who's the package maintainer for
your distro and asking them directly.

Having said that, QtQR is a Python program you don't need to compile
anything, if you have some experience with Python just download the .py
files and run it like any other script (you may need to install the
dependencies like Qt5, PyQt5, qrencode and zbar). Another option is to
download the .deb packages from the Daily PPA:
https://launchpad.net/~qr-tools-developers/+archive/ubuntu/daily/+packages
https://launchpad.net/~qr-tools-developers/+archive/ubuntu/daily/+sourcepub/15393312/+listing-archive-extra
https://launchpad.net/~qr-tools-developers/+archive/ubuntu/daily/+sourcepub/15393313/+listing-archive-extra

In my experience, the latest versions of zbar seem to have some issues, so
the decoding part of QtQR may be a little off sometimes.

Hope this helps!

Regards,
Ramiro

El mar, 27 feb 2024 a la(s) 2:56 p.m., Benjamin Oppermann (
<email address hidden>) escribió:

> I am now using this laptop on Garuda Linux. QtQr is installed from the
> official repositories (extra), but the version available here is still
> 2.1-5, and it still has this issue.
> Is 2.2 officially "launched" from Launchpad - in that other distros (Arch)
> would build their packages from it?
> Thanks for still responding even after EOL.
> I don't know how most distros organize their build flow, but maybe taking
> whatever appropriate measures needed for them to treat 2.2 as the latest
> official build would help pass it down to users
>
> However, if you could provide some build instructions, I would just
> compile it on my system for a start and see if the problem is fixed.
> Greetings!
>
> --
> You received this bug notification because you are subscribed to QR
> Tools.
> https://bugs.launchpad.net/bugs/1965007
>
> Title:
> Crash when clicking on [Decode from Webcam]
>
> Status in QR Tools:
> Incomplete
>
> Bug description:
> Manjaro QtQR version 2.1
> HP 850 G4 built in Webcam 'SunplusIT INC. HD Webcam'
>
> when clicking on the Buttom [Decode from Webcam] -> [<select Webcam>]
> QTQR crashes with:
> ----------------------------------------------------------------------
> Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use
> QT_QPA_PLATFORM=wayland to run on Wayland anyway.
> QPixmap::scaled: Pixmap is a null pixmap
> QPixmap::scaled: Pixmap is a null pixmap
> Traceback (most recent call last):
> File "/usr/bin/qtqr", line 899, in decodeWebcam
> qr.decode_webcam(device=device)
> File "/usr/lib/python3.10/site-packages/qrtools.py", line 262, in
> decode_webcam
> proc.init(device)
> zbar.UnsupportedError: <zbar.Processor object at 0x7f8ea35bce40>
> Abgebrochen (Speicherabzug geschrieben)
> --------------------------------------------------------------------
>
> Sometimes it helps to wait about 1-3 minutes!! before I select the
> webcam.
> (Webcam is working fine with all other programs)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/qr-tools/+bug/1965007/+subscriptions
>
>

--
Ramiro Algozino
Telecommunications Engineer
https://algozino.com.ar/ <http://algozino.com.ar/>