So. Here we have a very naive patch, which seems to work, but probably
just hides the problem.

/usr/lib/python2.6/dist-packages/hamster/widgets/facttree.py, lines 98 ff (on 
my version)
class FactTree(gtk.TreeView): def __init__(self):

old:
<code>
        pixmap = gtk.gdk.Pixmap(None, 10, 10, 24)
        _test_context = pixmap.cairo_create()
        self._test_layout = _test_context.create_layout()
</code>

new:
<code>
        pixmap = gtk.gdk.Pixmap(None, 10, 10, 24)
        """ patch """
        try :
          _test_context = pixmap.cairo_create()
        except :
          return 
        self._test_layout = _test_context.create_layout()
</code>

-- 
hamster-standalone crashed with Error in __init__()
https://bugs.launchpad.net/bugs/536953
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to