Bug#695923: meld: crashes when copying symlinks

2012-12-14 Thread Julian Taylor
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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#695923: meld: crashes when copying symlinks

2012-12-14 Thread Bálint Réczey
tags 695923 confirmed fixed-upstream
thanks

Hi Julian,

Thank you for the report. Since there is a workaround (cp) I don't
plan back-porting
the mentioned fix, but wait for upstream to include it in an official release.

Cheers,
Balint

2012/12/14 Julian Taylor jtaylor.deb...@googlemail.com:
 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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org