You are not logged in.

#1 2010-10-04 18:07:09

jolinfire
Member
From: France
Registered: 2007-12-21
Posts: 176

Gwibber and python3 : no way to make them work together.

After I upgraded my archlinux with python3, gwibber stopped working :

Traceback (most recent call last):
  File "/usr/bin/gwibber", line 10, in <module>
    import sys, gtk, optparse, dbus, wnck, time
ImportError: No module named gtk

And of course, pygtk is installed.

I tried to rebuild it and get this :

Traceback (most recent call last):
File "setup.py", line 6, in <module>
from DistUtilsExtra.command import *
ImportError: No module named DistUtilsExtra.command

Any idea ?

Offline

#2 2010-10-04 18:10:36

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Gwibber and python3 : no way to make them work together.

i said that in the bug report too.

setup.py from the gwibber is using python binary and needs to be modified.

#!/usr/bin/env python

needs to be

#!/usr/bin/env python2


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-10-07 09:23:26

jolinfire
Member
From: France
Registered: 2007-12-21
Posts: 176

Re: Gwibber and python3 : no way to make them work together.

It used to work, but a change made in pygtk breaks it again :

Cannot run it anymore with last pygtk update on testing :

[fred@fredo-arch gwibber]$ Traceback (most recent call last):
File "/usr/bin/gwibber", line 10, in <module>
import sys, gtk, optparse, dbus, wnck, time
RuntimeError: could not find _PyGtk_API object

And here is the patch which breaks - again - gwibber :

http://repos.archlinux.org/wsvn/package … on27.patch

And you're the creator of the patch...

The only workaround I found : using choqok sad

Last edited by jolinfire (2010-10-07 09:23:59)

Offline

#4 2010-10-07 10:47:42

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Gwibber and python3 : no way to make them work together.

recompile gwibber and we have to recompile gnome-python-extras gnome-python-desktop.

have patience

Last edited by wonder (2010-10-07 10:48:48)


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-10-07 11:10:00

jolinfire
Member
From: France
Registered: 2007-12-21
Posts: 176

Re: Gwibber and python3 : no way to make them work together.

I'm kinda fed up with breakage, to be clear. I have to say good bye to soundconverter and pyrenamer.

Offline

#6 2010-10-07 11:23:20

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,403
Website

Re: Gwibber and python3 : no way to make them work together.

You are using [testing].  Deal with it...

Offline

#7 2010-10-07 12:19:13

jolinfire
Member
From: France
Registered: 2007-12-21
Posts: 176

Re: Gwibber and python3 : no way to make them work together.

Well testing doesn't mean - to me - exploding every day.

By the way, you can add to broken list all python Rhythmbox plugin.

And if need moral lessons, I don't need you to have them.

Yes, I know, I am a PITA user.

Offline

#8 2010-10-07 12:37:51

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Gwibber and python3 : no way to make them work together.

@jolinfire i don't believe you tongue


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2010-10-07 12:52:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,403
Website

Re: Gwibber and python3 : no way to make them work together.

jolinfire wrote:

By the way, you can add to broken list all python Rhythmbox plugin.

There is a link to the bug tracker at the top of the site.  Bugs do not exist until they get reported there...

Offline

#10 2010-10-07 13:12:50

jolinfire
Member
From: France
Registered: 2007-12-21
Posts: 176

Re: Gwibber and python3 : no way to make them work together.

I know. But I think they are known, and I don't want to spent time reporting them. As I will leave Archlinux tonight, I don't really care about reporting bugs for a distribution I liked a lot. Others users will do it better me than I can do.

Offline

Board footer

Powered by FluxBB