hamster-applet crashed with OperationalError in execute(): no such module: fts3

Bug #713135 reported by Jamie Strandboge
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hamster-applet (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: hamster-applet

Recent updates broke hamster with the above error.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: hamster-applet 2.31.92-0ubuntu4
ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2
Uname: Linux 2.6.38-1-generic x86_64
Architecture: amd64
Date: Fri Feb 4 08:45:10 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/lib/hamster-applet/hamster-applet
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
InterpreterPath: /usr/bin/python2.7
ProcCmdline: python /usr/lib/hamster-applet/hamster-applet --oaf-activate-iid=OAFIID:Hamster_Applet_Factory --oaf-ior-fd=22
ProcEnviron:
 LC_MESSAGES=en_US.utf8
 LANG=en_US.UTF-8
 LANGUAGE=en_US:en
 PATH=(custom, user)
 SHELL=/bin/bash
PythonArgs: ['/usr/lib/hamster-applet/hamster-applet', '--oaf-activate-iid=OAFIID:Hamster_Applet_Factory', '--oaf-ior-fd=22']
SourcePackage: hamster-applet
Title: hamster-applet crashed with OperationalError in execute(): no such module: fts3
UserGroups: adm admin cdrom dialout kvm libvirtd lpadmin plugdev sambashare sbuild

Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Downgrading to pygobject 2.27.0+git20110108-0ubuntu1 fixes the issue. This is likely the same as bug #713115.

visibility: private → public
Revision history for this message
Martin Pitt (pitti) wrote :

I can reproduce the crash, but it happens with the old pygobject as well:

ii python-gobject 2.27.0+git20110108-0ubuntu1 Python bindings for the GObject library
ii python-gobject-cairo 2.27.0+git20110108-0ubuntu1 Python Cairo bindings for the GObject library

rm -r ~/.local/share/hamster-applet
$ /usr/bin/hamster-service
hamster-service up
Traceback (most recent call last):
  File "/usr/bin/hamster-service", line 22, in <module>
    storage = db.Storage(loop)
  File "/usr/lib/pymodules/python2.7/hamster/db.py", line 82, in __init__
    self.run_fixtures()
  File "/usr/lib/pymodules/python2.7/hamster/db.py", line 1182, in run_fixtures
    USING fts3(id, name, category, description, tag)""")
  File "/usr/lib/pymodules/python2.7/hamster/db.py", line 921, in execute
    cur.execute(state, param)
sqlite3.OperationalError: no such module: fts3

Also, this doesn't look related to pygobject itself. Can yo u confirm that it works for you if you temporarily move away your ~/.local/share/hamster-applet, ensure that hamster-service isn't running, and start it like above?

Changed in hamster-applet (Ubuntu):
status: New → Incomplete
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

It does work. Here is what I did to confirm:

1. removed hamster from my panel
2. logged out
3. verified no 'hamster' processes were running (ps auxww|grep hamster)
4. mv ~/.local/share/hamster-applet ~/.local/share/hamster-applet.bak
5. Then did:
$ /usr/bin/hamster-service
hamster-service up
updated database from version 7 to 9
^CTraceback (most recent call last):
  File "/usr/bin/hamster-service", line 23, in <module>
    loop.run()
KeyboardInterrupt
$ /usr/bin/hamster-service
hamster-service up
^CTraceback (most recent call last):
  File "/usr/bin/hamster-service", line 23, in <module>
    loop.run()
KeyboardInterrupt
$ rm -rf ./hamster-applet
$ /usr/bin/hamster-service
hamster-service up
updated database from version 7 to 9
^CTraceback (most recent call last):
  File "/usr/bin/hamster-service", line 23, in <module>
    loop.run()
KeyboardInterrupt

I thought the 'updated database from version 7 to 9' was weird, but hamster seems to output that when ~/.local/share/hamster-applet doesn't exist (as seen from the above).

Changed in hamster-applet (Ubuntu):
status: Incomplete → New
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Heh, step 2.5: log back in

:)

Revision history for this message
Martin Pitt (pitti) wrote :

Hm, so this is a miracle to me... One patch which caused major disruption was http://git.gnome.org/browse/pygobject/commit/?id=f0a0b6c2eda89622de2b1e5ebb6a48103ad72a42 (see bug 713115 comment 4). Could you perhaps try rebuilding pygobject locally with the attached patch applied? does that help?

Changed in hamster-applet (Ubuntu):
status: New → Incomplete
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Applying the patch makes hamster work again.

Changed in hamster-applet (Ubuntu):
status: Incomplete → New
tags: removed: need-duplicate-check
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This has been fixed for a while.

Changed in hamster-applet (Ubuntu):
status: New → Fix Released
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

The fix for bug #713115 is what fixed this.

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.