Bug 2121995

Summary: Frescobaldi does not start as it crashes immediately (TypeError)
Product: [Fedora] Fedora Reporter: Lukas Ruzicka <lruzicka>
Component: frescobaldiAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 37CC: fede, gwync, oget.fedora
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: frescobaldi-3.2-2.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-10 22:24:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lukas Ruzicka 2022-08-28 07:50:34 UTC
Description of problem:

Frescobaldi does not start on Fedora 37 as it crashes instantly leaving an error message on CLI (when invoked from there).

Version-Release number of selected component (if applicable):
frescobaldi-3.2-1.fc37.noarch

How reproducible:
Always

Steps to Reproduce:
1. Run Frescobaldi.
2. Run it from CLI to see the messages.
3.

Actual results:
It seems that Frescobaldi fails on TypeError not expecting QEvent.

Expected results:
Frescobaldi should work normally as on F36.

Additional info:

The error message from the CLI.
~~~
[lruzicka@fedora ~]$ frescobaldi 
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/frescobaldi_app/view.py", line 107, in event
    if ev.type() == QEvent.KeyPress:
       ^^^^^^^
TypeError: a member of enum 'StandardKey' is expected not 'QEvent'
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/frescobaldi_app/view.py", line 107, in event
    if ev.type() == QEvent.KeyPress:
       ^^^^^^^
TypeError: a member of enum 'StandardKey' is expected not 'QEvent'
Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])
~~~

Comment 1 Gwyn Ciesla 2022-08-29 14:39:35 UTC
Is python3-qpageview installed?

Comment 2 Lukas Ruzicka 2022-09-01 07:39:23 UTC
Yes, the python3-qpageview package is installed on the affected system -> python3-qpageview-0.6.2-2.fc37.noarch

Comment 3 Gwyn Ciesla 2022-09-01 16:44:56 UTC
I can reproduce it, so I've filed it upstream.

Comment 4 Lukas Ruzicka 2022-09-02 07:14:17 UTC
Thank you very much.

Comment 5 Fedora Update System 2022-10-24 17:20:50 UTC
FEDORA-2022-6edce20723 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-6edce20723

Comment 6 Fedora Update System 2022-10-25 11:34:35 UTC
FEDORA-2022-6edce20723 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-6edce20723`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-6edce20723

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-11-10 22:24:17 UTC
FEDORA-2022-6edce20723 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.