This version is outdated and no more supported
** Changed in: hamster-applet (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/536953
Title:
hamster-standalone cr
Could someone with more python skill look into this?
The solution I suggested is only a workaround, but I think something in this
direction should go into the next stable, until a real solution is found.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subs
Here is my modified facttree.py.
Probably this needs work, but it does solve the problem in my case.
Maybe a more targeted if/else instead of the try/except?
** Attachment added: "please see the previous comments."
https://bugs.launchpad.net/ubuntu/+source/hamster-applet/+bug/536953/+attachmen
Explanation:
If I understand correctly, hamster does a "_test_layout" to find ideal values
for pixel widths for some display elements.
The above code provides fallback values in case that the _test_layout stuff
doesn't work.
You can play around with the fallback values, and restart hamster-
stan
Hey, we can get even better!!
class FactTree(gtk.TreeView):
[...]
def __init__(self):
[...]
try :
_test_context = pixmap.cairo_create()
self._test_layout = _test_context.create_layout()
font = pango.FontDescription(gtk.Style().font_desc.to_string())
Maybe I should add that I'm on TwinView with nvidia, and hamster used to work
before I fixed my second monitor.
So, could be that hamster is trying to do something on each of the monitors,
but on one of them there is something missing.
--
hamster-standalone crashed with Error in __init__()
http
The above is definitely not the solution.
After some time i can't stop the hamster anymore. And this is the new error I
get with "hamster-standalone":
(after a few warnings, which I don't even report)
File "/usr/lib/python2.6/dist-packages/hamster/widgets/facttree.py", line
125, in update_long
ok, so i would not have needed that and . We've learned
something today!
--
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 maili
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:
pixmap = gtk.gdk.Pixmap(None, 10, 10, 24)
** Tags added: amd64
--
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.ub
** Tags removed: need-duplicate-check
--
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
** Attachment added: "Dependencies.txt"
http://launchpadlibrarian.net/40725869/Dependencies.txt
** Attachment added: "ProcMaps.txt"
http://launchpadlibrarian.net/40725870/ProcMaps.txt
** Attachment added: "ProcStatus.txt"
http://launchpadlibrarian.net/40725871/ProcStatus.txt
** Attachm
12 matches
Mail list logo