Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on December 21, 2009, 08:05:49 PM

Title: Python module glade - where is it?
Post by: bmarkus on December 21, 2009, 08:05:49 PM
Just tried a wicd fresh install with the current repo. wicd-client doesn't start due to missing Python glade module, 'import gtk.glade' fails in Python. It is working fine with my older development system, so there are two options:

1) There is a missing dependency
2) One of the dependencies changed

Regarding 1) dependency list was correct when it was created, around TC 2.5 I guess it is pygtk issue but not sure.

Title: Re: Python module glade - where is it?
Post by: Kingdomcome on December 21, 2009, 11:43:38 PM
I also tried compiling something that needed the python-glade module.  It is part of pygtk, and if JLS is willing, there is also a new version of pygtk available.
Title: Re: Python module glade - where is it?
Post by: bmarkus on December 22, 2009, 04:07:20 AM
Identified, it is really pygtk.tczl Previous version has glade module, current hasn't. Solution is to fix current or to restore previous in the repo.
Title: Re: Python module glade - where is it?
Post by: jls on December 22, 2009, 06:00:27 AM
do what u want guys, I attach my tcbuild if u wanmt to use it to rebuild this extension
Title: Re: Python module glade - where is it?
Post by: bmarkus on December 22, 2009, 06:19:46 AM
do what u want guys, I attach my tcbuild if u wanmt to use it to rebuild this extension

Thanks for the build script. Does it mean you hand over the maintenance of pygtk.tczl somone else?

What the change in the latest release?
Title: Re: Python module glade - where is it?
Post by: bmarkus on December 22, 2009, 07:51:39 AM
Latest stable version is 2.14.1 which was the previous version in the repo and which one is working.

Current version in the repo is the unstable 2.16 which is an unstable release.

Solution is easy, revert back the the stable 2.14.1, no need to recompile.
Title: Re: Python module glade - where is it?
Post by: Jason W on December 22, 2009, 08:05:32 AM
Actually, 2.16.0 is a stable release, 2.15.1 was the unstable release:

http://www.pygtk.org/news.html

A note of interest in the 2.16.0 announcement:  "containing the API recently added in GTK-+2.16"

Arch Linux is on 2.16.0.  It sounds like the pygtk extension was compiled without libglade installed, it is listed as a dependency of pygtk in Arch.

We could revert to the old pygtk, though I haven't looked to see if any new extensions were built against the new.  But preferable to simply build pygtk with libglade support.  I can do that tonight if there are no takers.
Title: Re: Python module glade - where is it?
Post by: bmarkus on December 22, 2009, 08:31:57 AM
OK will compile and test with wicd
Title: Re: Python module glade - where is it?
Post by: bmarkus on December 22, 2009, 09:56:35 AM
I have pygtk 2.16.0 recompiled, works fine with WICD. Will post later.
Title: Re: Python module glade - where is it?
Post by: Jason W on December 22, 2009, 02:35:53 PM
Great, I see it in the gmail account.  I can get to it when I have TC access at around 8pm EST.