You are not logged in.
Hi!
Im using kde(mod) 4.2 and meld 1.2
I select two files, then press the button... and nothing... in konsole I see the following error:
Traceback (most recent call last):
File "/usr/lib/meld/meldapp.py", line 100, in on_response
methods[page](paths)
File "/usr/lib/meld/meldapp.py", line 836, in append_filediff
doc = filediff.FileDiff(self.prefs, len(files))
File "/usr/lib/meld/filediff.py", line 99, in __init__
self.load_font()
File "/usr/lib/meld/filediff.py", line 279, in load_font
self.pixbuf_apply0 = load("button_apply0.xpm")
File "/usr/lib/meld/filediff.py", line 278, in <lambda>
load = lambda x: gnomeglade.load_pixbuf( paths.share_dir("glade2/pixmaps/"+x), self.pixels_per_line)
File "/usr/lib/meld/gnomeglade.py", line 81, in load_pixbuf
image = image.get_pixbuf()
ValueError: image should be a GdkPixbuf or empty
any idea?
I loved how meld shows the info...
luciano
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
Maybe a clue, found by using Google. I don't know myself.
Offline
Same problem here. A rebuild using ABS did not help. I'll read the link.
Offline
That link was of no help... :S Thanx anyway.
Even building meld from svn did not helped...
Offline
Ok I kind of found the problem and solution.
I don't know a thing about GTK nor glade, but it seems meld is having problem loading the xpm files. Almost all icons of meld are in png format, except a couple in /usr/share/meld/glade2/pixmaps :
button_apply0.xpm
button_apply1.xpm
button_copy0.xpm
button_copy1.xpm
button_delete.xpm
close.xpm
These buttons are the icons showing the directions of the diff (left to right, right to left, etc) in the middle column of meld when comparing files (not directories).
What I did was to convert these files to png, and change the loading to the new png in /usr/lib/meld/filediff.py around line 286:
--- filediff_orig.py 2009-03-20 13:57:35.000000000 -0400
+++ /usr/lib/meld/filediff.py 2009-03-20 13:50:53.000000000 -0400
@@ -283,11 +283,11 @@
for i in range(2):
self.linkmap[i].queue_draw()
load = lambda x: gnomeglade.load_pixbuf( paths.share_dir("glade2/pixmaps/"+x), self.pixels_per_line)
- self.pixbuf_apply0 = load("button_apply0.xpm")
- self.pixbuf_apply1 = load("button_apply1.xpm")
- self.pixbuf_delete = load("button_delete.xpm")
- self.pixbuf_copy0 = load("button_copy0.xpm")
- self.pixbuf_copy1 = load("button_copy1.xpm")
+ self.pixbuf_apply0 = load("button_apply0.png")
+ self.pixbuf_apply1 = load("button_apply1.png")
+ self.pixbuf_delete = load("button_delete.png")
+ self.pixbuf_copy0 = load("button_copy0.png")
+ self.pixbuf_copy1 = load("button_copy1.png")
def on_preference_changed(self, key, value):
if key == "tab_size":
Now meld works...
Offline
Offline
Same issue here. KDEmod. meld 1.2.1-1. It has worked for me as of about a week ago but one of my updates seems to have broken things.
Offline
Why not use kdiff, if you're using KDE?
Offline
Meld is IMO superior to kompare.
You cannot select text in kompare while you can fully edit files in meld. Also how meld manages comparison is better: you can propagates changes in any directions (left, right, delete) while kompare is only left to right. Until recently, kompare never saved the files, so it was useless.
I would love to see kompare on the same foot as meld, but it has a long run to go :S
Offline
same here... I am using best task resolver apps, not desktop based apps....
(thats why I have 1/2 gnome inside maybe... but, who cares?)
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
hehe me too, but I would love to have "pure" kde desktop. But I'm no freak, I can tolerate gnome apps, as long as they keep quiet...
Offline
Meld is IMO superior to kompare.
You cannot select text in kompare while you can fully edit files in meld. Also how meld manages comparison is better: you can propagates changes in any directions (left, right, delete) while kompare is only left to right. Until recently, kompare never saved the files, so it was useless.
I would love to see kompare on the same foot as meld, but it has a long run to go :S
Actually I wrote KDiff, not Kompare. They are 2 different programs. KDiff is very similar to meld, and doesn't need KDE , just Qt-libs. I prefer Meld myself, because I like GTK better, but the OP asked about using something with KDE because Meld isn't working for him. I think that KDiff would.
http://kdiff3.sourceforge.net/
Offline
haha yes my wrong I read kompare...
KDiff is indeed pretty nice. It's even more powerful then meld. Too powerful
Offline
great, I will try kdiff too...
btw, I have tried meld 1.3.0 and it is doing the same thing...
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
this problem looks like an archlinux issue, right?
it happens in liferea, and crack-attack too...
always the unrecognized .xpm format
I arch, you arch, he arch, she arch, we arch, they arch...
Offline
Actually the origin of this problem has been found, see FS#15890:
http://bugs.archlinux.org/task/15890
It's a bug in kdemod-shaman, as it installs mimetypes which cause incorrect file detection.
This has been reported correctly:
http://chakra-project.org/bugs/index.ph … task_id=53
Offline
oh, great!
I have uninstalled shaman a few days ago, and did not know that... nice
thanks for share it
I arch, you arch, he arch, she arch, we arch, they arch...
Offline