Unable to edit a just saved activity in overview
Created by: ederag
Saving an activity and quickly double-click on it in overview sometimes yields
Traceback (most recent call last):
File "/home/ederag/hamster/src/hamster/overview.py", line 548, in on_row_activated
dialogs.edit.show(self, fact_id=fact.id)
File "/home/ederag/hamster/src/hamster/lib/configuration.py", line 150, in show
dialog = self.get_dialog_class()(parent, **kwargs)
File "/home/ederag/hamster/src/hamster/edit_activity.py", line 62, in __init__
fact = runtime.storage.get_fact(fact_id)
File "/home/ederag/hamster/src/hamster/client.py", line 172, in get_fact
return from_dbus_fact(self.conn.GetFact(id))
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.IndexError: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/dbus/service.py", line 707, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "src/hamster-service", line 157, in GetFact
fact = dict(self.get_fact(fact_id))
File "/home/ederag/hamster/src/hamster/storage/storage.py", line 54, in get_fact
return self.__get_fact(fact_id)
File "/home/ederag/hamster/src/hamster/storage/db.py", line 377, in __get_fact
return self.__group_tags(self.fetchall(query, (self._unsorted_localized, id)))[0]
IndexError: list index out of range
Reproducible; I'm on it.