GNU bug report logs - #74991
qutebrowser 3.3.1 - Fatal error: PyQt6.QtCore could not be imported

Previous Next

Package: guix;

Reported by: <emacs.is.my.life <at> gmail.com>

Date: Fri, 20 Dec 2024 04:47:03 UTC

Severity: normal

Done: Rodion Goritskov <rodion.goritskov <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74991 in the body.
You can then email your comments to 74991 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#74991; Package guix. (Fri, 20 Dec 2024 04:47:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to <emacs.is.my.life <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 20 Dec 2024 04:47:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: <emacs.is.my.life <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: qutebrowser 3.3.1 - Fatal error: PyQt6.QtCore could not be imported
Date: Fri, 20 Dec 2024 10:20:53 +0900
Hello
I updated my guix system and qutebrowser does not work since then.
When I try to run qutebrowser I get the following error pop-up:


Fatal error: PyQt6.QtCore is required to run qutebrowser but could 
not be imported! Maybe it's not installed?
The error encountered was: libzstd.so.1: cannot open shared object 
file: No such file or directory
Please search for the python3 version of Python3 version of 
PyQt6.QtCore in your distributions packages, or see 
https://github.com/qutebrowser/qutebrowser/blob/main/doc/install.asciidoc
If you installed a qutebrowser package for your distribution, 
please report this as a bug.
Qt wrapper info:
PyQt6: success
PyQt5: not imported
-> selected: PyQt6 (via autoselect)


Best




Information forwarded to bug-guix <at> gnu.org:
bug#74991; Package guix. (Sun, 22 Dec 2024 20:30:02 GMT) Full text and rfc822 format available.

Message #8 received at 74991 <at> debbugs.gnu.org (full text, mbox):

From: Rodion Goritskov <rodion.goritskov <at> gmail.com>
To: 74991 <at> debbugs.gnu.org
Subject: qutebrowser 3.3.1 - Fatal error: PyQt6.QtCore could not be imported
Date: Sun, 22 Dec 2024 21:28:41 +0100
Hi!

I tried running qutebrowser on the following Guix

>   guix da94cd1
>   repository URL: https://git.savannah.gnu.org/git/guix.git
>   branch: master
>   commit: da94cd1ea69559a80d291c6a574b0f23e30c64f2

Running with the following command in pure container:

> guix shell --pure -CN -E "^DISPLAY$" -E "^XAUTHORITY$"
> --expose="$XAUTHORITY" --share=/tmp/.X11-unix/ qutebrowser bash --
> bash -c "LIBGL_ALWAYS_SOFTWARE=1 qutebrowser"

Qutebrowser starts successfully and opens the default search engine page.

In your error I find odd the following line:
> The error encountered was: libzstd.so.1: cannot open shared object

Maybe there is something wrong with the store?

I am not an expert there, but you could try:

> sudo guix gc --verify=repair




Information forwarded to bug-guix <at> gnu.org:
bug#74991; Package guix. (Tue, 24 Dec 2024 03:33:02 GMT) Full text and rfc822 format available.

Message #11 received at 74991 <at> debbugs.gnu.org (full text, mbox):

From: <emacs.is.my.life <at> gmail.com>
To: 74991 <at> debbugs.gnu.org
Subject: Problem fixed...! 
Date: Tue, 24 Dec 2024 12:31:38 +0900
Hello

Problem was that PyQt6 couldn't load libzstd.so.1 so Qutebrowser 
couldn't start.
It was due to pyqt6 installed from pip.
I removed pyqt6 installed from pip and now qutebrowser works fine.

Thank you
Best




bug closed, send any further explanations to 74991 <at> debbugs.gnu.org and <emacs.is.my.life <at> gmail.com> Request was from Rodion Goritskov <rodion.goritskov <at> gmail.com> to control <at> debbugs.gnu.org. (Tue, 24 Dec 2024 22:39:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 22 Jan 2025 12:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.