You are not logged in.

#1 2009-01-20 03:26:32

methuselah
Member
Registered: 2007-10-02
Posts: 570

I have this error when using gnome's "Meld" app:[SOLVED]

this is the error:

$ meld
ImportError: could not import bonobo.ui
Traceback (most recent call last):
  File "/usr/lib/meld/meldapp.py", line 92, in on_response
    paths = [ e.get_full_path(0) or "" for e in self.entrylists[page] ]
AttributeError: '__main__.GnomeFileEntry' object has no attribute 'get_full_path'

I can not open up the documents that I want to compare. I've rebuilt meld a bunch of times over the last month and hoped that some other package would be updated and maybe fix whatever it was that broke it.

Last edited by methuselah (2009-01-20 04:57:57)

Offline

#2 2009-01-20 03:37:26

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

Re: I have this error when using gnome's "Meld" app:[SOLVED]

I just installed meld to check this and it runs here without issue.

The import error indicates to me that you do not have gnome-python installed. But meld depends on gnome-python-desktop which needs gnome-python so I do not understand that.   

Is your system fully up to date?  Python2.6 does not detect python2.5 stuff for gtk.

Offline

#3 2009-01-20 03:52:41

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: I have this error when using gnome's "Meld" app:[SOLVED]

Allan wrote:

I just installed meld to check this and it runs here without issue.

The import error indicates to me that you do not have gnome-python installed. But meld depends on gnome-python-desktop which needs gnome-python so I do not understand that.   

Is your system fully up to date?  Python2.6 does not detect python2.5 stuff for gtk.

Yes, my system is totally up to date.... I just updated five minutes ago. I update basically every day or other day.

I have both gnome-python installed, and gnome-python-desktop.... I also have rebuilt them both along with meld and I still get that error.

$ pacman -Q gnome-python
gnome-python 2.22.3-3
$ pacman -Q gnome-python-desktop
gnome-python-desktop 2.24.1-1

I'm pretty sure my problems all started with this post (that you helped me with): http://bbs.archlinux.org/viewtopic.php?id=58985


I have had breakage and weird errors ever since that post. And never could fix these packages properly:

meld
firestarter
file-roller


meld = the error message I already posted.


firestarter = can't use gksu firestarter, this is the error:

$ gksu firestarter

(firestarter:16383): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

file-roller = I can actually use gksu file-roller on this app but I still get this error:

$ gksu file-roller

(file-roller:17298): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

** (file-roller:17298): WARNING **: GConf error:
  Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details -  1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)

Last edited by methuselah (2009-01-20 03:55:02)

Offline

#4 2009-01-20 04:22:25

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

Re: I have this error when using gnome's "Meld" app:[SOLVED]

gnome-python should have the file /usr/lib/python2.6/site-packages/gtk-2.0/bonobo/ui.so.  The import error tells me that it does not. 

You say you are rebuilding packages.  It that common or only for problem packages?  By the sounds of thing, you may have built some things in the wrong order and paths are all screwed up.

Offline

#5 2009-01-20 04:47:39

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: I have this error when using gnome's "Meld" app:[SOLVED]

Allan wrote:

gnome-python should have the file /usr/lib/python2.6/site-packages/gtk-2.0/bonobo/ui.so.  The import error tells me that it does not. 

You say you are rebuilding packages.  It that common or only for problem packages?  By the sounds of thing, you may have built some things in the wrong order and paths are all screwed up.

I've been using pacbuilder exclusively for the last 4 months.... sort of like Arch built from source.... like gentoo.


I have been seeing some faults of pacbuilder-svn lately..... this being one of them.


As for that gtk-2.0 folder.... it is still there.


When python2.6 upgraded I had mass breakages with everything (in that thread that I linked you to.... you fixed compiz-fusion for me... thanks again for the help on that and the other times you have helped me).




EDITED because I messed up.

Last edited by methuselah (2009-01-20 04:52:08)

Offline

#6 2009-01-20 04:57:35

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: I have this error when using gnome's "Meld" app:[SOLVED]

FIXED IT!!!!!!


While I was posting in this thread I went back and rebuilt all packages and dependencies of gconf, gnome-python, gnome-python-desktop and meld.


I still get those gksu errors with firestarter and file-roller.

Last edited by methuselah (2009-01-20 05:00:08)

Offline

#7 2009-01-20 04:59:07

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

Re: I have this error when using gnome's "Meld" app:[SOLVED]

methuselah wrote:

As for that gtk-2.0 folder.... it is still in my /usr/lib/python2.5/site-packages/ ..... and there is no /bonobo/ui.so. in there at all.....

Python 2.6 will not detect any of those modules installed in that directory.  It seems that pacbuilder has cause you a lot of issue with build order during that python update.  If you want to keep building your packages, I would try building python-2.6 again and then use the python build wiki page (http://wiki.archlinux.org/index.php/Dev … _Todo_List) to figure the order to build the rest of the python stuff.

Offline

#8 2009-01-20 05:01:58

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: I have this error when using gnome's "Meld" app:[SOLVED]

Allan wrote:
methuselah wrote:

As for that gtk-2.0 folder.... it is still in my /usr/lib/python2.5/site-packages/ ..... and there is no /bonobo/ui.so. in there at all.....

Python 2.6 will not detect any of those modules installed in that directory.  It seems that pacbuilder has cause you a lot of issue with build order during that python update.  If you want to keep building your packages, I would try building python-2.6 again and then use the python build wiki page (http://wiki.archlinux.org/index.php/Dev … _Todo_List) to figure the order to build the rest of the python stuff.

I'm sorry, I edited that post because I looked in the wrong place and answered wrongly....


Thank you for the tip, I'll use the wiki page to rebuild python.

Offline

#9 2009-01-20 05:34:30

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

Re: I have this error when using gnome's "Meld" app:[SOLVED]

Great - gksu thing may be to do with console/policy-kit.  I am sure that I have seen it on the forums before...

Offline

#10 2009-01-20 05:38:03

methuselah
Member
Registered: 2007-10-02
Posts: 570

Re: I have this error when using gnome's "Meld" app:[SOLVED]

Allan wrote:

Great - gksu thing may be to do with console/policy-kit.  I am sure that I have seen it on the forums before...

Thank you, I'll search through the forums to see if I can fix it too..... for now, "sudo firestarter" works.

Offline

Board footer

Powered by FluxBB