Crash on Fedora 38
Hi razer, I just got a report downstream about a crash with the message
bubblemail: dismiss(): mail.py:277:dismiss:KeyError: '3d28cd23d0f477cf043036fe1521f85c'
.
I don't know if the backtrace helps, it's this:
mail.py:277:dismiss:KeyError: '3d28cd23d0f477cf043036fe1521f85c'
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/bubblemail/plugins/libnotifyplugin.py", line 109, in action_handler
self.actions['dismiss'](mail[M.UUID])
File "/usr/lib/python3.11/site-packages/bubblemail/mail.py", line 277, in dismiss
self[uuid][0] = True
~~~~^^^^^^
KeyError: '3d28cd23d0f477cf043036fe1521f85c'
Local variables in innermost frame:
self: {'5a82598b338aee2fff43d3f312843982': [True, {'uuid': '5a82598b338aee2fff43d3f312843982', 'account': '21f43cb8', 'datetime': '1640271690', 'subject': 'some subject', 'name': 'somewebsite.de', 'address': 'some@website.de', 'recipients': 'recipient@website.de', 'avatar': '/usr/share/bubblemail/avatars/A.png'}]}
uuid: '3d28cd23d0f477cf043036fe1521f85c'
commit: True
Full details here.