GNOME Bugzilla – Bug 350312
pygtk-2.9.5/pygobject-2.11.1 "TypeError: path should be a GtkTreePath"
Last modified: 2006-08-07 17:37:14 UTC
Running Gnome 2.16b1 on Gentoo, I just updated pygtk from 2.9.3 to 2.9.5 and pygobject from 2.11.0 to 2.11.1. After this change, a number of python programs fail to start with the error "TypeError: path should be a GtkTreePath". Here's an example traceback from quodlibet: Traceback (most recent call last):
+ Trace 70055
main()
window = widgets.init(player, library)
main = QuodLibetWindow(watcher, player)
self.select_browser(self, config.get("memory", "browser"), player)
self.browser = Browser(widgets.watcher, player)
self.refresh_panes(restore=False)
self.activate()
self.__panes[0].fill(filter(self.__filter, library.values()))
else: self.set_selected(None, jump=True)
elif values is None and selection.path_is_selected((0,)): return
This also happens with pessulus (and a Gentoo utility called elogviewer). I did not check other programs after that. I downgraded my pygtk/pygobject to the prior versions which eliminated the error. I don't know if this is a deliberate API change to reflect changes in gtk+ 2.10.x or accidental breakage.
*** This bug has been marked as a duplicate of 350252 ***