Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-09 Thread Martin Tarenskeen
Hi, After upgrading my Linux Fedora from 34 to 35, which now provides Python 3.10, Frescobaldi will hang with a message like: Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/frescobaldi_app/qpageview/highlight.py", line 209, in paintEvent super().paintEven

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-09 Thread Knute Snortum
Just out of interest, what level of Frescobaldi are you using? -- Knute Snortum On Tue, Nov 9, 2021 at 1:18 AM Martin Tarenskeen wrote: > > > Hi, > > After upgrading my Linux Fedora from 34 to 35, which now provides Python > 3.10, Frescobaldi will hang with a message like: > > Traceback (most r

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-09 Thread Martin Tarenskeen
On Tue, 9 Nov 2021, Knute Snortum wrote: Just out of interest, what level of Frescobaldi are you using? -- Knute Snortum Level? I don't understand your question? MT

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-09 Thread Paul Hodges
What version, then? Paul On 09/11/2021 23:08:59, "Martin Tarenskeen" wrote: > > >On Tue, 9 Nov 2021, Knute Snortum wrote: > >>Just out of interest, what level of Frescobaldi are you using? >> >>-- >>Knute Snortum > >Level? > >I don't understand your question? > >MT >

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-09 Thread Martin Tarenskeen
Just out of interest, what level of Frescobaldi are you using? I use the Frescobaldi version that is shipped with the Fedora 35 repositories: frescobaldi-3.1.3-6.fc35.noarch The "about" dialog inside Frescobaldi shows: Frescobaldi: 3.1.3 Extension API: 0.9.0 Python: 3.10.0 python-ly: 0.9

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-10 Thread Federico Bruni
On Tue, Nov 9 2021 at 10:14:48 +0100, Martin Tarenskeen wrote: I have reported the problem upstream, I think the problem is/was already known. Just wanted to warn Fedora+Lilypond/Frescobaldi users who plan to upgrade from Fedora 34 to 35. If you very much need Frescobaldi it might be a good id

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-10 Thread Valentin Petzel
Hello Martin, As far as I have read this is solved by this patch: https://github.com/frescobaldi/frescobaldi/pull/1401/files which is simply adding int(...) twice. As python is an interpreted language you can apply this patch to an existing Frescobaldi installation. So you simply have to open th

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-10 Thread Federico Bruni
Il giorno mer 10 nov 2021 alle 16:14:19 +0100, Valentin Petzel ha scritto: As far as I have read this is solved by this patch: https://github.com/frescobaldi/frescobaldi/pull/1401/files which is simply adding int(...) twice. As python is an interpreted language you can apply this patch to an e

Re: Frescobaldi fails with Fedora 35 / Python 3.10

2021-11-10 Thread Valentin Petzel
Hello Frederico, technically you're always running frescobaldi from source. But well. I agree that usually it is not a good idea to patch dist files, but in this case I see no problems with this. The only real problem to patching dist files here is that any update to the package would revert th