Startup fails with error
Created by: Uriziel
Starting up fails with the following error
Traceback (most recent call last):
File "/usr/local/bin/hamster", line 387, in <module>
hamster_client.overview()
File "/usr/local/bin/hamster", line 152, in overview
self._launch_window("overview")
File "/usr/local/bin/hamster", line 143, in _launch_window
getattr(server, window_name)()
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.ZeroDivisionError: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
retval = candidate_method(self, *args, **keywords)
File "/usr/local/lib/hamster-time-tracker/hamster-windows-service", line 38, in overview
def overview(self): dialogs.overview.show(self.app)
File "/usr/local/lib/python2.7/dist-packages/hamster/lib/configuration.py", line 149, in show
dialog = self.get_dialog_class()(parent, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/hamster/overview.py", line 418, in __init__
self.find_facts()
File "/usr/local/lib/python2.7/dist-packages/hamster/overview.py", line 456, in find_facts
self.totals.set_facts(self.facts)
File "/usr/local/lib/python2.7/dist-packages/hamster/overview.py", line 306, in set_facts
self.stacked_bar.set_items([(cat, delta.total_seconds() / 60.0) for cat, delta in totals['category']])
File "/usr/local/lib/python2.7/dist-packages/hamster/overview.py", line 137, in set_items
res.append((key, val, val * 1.0 / max_value))
ZeroDivisionError: float division by zero