Bug#695923: meld: crashes when copying symlinks

Julian Taylor jtaylor.debian at googlemail.com
Fri Dec 14 12:02:12 UTC 2012


Package: meld
Version: 1.6.1-1
Severity: normal
Tags: patch

meld can't copy directories containing symlinks:
e.g.
ls -oR tmp tmp2
tmp:
total 0

tmp2/:
total 0
drwxrwxr-x 2 jtaylor 80 Dec 14 12:56 test

tmp2/test:
total 0
-rw-rw-r-- 1 jtaylor 0 Dec 14 12:56 a
lrwxrwxrwx 1 jtaylor 1 Dec 14 12:56 b -> a

copying tmp2/test to tmp results in this error:

Traceback (most recent call last):
  File "/usr/lib/meld/meld/dirdiff.py", line 836, in
on_button_copy_left_clicked
    self.copy_selected(-1)
  File "/usr/lib/meld/meld/dirdiff.py", line 679, in copy_selected
    misc.copytree(src, dst)
  File "/usr/lib/meld/meld/misc.py", line 288, in copytree
    os.symlink(os.readlink(srcname, dstname))


patch available in upstream commit 02588ecaa0c96b1b1b05ff2df13b7abd7f8b0966




More information about the pkg-gnome-maintainers mailing list