jokosher does not open in 10.4

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

Bug Description

Binary package hint: jokosher

jokosher does not open in 10.4

Related branches

Revision history for this message
George Kontis (giormatsis) wrote :
Changed in jokosher (Ubuntu):
status: New → Confirmed
Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

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

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

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

Changed in jokosher (Ubuntu):
importance: Undecided → High
Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

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

Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

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.

Revision history for this message
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.

Revision history for this message
Mathieu Comandon (strycore) wrote :

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

Revision history for this message
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)
Changed in jokosher (Ubuntu):
assignee: nobody → Michael Sheldon (michael-sheldon)
status: Confirmed → Fix Committed
Revision history for this message
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)
Changed in jokosher (Ubuntu):
assignee: Michael Sheldon (michael-sheldon) → nobody
status: Fix Committed → Confirmed
Laszlo Pandy (laszlok)
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)
Changed in jokosher:
status: Fix Committed → Fix Released
Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

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

Revision history for this message
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?

Revision history for this message
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
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Sync request filed as bug #530961.

Changed in jokosher (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Benjamin Drung (bdrung) wrote :

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

Revision history for this message
Laszlo Pandy (laszlok) wrote :

Thanks Luca!

Revision history for this message
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.