FS#21355 - [hamster-applet] ceased functioning
Attached to Project:
Arch Linux
Opened by Ayr0 (ayr0) - Tuesday, 19 October 2010, 22:35 GMT
Last edited by Ionut Biru (wonder) - Thursday, 04 November 2010, 08:43 GMT
Opened by Ayr0 (ayr0) - Tuesday, 19 October 2010, 22:35 GMT
Last edited by Ionut Biru (wonder) - Thursday, 04 November 2010, 08:43 GMT
|
Details
Description:
After doing a system update to python3 as the default python, hamster-applet ceased functioning. Additional info: * hamster-applet will not allow the stopping of a task Traceback (most recent call last): File "/usr/bin/hamster-cli", line 275, in <module> hamster_client.stop_tracking() File "/usr/bin/hamster-cli", line 52, in stop_tracking self.storage.stop_tracking() File "/usr/lib/python2.7/site-packages/hamster/client.py", line 196, in stop_tracking return self.conn.StopTracking(end_time) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__ return self._proxy_method(*args, **keywords) File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__ **keywords) File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking message, timeout) dbus.exceptions.DBusException: org.freedesktop.DBus.Python.sqlite3.ProgrammingError: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/dbus/service.py", line 702, in _message_cb retval = candidate_method(self, *args, **keywords) File "/usr/lib/python2.7/site-packages/hamster/storage.py", line 172, in StopTracking self.__touch_fact(facts[-1], end_time) File "/usr/lib/python2.7/site-packages/hamster/db.py", line 380, in __touch_fact self.__remove_fact(fact['id']) File "/usr/lib/python2.7/site-packages/hamster/db.py", line 736, in __remove_fact self.execute(statements, [(fact_id,)] * 2) File "/usr/lib/python2.7/site-packages/hamster/db.py", line 921, in execute cur.execute(state, param) ProgrammingError: Cannot operate on a closed cursor. Steps to reproduce: pacman -Syu hamster-cli start test_action hamster-cli stop [error produced] |
This task depends upon
Closed by Ionut Biru (wonder)
Thursday, 04 November 2010, 08:43 GMT
Reason for closing: Fixed
Additional comments about closing: hamster-applet-2.32.0-4-
Thursday, 04 November 2010, 08:43 GMT
Reason for closing: Fixed
Additional comments about closing: hamster-applet-2.32.0-4-
Architecture x86_64
I'm convinced it has something to do with sqlite (or the python interface to sqlite).
i don't know why it closed, but if we open it again, all works. attached patch
Hitting the "stop tracking" button still produces the error so that it is impossible to stop tracking.
Maybe db.py was cached or something like that.
https://bugzilla.gnome.org/show_bug.cgi?id=633103