You are not logged in.

#1 2007-03-19 07:50:35

marmotte007
Member
Registered: 2007-01-28
Posts: 6

Problems with pygtk 2.10.4-1 and gnome-python 2.16 ...

Hello,


yesterdat I upgraded my Arch install with pacman -Syu (as usual).
After upgrade, somes programmes which use gnome-python (as gcompris) couldn't work (the board written in Python) ...

Actually, I'm trying to add some board to gcompris ... written in Python ... so I need this package to work.

I look at gnome-python 2.16 realease note and in 2.16.2 it's says that gnome-python 2.16.2 doesn't work with pygtk 2.10.4 (it's Ok with 2.10.3 !!!).

I tried to downgrade Pygtk to 2.10.3 but it doesn't work ...

When I start python in interactive mode, I can't import module gnomecanvas (which is include in gnome-python and use pygtk) ... gcompris use gnomecanvas to build graphicals elements.

thank's for help.

marmotte

Offline

#2 2007-03-19 12:20:14

marmotte007
Member
Registered: 2007-01-28
Posts: 6

Re: Problems with pygtk 2.10.4-1 and gnome-python 2.16 ...

Hi,


here's the release note from gnome-python (2.16.2) ...

Overview of Changes from gnome-python 2.16.1 to gnome-python 2.16.2
====================================================================
* general
- Require PyGTK 2.10.3, not 2.10.4

I don't know why gnome-python cannot use PyGTK 2.10.4 (same branch ... normaly it shouldn't have big changes ???)

Anybody has idea to help me ???

Thanks.

Marmotte

Offline

#3 2007-03-19 17:34:59

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Problems with pygtk 2.10.4-1 and gnome-python 2.16 ...

Try rebuilding gcompris.

Offline

#4 2007-03-19 19:51:57

marmotte007
Member
Registered: 2007-01-28
Posts: 6

Re: Problems with pygtk 2.10.4-1 and gnome-python 2.16 ...

Rebuild gcompris ... I don't think that'll solve the fact that python doesn't find module gnomecanvas for example.

I'm afraid is deaper than just a problem with gcompris which could be solve by rebuiding it ...

Thanks anyway for reply.

Marmotte.

Offline

#5 2007-03-19 21:47:29

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Problems with pygtk 2.10.4-1 and gnome-python 2.16 ...

What versions of pygtk, python and gnome-python do you have installed? Check up with the website if they are the latest repository versions.

About the changelog of gnome-python: they downgrade requirements now and then, but that doesn't mean that it doesn't run on newer versions. It's the same as a country that lowers the age where people can start driving from 18 to 16 years, which doesn't mean 18 year old people aren't allowed to drive anymore.

Offline

#6 2007-03-20 07:56:18

marmotte007
Member
Registered: 2007-01-28
Posts: 6

Re: Problems with pygtk 2.10.4-1 and gnome-python 2.16 ...

I install the current version from current, extra and community (and kde-mod) repository only. No testing, no unstable. It was during a normal upgrade (pacman -Syu) ... I checked, there's the last version

I noticed that now the python is 2.5 instead of 2.4.4. But, in /usr/lib, I still have a directory /python2.4 beside the new /python2.5 directory. The modules gnomecanvas (and somes other) are in /usr/lib/python2.4/site-packages/gtk2.0/gnome ... not in /usr/lib/python2.5 ... directory.
I tried to move it ... but it doesn't work (I'm not surprise ... but I wanted to try in case of ...)

For the release not, after thinking, I arrived to the same conclusion than you ... but it doesn' solve my problem ...

Offline

#7 2007-03-20 10:30:30

lloeki
Member
From: France
Registered: 2007-02-20
Posts: 456
Website

Re: Problems with pygtk 2.10.4-1 and gnome-python 2.16 ...

I fixed many packages on my system using abs. method here: http://bbs.archlinux.org/viewtopic.php?id=31069


To know recursion, you must first know recursion.

Offline

Board footer

Powered by FluxBB