Documentation Viewer in FB 4.0.1, PyQtWebEngine and Linux Mint

49 views
Skip to first unread message

Sigismund Neukomm

unread,
May 5, 2025, 6:31:28 AMMay 5
to Frescobaldi
Hello all,
I hope that someone here can help solve this mistery here:
I am on Linux Mint 22.1 Xia Cinnamon. Following the very concise and understandable installation instructions results in a successful installation, but with one major flaw: the Frescobaldi Documentation Viewer throws an error saying that it does not work, because PyQtWebEngine could not be loaded.
This is a problem I have never had before with Frescobaldi. I have Python 3.12.3 and PyQt6-WebEngine==6.6.0 on my system, and I have to install Frescobaldi via pipx into a venv.
Does the problem have to do something with that? And how can it be solved? Any suggestions?

Otherwise that would mean that at least on my system you cannot use the latest Frescobaldi version or you must use the flatpak which does not have this problem.

Thank you for your help  in advance.

Federico Bruni

unread,
May 5, 2025, 9:19:46 AMMay 5
to fresc...@googlegroups.com


Il giorno lun 5 mag 2025 alle 03:31:28 -07:00:00, 'Sigismund Neukomm'
via Frescobaldi <fresc...@googlegroups.com> ha scritto:
> Hello all,
> I hope that someone here can help solve this mistery here:
> I am on Linux Mint 22.1 Xia Cinnamon. Following the very concise and
> understandable installation instructions results in a successful
> installation, but with one major flaw: the Frescobaldi Documentation
> Viewer throws an error saying that it does not work, because
> PyQtWebEngine could not be loaded.
> This is a problem I have never had before with Frescobaldi. I have
> Python 3.12.3 and PyQt6-WebEngine==6.6.0 on my system, and I have to
> install Frescobaldi via pipx into a venv.
>

The old installation instructions suggested to use an option which is
not needed anymore and it may cause the problem here. Please try the
following commands:

pipx uninstall frescobaldi
git clone https://github.com/frescobaldi/frescobaldi.git
cd frescobaldi
git checkout install
cd ..
pipx install ./frescobaldi

Then in your next reply copy&paste the output of these three commands:

ls ~/.local/share/pipx/venvs/frescobaldi/lib/python3.12/site-packages
which -a frescobaldi
frescobaldi



Sigismund Neukomm

unread,
May 5, 2025, 11:18:39 AMMay 5
to Frescobaldi
First of all: thanks a lot for your suggestions. Frescobaldi is installed, and the Documentation Viewer works now. Here's the output of the last three commands:

  1. ls ~/.local/share/pipx/venvs/frescobaldi/lib/python3.12/site-packages
    ls: Zugriff auf '/home/falter/.local/share/pipx/venvs/frescobaldi/lib/python3.12/site-packages' nicht möglich: Datei oder Verzeichnis nicht gefunden (could not find the site-packages)
  2. which -a frescobaldi
    /home/falter/.local/bin/frescobaldi
  3. frescobaldi
    [2244603:2245701:0505/164513.239982:ERROR:nss_util.cc(345)] After loading Root Certs, loaded==false: NSS error code: -8018
I do not know what this error means, but it does not seem to have a visible negative effect. On launch there is a warning that Frescobaldi is configured to run in German, but that no other language than English is installed. So I did tox -e mo-generate in the frescobaldi folder. I double-checked, and it seems that the necessary files are present (frescobaldi/i18n/frescobaldi). But Frescobaldi keeps complaining that it can only run in English. Strange...

Sigismund Neukomm

unread,
May 5, 2025, 11:57:22 AMMay 5
to Frescobaldi
Edit: I silenced the complaints by starting all over again, but doing tox -e mo-generate and tox -e linux-generate after cloning the repository and before git checkout install. Now it's in German, and in the preferences you can choose other available languages.

So I guess we are all set! Thank you again. Now I can look through the German translation and see if any changes have been made or added (have they - I mean in the English original)? Anyway, I'll take a look and see what I will find and report back on Github.

Sigismund Neukomm

unread,
May 5, 2025, 5:09:41 PMMay 5
to Frescobaldi

Just for the record: you mentioned

"The old installation instructions suggested to use an option which is
not needed anymore and it may cause the problem here."

Which option do you mean?

Federico Bruni

unread,
May 5, 2025, 5:15:29 PMMay 5
to fresc...@googlegroups.com
It's pipx --system-site-packages

PR to update the installation instructions:
https://github.com/frescobaldi/frescobaldi/pull/1939



Il giorno lun 5 mag 2025 alle 14:09:41 -07:00:00, 'Sigismund Neukomm'
> --
> Frescobaldi homepage: http://www.frescobaldi.org/
> Mailing list: http://groups.google.com/group/frescobaldi
> Issue tracker: https://github.com/frescobaldi/frescobaldi/issues
> ---
> You received this message because you are subscribed to the Google
> Groups "Frescobaldi" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to frescobaldi...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/frescobaldi/a85c5c15-d5d3-4ad4-b28c-1380429f6d60n%40googlegroups.com.


Message has been deleted

Sigismund Neukomm

unread,
May 6, 2025, 4:04:02 PMMay 6
to Frescobaldi
Oh, I see! Thanks!
Reply all
Reply to author
Forward
0 new messages