Under Ubuntu 22.04, Frescobaldi starts with an error: The area for displaying the music sheets says that Frescobaldi unexpectedly passes an argument of the type float to a function in qpageview /highlight.py
respectively qpageview/shadow.py
. Now, the user can ‘google’ for the cause — or read the following lines
The Google query Frescobaldi Python 3.10 is answered by a row of bug reports, including the one titled “Frescobaldi 3.13 crashes with python 3.10 #1398″. Frescobaldi itself says in its about-dialog that Ubuntu 22.04 contains version 3.1.3. And on the ‘shell’, the command python3 --version
indicates that Python 3.10.4 is installed. Also, this combination does not (directly) work.
Thus, without any workarounds, Frescobaldi cannot seriously be used on Ubuntu 22.04. It’s to difficult o work for the composer if she does not see the effect what she has written ‘lilypondian’. What can she do?
- On the one hand, she could import package upgrades until Ubuntu has fixed Frescobaldi - but would have to work without that tool until then.
- Secondly, she could customize the code herself — as described by Jorma Louhi.
- Or, thirdly, she could install the newer version 3.2 via pip
sudo apt-get remove frescobaldi
pip install qpageview
pip install frescobaldi
The prerequisite for this, however, is that the other libs and tools required by Frescobaldi are installed from the distribution packages, i.e
sudo apt-get install python3-pip
sudo apt-get install python3
sudo apt-get install python3-qt5
sudo apt-get install python3-ly
sudo apt-get install python3-poppler-qt5
sudo apt-get install python3-pygame