hamster-standalone crashed with Error in __init__()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hamster-applet (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: hamster-applet
Attempting to add the hamster applet to the panel didn't work (may have caused a single pixel wide vertical line on the panel), so I started hamster-standalone from terminal which produced the following output:
hugh@anni:~$ hamster-standalone
** (hamster-
** (hamster-
** (hamster-
/usr/lib/
have a specified colormap. All windows have a colormap,
however, pixmaps only have colormap by default if they
were created with a non-NULL window argument. Otherwise
a colormap must be set on them with gdk_drawable_
_test_context = pixmap.
Traceback (most recent call last):
File "/usr/bin/
app = ProjectHamster()
File "/usr/bin/
self.treeview = widgets.FactTree()
File "/usr/lib/
_test_context = pixmap.
cairo.Error: NULL pointer
hugh@anni:~$
ProblemType: Crash
Architecture: i386
Date: Wed Mar 10 22:13:19 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/
InterpreterPath: /usr/bin/python2.6
Package: hamster-applet 2.29.90-0ubuntu1
ProcCmdline: python /usr/bin/
ProcEnviron:
SHELL=/bin/bash
LANG=en_GB.UTF-8
ProcVersionSign
PythonArgs: ['/usr/
SourcePackage: hamster-applet
Title: hamster-standalone crashed with Error in __init__()
Uname: Linux 2.6.32-16-generic i686
UserGroups: adm admin cdrom dialout disk lpadmin plugdev sambashare sudo
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) gtk.TreeView) : def __init__(self):
class FactTree(
old: Pixmap( None, 10, 10, 24)
_test_ context = pixmap. cairo_create( )
self._ test_layout = _test_context. create_ layout( )
<code>
pixmap = gtk.gdk.
</code>
new: Pixmap( None, 10, 10, 24)
_test_ context = pixmap. cairo_create( )
self._ test_layout = _test_context. create_ layout( )
<code>
pixmap = gtk.gdk.
""" patch """
try :
except :
return
</code>