WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Python module glade - where is it?  (Read 5036 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Python module glade - where is it?
« 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.

Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Kingdomcome

  • Sr. Member
  • ****
  • Posts: 286
Re: Python module glade - where is it?
« Reply #1 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Python module glade - where is it?
« Reply #2 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Python module glade - where is it?
« Reply #3 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
dCore user

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Python module glade - where is it?
« Reply #4 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?
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Python module glade - where is it?
« Reply #5 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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Python module glade - where is it?
« Reply #6 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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Python module glade - where is it?
« Reply #7 on: December 22, 2009, 08:31:57 AM »
OK will compile and test with wicd
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Python module glade - where is it?
« Reply #8 on: December 22, 2009, 09:56:35 AM »
I have pygtk 2.16.0 recompiled, works fine with WICD. Will post later.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Python module glade - where is it?
« Reply #9 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.