Bug 2121727 - [abrt] frescobaldi: event(): view.py:107:event:TypeError: a member of enum 'StandardKey' is expected not 'QEvent'
Summary: [abrt] frescobaldi: event(): view.py:107:event:TypeError: a member of enum 'S...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: frescobaldi
Version: 37
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:e69bde272523ee26fdb6eb56786...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-26 12:25 UTC by Lukas Ruzicka
Modified: 2022-11-10 22:24 UTC (History)
4 users (show)

Fixed In Version: frescobaldi-3.2-2.fc37
Clone Of:
Environment:
Last Closed: 2022-11-10 22:24:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (489 bytes, text/plain)
2022-08-26 12:25 UTC, Lukas Ruzicka
no flags Details
File: cpuinfo (2.82 KB, text/plain)
2022-08-26 12:25 UTC, Lukas Ruzicka
no flags Details
File: environ (1.35 KB, text/plain)
2022-08-26 12:25 UTC, Lukas Ruzicka
no flags Details
File: mountinfo (2.81 KB, text/plain)
2022-08-26 12:25 UTC, Lukas Ruzicka
no flags Details
File: namespaces (172 bytes, text/plain)
2022-08-26 12:25 UTC, Lukas Ruzicka
no flags Details
File: open_fds (4.41 KB, text/plain)
2022-08-26 12:25 UTC, Lukas Ruzicka
no flags Details

Description Lukas Ruzicka 2022-08-26 12:25:46 UTC
Description of problem:
I clicked on the Frescobaldi icon to start the application, but it did not start and crashed immediately.


Version-Release number of selected component:
frescobaldi-3.1.3-11.fc37

Additional info:
reporter:       libreport-2.17.2
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.frescobaldi.Frescobaldi-16535.scope
cmdline:        /usr/bin/python3 /usr/bin/frescobaldi
crash_function: event
exception_type: TypeError
executable:     /usr/bin/frescobaldi
interpreter:    python3-3.11.0~rc1-2.fc37.x86_64
kernel:         5.19.3-300.fc37.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
view.py:107:event: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'

Local variables in innermost frame:
self: <view.View object at 0x7fb995260e50>
ev: <PyQt5.QtCore.QEvent object at 0x7fb995260ee0>
__class__: <class 'view.View'>

Comment 1 Lukas Ruzicka 2022-08-26 12:25:50 UTC
Created attachment 1907853 [details]
File: backtrace

Comment 2 Lukas Ruzicka 2022-08-26 12:25:51 UTC
Created attachment 1907854 [details]
File: cpuinfo

Comment 3 Lukas Ruzicka 2022-08-26 12:25:53 UTC
Created attachment 1907855 [details]
File: environ

Comment 4 Lukas Ruzicka 2022-08-26 12:25:54 UTC
Created attachment 1907856 [details]
File: mountinfo

Comment 5 Lukas Ruzicka 2022-08-26 12:25:55 UTC
Created attachment 1907857 [details]
File: namespaces

Comment 6 Lukas Ruzicka 2022-08-26 12:25:57 UTC
Created attachment 1907858 [details]
File: open_fds

Comment 7 Lukas Ruzicka 2022-08-26 12:27:55 UTC
When started from console:

QSocketNotifier: Can only be used with threads started with QThread
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
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 8 Lukas Ruzicka 2022-10-19 07:39:40 UTC
Similar problem has been detected:

I wanted to start Frescobaldi but it seems not to be working.

reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/vte-spawn-09ef6395-dc93-440d-8748-14d530b3f045.scope
cmdline:        /usr/bin/python3 /usr/bin/frescobaldi
crash_function: event
exception_type: TypeError
executable:     /usr/bin/frescobaldi
interpreter:    python3-3.11.0~rc2-1.fc37.x86_64
kernel:         5.19.14-300.fc37.x86_64
package:        frescobaldi-3.2-1.fc37
reason:         view.py:107:event:TypeError: a member of enum 'StandardKey' is expected not 'QEvent'
runlevel:       N 5
type:           Python3
uid:            1000

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

Comment 10 Fedora Update System 2022-10-25 11:34:33 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 11 Fedora Update System 2022-11-10 22:24:15 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.


Note You need to log in before you can comment on or make changes to this bug.