Description of problem: opened zim, clicked edit > templates. scrolled down to Journal, clicked copy. Clicked cancel. Clicked View. Kwrite opened. Closed Kwrite. Crash Version-Release number of selected component: Zim-0.75.2-1.fc38 Additional info: reporter: libreport-2.17.11 kernel: 6.5.8-200.fc38.x86_64 cmdline: /usr/bin/python3 /usr/bin/zim cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-zim-7b233427f4aa411393a068fc9c6696b2.scope uid: 1000 reason: templateeditordialog.py:113:on_copy:AssertionError executable: /usr/bin/zim type: Python3 package: Zim-0.75.2-1.fc38 runlevel: N 5 exception_type: AssertionError crash_function: on_copy interpreter: python3-3.11.6-1.fc38.x86_64 comment: opened zim, clicked edit > templates. scrolled down to Journal, clicked copy. Clicked cancel. Clicked View. Kwrite opened. Closed Kwrite. Crash Truncated backtrace: templateeditordialog.py:113:on_copy:AssertionError Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/zim/gui/templateeditordialog.py", line 113, in on_copy assert name is not None ^^^^^^^^^^^^^^^^ AssertionError Local variables in innermost frame: self: <templateeditordialog.TemplateEditorDialog object at 0x7f6102680e80 (zim+gui+templateeditordialog+TemplateEditorDialog at 0x56390a4cfad0)> a: (<Gtk.Button object at 0x7f6102652680 (GtkButton at 0x56390a4f2180)>,) custom: <LocalFile: /home/radionaut/.local/share/zim/templates/wiki/Journal.txt> default: <LocalFile: /usr/share/zim/templates/wiki/Journal.txt> source: <LocalFile: /usr/share/zim/templates/wiki/Journal.txt> name: None
Created attachment 1995858 [details] File: os_info
Created attachment 1995859 [details] File: environ
Created attachment 1995860 [details] File: mountinfo
Created attachment 1995861 [details] File: open_fds
Created attachment 1995862 [details] File: namespaces
Created attachment 1995863 [details] File: backtrace
Created attachment 1995864 [details] File: cpuinfo
I can reproduce this issue with the given instructions. I will take a look.
Actually, ABRT triggers already in "Clicked cancel." step. Zim sometimes uses unhandled exceptions as flow control mechanism, which does not play well with ABRT. Here is the upstream pull request: https://github.com/zim-desktop-wiki/zim-desktop-wiki/pull/2505 I will wait for a week to see if I get a review comments, then I will patch all Fedora branches.
FEDORA-2023-7907e36d6a has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7907e36d6a
FEDORA-2023-7907e36d6a has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-de6e670877 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-de6e670877
FEDORA-2023-9efee5d884 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9efee5d884
FEDORA-2023-9efee5d884 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-9efee5d884` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-9efee5d884 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-de6e670877 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-de6e670877` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-de6e670877 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-9efee5d884 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-de6e670877 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report.