Ubuntu 22: Borked my installation, which packages do I need?

21 views
Skip to first unread message

James Harkins

unread,
Feb 7, 2023, 7:15:23 PM2/7/23
to Frescobaldi
Hi,

Some months ago, I had installed Frescobaldi successfully. Ubuntu Studio 22.04.

Then, a few days ago, I cleaned out autoremove packages, without realizing that this would delete some packages I installed manually for Frescobaldi.

I've since reinstalled python3-poppler-qt5, python3-ly, python3-qpageview and python3-pyqt5.

Frescobaldi now launches successfully, but rendering a score crashes with:

  File "/home/dlm/share/debs/frescobaldi-3.2/frescobaldi_app/job/__init__.py", line 304, in _update_process_environment
    se.remove(k) if v is None else se.insert(k, v)
TypeError: arguments did not match any overloaded call:
  insert(self, str, str): argument 2 has unexpected type 'bool'
  insert(self, QProcessEnvironment): argument 1 has unexpected type 'str'

I admit to being confused by the other dependencies. I got the Python poppler package, but Poppler itself... I search the package manager and I've got poppler-utils and poppler-data, but... is that the main Poppler install? Qt5, I search QtCore and the only potentially interesting package is python3-pyside2.qtcore but pyside? That seems irrelevant.

I'm not sure what to do to get it working again.

Thanks.

hjh

Knute Snortum

unread,
Feb 7, 2023, 8:28:50 PM2/7/23
to fresc...@googlegroups.com
I'm not sure how much this will help you, but I looked up where I got
the Frescobaldi dependencies and their version. I'm on 22.04.1.

Frescobaldi: 3.2
Extension API: 0.9.0
Python: 3.10.6 [automatic: apt python3.10]
python-ly: 0.9.7 [pip python-ly]
Qt: 5.15.3 [automatic: apt see below]
PyQt: 5.15.6 [pip PyQt5]
sip: 6.5.1 [?]
qpageview: 0.6.2 [pip qpageview]
poppler: 22.2.0 [automatic: apt poppler-data, poppler-utils]
python-poppler-qt: 0.75.0 [manual: apt python3-poppler-qt5]

apt search qt5 | grep "installed"

This is what I get (I remove the "lib" packages as I believe they are
installed automatically.)

pyqt5-dev-tools/jammy,now 5.15.6+dfsg-1ubuntu3 amd64 [installed]
python3-poppler-qt5/jammy,now 0.75.0-3build2 amd64 [installed]
python3-pyqt5/jammy,now 5.15.6+dfsg-1ubuntu3 amd64 [installed,automatic]
python3-pyqt5.qtmultimedia/jammy,now 5.15.6+dfsg-1ubuntu3 amd64
[installed,automatic]
python3-pyqt5.qtopengl/jammy,now 5.15.6+dfsg-1ubuntu3 amd64
[installed,automatic]
python3-pyqt5.qtpositioning/jammy,now 5.15.6+dfsg-1ubuntu3 amd64
[installed,automatic]
python3-pyqt5.qtquick/jammy,now 5.15.6+dfsg-1ubuntu3 amd64 [installed,automatic]
python3-pyqt5.qtsensors/jammy,now 5.15.6+dfsg-1ubuntu3 amd64
[installed,automatic]
python3-pyqt5.qtserialport/jammy,now 5.15.6+dfsg-1ubuntu3 amd64
[installed,automatic]
python3-pyqt5.qtsql/jammy,now 5.15.6+dfsg-1ubuntu3 amd64 [installed,automatic]
python3-pyqt5.qtsvg/jammy,now 5.15.6+dfsg-1ubuntu3 amd64 [installed,automatic]
python3-pyqt5.qttexttospeech/jammy,now 5.15.6+dfsg-1ubuntu3 amd64
[installed,automatic]
python3-pyqt5.qtwebchannel/jammy,now 5.15.6+dfsg-1ubuntu3 amd64
[installed,automatic]
python3-pyqt5.qtwebengine/jammy,now 5.15.5-1 amd64 [installed,automatic]
python3-pyqt5.qtwebkit/jammy,now 5.15.6+dfsg-1ubuntu3 amd64
[installed,automatic]
python3-pyqt5.qtwebsockets/jammy,now 5.15.6+dfsg-1ubuntu3 amd64
[installed,automatic]
python3-pyqt5.qtxmlpatterns/jammy,now 5.15.6+dfsg-1ubuntu3 amd64
[installed,automatic]
python3-pyqt5.sip/jammy,now 12.9.1-1build1 amd64 [installed,automatic]
python3-qtpy/jammy,jammy,now 2.0.0-3 all [installed]
qdoc-qt5/jammy,now 5.15.3-1 amd64 [installed,automatic]
qhelpgenerator-qt5/jammy,now 5.15.3-1 amd64 [installed,automatic]
qt5-assistant/jammy,now 5.15.3-1 amd64 [installed,automatic]
qt5-gtk-platformtheme/jammy-updates,now 5.15.3+dfsg-2ubuntu0.2 amd64
[installed,automatic]
qtattributionsscanner-qt5/jammy,now 5.15.3-1 amd64 [installed,automatic]

It could be python3-pyqt5 that's the main install.

--
Knute Snortum
> --
> 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 on the web visit https://groups.google.com/d/msgid/frescobaldi/92c7bc64-b900-4848-990f-d50fb6466524n%40googlegroups.com.

Jean Abou Samra

unread,
Feb 7, 2023, 8:34:52 PM2/7/23
to fresc...@googlegroups.com, James Harkins
On 08/02/2023 01:15, James Harkins wrote:

>   File "/home/dlm/share/debs/frescobaldi-3.2/frescobaldi_app/job/__init__.py", line 304, in _update_process_environment
>     se.remove(k) if v is None else se.insert(k, v)
> TypeError: arguments did not match any overloaded call:
>   insert(self, str, str): argument 2 has unexpected type 'bool'
>   insert(self, QProcessEnvironment): argument 1 has unexpected type 'str'


That doesn't sound like it has anything to do with dependencies, and rather
sounds like

https://github.com/frescobaldi/frescobaldi/issues/1419

See this comment in particular:

https://github.com/frescobaldi/frescobaldi/issues/1469#issuecomment-1327965349

OpenPGP_signature

James Harkins

unread,
Feb 8, 2023, 1:10:29 AM2/8/23
to Frescobaldi
On Wednesday, February 8, 2023 at 9:34:52 AM UTC+8 je... wrote:
That doesn't sound like it has anything to do with dependencies, and rather
sounds like

https://github.com/frescobaldi/frescobaldi/issues/1419

That was it.

Quite strange, I'd have assumed that installing package "lilypond" by hand would have marked it ineligible for autoremove, but it had gotten uninstalled anyway. Would never have assumed that.

Anyway it's fixed now, thanks.

hjh
Reply all
Reply to author
Forward
0 new messages