After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 350312 - pygtk-2.9.5/pygobject-2.11.1 "TypeError: path should be a GtkTreePath"
pygtk-2.9.5/pygobject-2.11.1 "TypeError: path should be a GtkTreePath"
Status: RESOLVED DUPLICATE of bug 350252
Product: pygtk
Classification: Bindings
Component: general
2.9.x
Other Linux
: Normal major
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-07 17:22 UTC by Jose M. daLuz
Modified: 2006-08-07 17:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16



Description Jose M. daLuz 2006-08-07 17:22:21 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):
  • File "/usr/bin/quodlibet", line 309 in ?
    main()
  • File "/usr/bin/quodlibet", line 36 in main
    window = widgets.init(player, library)
  • File "/usr/share/quodlibet/widgets.py", line 82 in init
    main = QuodLibetWindow(watcher, player)
  • File "/usr/share/quodlibet/qltk/quodlibet.py", line 203 in __init__
    self.select_browser(self, config.get("memory", "browser"), player)
  • File "/usr/share/quodlibet/qltk/quodlibet.py", line 474 in select_browser
    self.browser = Browser(widgets.watcher, player)
  • File "/usr/share/quodlibet/browsers/paned.py", line 375 in __init__
    self.refresh_panes(restore=False)
  • File "/usr/share/quodlibet/browsers/paned.py", line 455 in refresh_panes
    self.activate()
  • File "/usr/share/quodlibet/browsers/paned.py", line 424 in activate
    self.__panes[0].fill(filter(self.__filter, library.values()))
  • File "/usr/share/quodlibet/browsers/paned.py", line 290 in fill
    else: self.set_selected(None, jump=True)
  • File "/usr/share/quodlibet/browsers/paned.py", line 309 in set_selected
    elif values is None and selection.path_is_selected((0,)): return
TypeError: path should be a GtkTreePath

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.
Comment 1 Johan (not receiving bugmail) Dahlin 2006-08-07 17:37:14 UTC

*** This bug has been marked as a duplicate of 350252 ***