{"id":4214,"date":"2022-06-30T14:55:31","date_gmt":"2022-06-30T12:55:31","guid":{"rendered":"https:\/\/fodina.de\/?p=4214"},"modified":"2023-01-23T16:46:49","modified_gmt":"2023-01-23T15:46:49","slug":"frescobaldi-with-pip","status":"publish","type":"post","link":"https:\/\/2022.fodina.de\/en\/frescobaldi-with-pip\/","title":{"rendered":"Frescobaldi on Ubuntu 22.04: prefer pip to apt"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"alignleft size-full is-resized\"><a href=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2022\/07\/Frescobaldi-logo.png\" data-fancybox=\"\"><img decoding=\"async\" src=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2022\/07\/Frescobaldi-logo.png\" alt=\"\" class=\"wp-image-3346\" width=\"100\"><\/a><\/figure><\/div>\n\n<div class=\"wp-block-image\"><figure class=\"alignright size-large is-resized\"><a href=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2022\/07\/jj-logo.png\"><img decoding=\"async\" src=\"https:\/\/2022.fodina.de\/wp-content\/uploads\/2022\/07\/jj-logo.png\" alt=\"\" width=\"140\"><\/a><\/figure><\/div>\n\n\n\n<p>Under Ubuntu 22.04, <em>Frescobaldi<\/em> 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 <code>qpageview \/highlight.py<\/code> respectively <code>qpageview\/shadow.py<\/code>. Now, the user can &#8216;google&#8217; for the  cause &#8211; or read the following lines<!--more--><\/p>\n\n\n\n<p> The Google query <em>Frescobaldi Python 3.10<\/em> is answered by a row of bug reports, including the one titled &#8220;<a href=\"https:\/\/github.com\/frescobaldi\/frescobaldi\/issues\/1398\">Frescobaldi 3.13 crashes with python 3.10 #1398<\/a>&#8220;. <em>Frescobaldi<\/em> itself says in its about-dialog that Ubuntu 22.04 contains version 3.1.3. And on the &#8216;shell&#8217;, the command <code>python3 --version<\/code> indicates that Python 3.10.4 is installed. <a href=\"https:\/\/groups.google.com\/g\/frescobaldi\/c\/XkzX4VD-Ku4\">Also, this combination does not (directly) work<\/a>.<\/p>\n\n\n\n<p>Thus, without any workarounds, <em>Frescobaldi<\/em> cannot seriously be used on Ubuntu 22.04. It&#8217;s to difficult o work for the composer if she does not see the effect what she has written &#8216;lilypondian&#8217;. What can she do?<\/p>\n\n\n\n<ul>\n<li>On the one hand, she could import package upgrades until Ubuntu has fixed <em>Frescobaldi <\/em>&#8211; but would have to work without that tool until then.<\/li>\n\n\n\n<li>Secondly, she could customize the code herself &#8211; <a href=\"https:\/\/groups.google.com\/g\/frescobaldi\/c\/XkzX4VD-Ku4\">as described by Jorma Louhi<\/a>.<\/li>\n\n\n\n<li>Or, thirdly, she could install the newer version 3.2 via pip<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get remove frescobaldi\npip install qpageview\npip install frescobaldi<\/code><\/pre>\n\n\n\n<p>The prerequisite for this, however, is that <a href=\"https:\/\/frescobaldi.org\/download\">the other libs and tools required by <em>Frescobaldi<\/em><\/a> are installed from the distribution packages, i.e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get install python3-pip\nsudo apt-get install python3\nsudo apt-get install python3-qt5\nsudo apt-get install python3-ly\nsudo apt-get install python3-poppler-qt5\nsudo apt-get install python3-pygame<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Frescobaldi startet auf einem normale Ubuntu 22.04 mit einer Fehlermeldung: Der Bereich der Notenanzeige sagt, Frescoblado \u00fcbergebe via qpageview\/highlight.py und qpageview\/shadow.py an eine Funktion unerwarteterweise ein Argument vom Typ float. Nun gilt es zu &#8216;googeln&#8217; &#8211; oder hier weiterzulesen<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[67,68],"tags":[61],"translation":{"provider":"WPGlobus","version":"2.12.2","language":"en","enabled_languages":["de","en"],"languages":{"de":{"title":true,"content":true,"excerpt":false},"en":{"title":true,"content":true,"excerpt":false}}},"_links":{"self":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts\/4214"}],"collection":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/comments?post=4214"}],"version-history":[{"count":27,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts\/4214\/revisions"}],"predecessor-version":[{"id":4404,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/posts\/4214\/revisions\/4404"}],"wp:attachment":[{"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/media?parent=4214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/categories?post=4214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2022.fodina.de\/en\/wp-json\/wp\/v2\/tags?post=4214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}