unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: chris <chris@bumblehead.com>
To: Sergey Trofimov <sarg@sarg.org.ru>
Cc: Josselin Poiret <dev@jpoiret.xyz>,
	chris@bumblehead.com, 68483@debbugs.gnu.org
Subject: bug#68483: Qutebrowser QT platform plugin could not be initialized
Date: Mon, 15 Jan 2024 23:07:19 -0800	[thread overview]
Message-ID: <ZaYrJ_-7nOQ46RRq@guix-xps> (raw)
In-Reply-To: <87fryxzstd.fsf@sarg.org.ru>

On  1月16日 火, Sergey Trofimov wrote:
> 
> Here you go:
> ```sh
> qtw=$(guix build qtwayland@6)/lib/qt6/plugins
> QT_PLUGIN_PATH=$qtw QT_QPA_PLATFORM_PLUGIN_PATH=$qtw/platforms qutebrowser -s qt.force_platform wayland
> ```
> 
> Maybe a qutebrowser-wayland package variant should be defined to do the
> required wrapping. Otherwise you can just install qtwayland@6 to your
> profile and use ~/.guix-home/profile/lib/qt6/plugins in paths.

Neither approach succeeded for me. What am I doing wrong...
```sh
$ ls $qtw
platforms/                  wayland-graphics-integration-client/  wayland-shell-integration/
wayland-decoration-client/  wayland-graphics-integration-server/

$ ls $qtw/platforms
libqwayland-egl.so  libqwayland-generic.so

$ qtw=/home/bumble/.guix-home/profile/lib/qt6/plugins; QT_PLUGIN_PATH=$qtw; QT_QPA_PLATFORM_PLUGIN_PATH=$qtw/platforms; qutebrowser -s qt.force_platform wayland
23:00:47 WARNING: Could not find the Qt platform plugin "wayland" in ""
23:00:47 CRITICAL: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: offscreen, vnc, minimal, xcb, vkkhrdisplay, linuxfb, minimalegl, eglfs.

Fatal Python error: Aborted

Current thread 0x00007f7b99434740 (most recent call first):
  File "/gnu/store/xc2z9q7z036ny3fipgqvwc01yn20j2jh-qutebrowser-3.1.0/lib/python3.10/site-packages/qutebrowser/app.py", line 545 in __init__
  File "/gnu/store/xc2z9q7z036ny3fipgqvwc01yn20j2jh-qutebrowser-3.1.0/lib/python3.10/site-packages/qutebrowser/app.py", line 80 in run
  File "/gnu/store/xc2z9q7z036ny3fipgqvwc01yn20j2jh-qutebrowser-3.1.0/lib/python3.10/site-packages/qutebrowser/qutebrowser.py", line 231 in main
  File "/gnu/store/xc2z9q7z036ny3fipgqvwc01yn20j2jh-qutebrowser-3.1.0/bin/.qutebrowser-real", line 33 in <module>

Extension modules: PyQt6.QtCore, PyQt6.QtGui, PyQt6.QtWidgets, markupsafe._speedups, yaml._yaml, PyQt6.QtNetwork, PyQt6.QtQml, PyQt6.QtOpenGL, PyQt6.QtDBus, PyQt6.QtPrintSupport, PyQt6.QtWebChannel, PyQt6.QtWebEngineCore, PyQt6.QtWebEngineWidgets, PyQt6.QtSql (total: 14)
```




  reply	other threads:[~2024-01-16  7:09 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-15 19:40 bug#68483: Qutebrowser QT platform plugin could not be initialized chris
2024-01-15 22:15 ` Josselin Poiret via Bug reports for GNU Guix
2024-01-15 22:44   ` chris
2024-01-16  6:38     ` Sergey Trofimov
2024-01-16  7:07       ` chris [this message]
2024-01-16  7:48         ` chris
2024-01-16 10:42           ` Clément Lassieur
2024-01-16 10:47             ` Sergey Trofimov
2024-01-16 11:02               ` Clément Lassieur
2024-01-16 11:35                 ` Sergey Trofimov
2024-01-16 15:12                   ` chris
2024-01-16 15:45                     ` chris
2024-01-16 16:19                       ` chris
2024-01-16 16:57                       ` chris
2024-01-16  7:53         ` chris
2024-01-16  8:14         ` chris
2024-01-16 10:00           ` Sergey Trofimov
2024-01-16 16:27 ` bug#68483: closing chris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZaYrJ_-7nOQ46RRq@guix-xps \
    --to=chris@bumblehead.com \
    --cc=68483@debbugs.gnu.org \
    --cc=dev@jpoiret.xyz \
    --cc=sarg@sarg.org.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).