Gajim crashed when deleting entire chat history
Versions
- OS: Linux
- GTK+ Version: 3.22.25
- PyGObject Version: 3.24.1
- python-nbxmpp Version: 0.6.4
- Gajim Version: 1.0.0
Traceback
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/gajim/history_manager.py", line 283, in on_jids_listview_selection_changed
self._fill_logs_listview(jid)
File "/usr/lib/python3/dist-packages/gajim/history_manager.py", line 350, in _fill_logs_listview
jid_id = self._get_jid_id(jid)
File "/usr/lib/python3/dist-packages/gajim/history_manager.py", line 298, in _get_jid_id
jid_id = self.cur.fetchone()[0]
TypeError: 'NoneType' object is not subscriptable
Steps to reproduce the problem
- Open the chat history window
- Select all (Ctrl+A)
- Right click and choose delete
- Error happened