jokosher does not open in 10.4

Bug #501117 reported by George Kontis on 2009-12-28
88
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Jokosher
Critical
Michael Sheldon
jokosher (Ubuntu)
High
Unassigned

Bug Description

Binary package hint: jokosher

jokosher does not open in 10.4

Related branches

George Kontis (giormatsis) wrote :
Changed in jokosher (Ubuntu):
status: New → Confirmed

seems not to affect debian
in, Jokosher/ui/StatusBar.py, def __init__(self):

there is

# gtk.Statusbar contains a label inside a frame inside itself
self.label = self.get_children()[0].get_children()[0]
self.label.set_use_markup(True)

self.get_children()[0].get_children()[0] is return a gtk.HBox so this fails

jokosher works when the 2 lines above are commented so i'm guessing the problem is here, someone who knows some python would need to take a look at this

Luca Falavigna (dktrkranz) wrote :

Does it simply happen by launching it? No plugins loaded, or uncommon configurations?

Changed in jokosher (Ubuntu):
importance: Undecided → High

yes, when i tested it it was the first time i'd installed it. its the same by purging, removing ~/.config/jokosher and reinstalling though too

It sounds to me like the internal structure of gtk.Statusbar has changed in a recent GTK/PyGTK release. "self.label = self.get_children()[0].get_children()[0]" Is a very hacky way of getting hold of the label contained within the statusbar so that we're able to make use of markup in our status messages. I guess the only correct way to handle this would be to see if we can get GTK to add support for setting markup on statusbars natively. For now I guess we'll have to check the GTK version in use and get the appropriate child for each version.

Mathieu Comandon (strycore) wrote :

This might not be the cleanest way to fix this bug but at least it works and it allows <span name=z9 id=z9 style='color:#000;background-color:yellow;'>lucid</span> users to launch jokosher.

Mathieu Comandon (strycore) wrote :

hu ? where did my comment go ?
anyway ... small fix, not trying to be clever , but it works !

Laszlo Pandy (laszlok) wrote :

Thanks Mathieu, but its already been fixed upstream. See my branch which is pending merge (above under "Related branches"). As soon as Michael is back he will merge it and we can get a new package out.

Laszlo Pandy (laszlok) on 2010-02-08
Changed in jokosher (Ubuntu):
assignee: nobody → Michael Sheldon (michael-sheldon)
status: Confirmed → Fix Committed
Fabrice Coutadeur (fabricesp) wrote :

Unsubscribing u-u-s. Please subscribe again sponsors when the new version is ready to be synced or integrated into Lucid.

thanks,
Fabrice

Laszlo Pandy (laszlok) on 2010-02-10
Changed in jokosher (Ubuntu):
assignee: Michael Sheldon (michael-sheldon) → nobody
status: Fix Committed → Confirmed
Laszlo Pandy (laszlok) on 2010-02-10
Changed in jokosher:
assignee: nobody → Michael Sheldon (michael-sheldon)
importance: Undecided → Critical
milestone: none → 0.11.4
status: New → Fix Committed
tags: added: patch-refused
Laszlo Pandy (laszlok) on 2010-02-26
Changed in jokosher:
status: Fix Committed → Fix Released

A new debian package featuring this patch can now be downloaded here: http://launchpad.net/jokosher/0.11/0.11.4/+download/jokosher_0.11.4-0ubuntu1_all.deb

Laszlo Pandy (laszlok) wrote :

Ubuntu Universe Sponsors: can we get this deb uploaded to lucid soon and close the bug for jokosher (ubuntu) as well?

Luca Falavigna (dktrkranz) wrote :

I just uploaded 0.11.4-1 in Debian, I'll ask sync as soon as it enters mirrors.

Changed in jokosher (Ubuntu):
assignee: nobody → Luca Falavigna (dktrkranz)
status: Confirmed → In Progress
Luca Falavigna (dktrkranz) wrote :

Sync request filed as bug #530961.

Changed in jokosher (Ubuntu):
status: In Progress → Fix Committed
Benjamin Drung (bdrung) wrote :

unsubscribing ubuntu-universe-sponsors; nothing to do for us.

Laszlo Pandy (laszlok) wrote :

Thanks Luca!

Luca Falavigna (dktrkranz) wrote :

0.11.4-1 synced in Lucid.

Changed in jokosher (Ubuntu):
assignee: Luca Falavigna (dktrkranz) → nobody
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments