attempt to write read-only database

Bug #1053115 reported by Johan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
hamster-applet (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I get the following message after a purge and an install of hamster-applet and then trying to add an activity:

Traceback (most recent call last):
  File "/usr/bin/hamster-indicator", line 351, in on_switch_activity_clicked
    super(HamsterIndicator, self).on_switch_activity_clicked(widget)
  File "/usr/lib/python2.7/dist-packages/hamster/applet.py", line 691, in on_switch_activity_clicked
    runtime.storage.add_fact(fact, temporary)
  File "/usr/lib/python2.7/dist-packages/hamster/client.py", line 186, in add_fact
    temporary_activity)
  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.sqlite3.OperationalError: 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/lib/python2.7/dist-packages/hamster/storage.py", line 118, in AddFact
    result = self.__add_fact(fact, start_time, end_time, temporary)
  File "/usr/lib/python2.7/dist-packages/hamster/db.py", line 539, in __add_fact
    category_id, temporary)
  File "/usr/lib/python2.7/dist-packages/hamster/db.py", line 815, in __add_activity
    self.execute(query, (name, name.lower(), category_id, deleted))
  File "/usr/lib/python2.7/dist-packages/hamster/db.py", line 911, in execute
    cur.execute(state, param)
OperationalError: attempt to write a readonly database

This renders the package completely useless.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in hamster-applet (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.