Bug 746087

Summary: [abrt] meld-1.5.2-1.fc14: misc.py:288:copytree:TypeError: readlink() takes exactly 1 argument (2 given)
Product: [Fedora] Fedora Reporter: Matt Hooper <matthew.hooper>
Component: meldAssignee: Dominic Hopf <dmaphy>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: any0n3, bclarke, cwickert, dmaphy
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e261c5e2
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-06 14:00:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description Matt Hooper 2011-10-13 20:37:07 UTC
abrt version: 1.1.18
architecture: x86_64
cmdline: python /usr/bin/meld
component: meld
executable: /usr/bin/meld
kernel: 2.6.35.14-96.fc14.x86_64
package: meld-1.5.2-1.fc14
reason: misc.py:288:copytree:TypeError: readlink() takes exactly 1 argument (2 given)
release: Fedora release 14 (Laughlin)
time: 1318538029
uid: 500

backtrace
-----
misc.py:288:copytree:TypeError: readlink() takes exactly 1 argument (2 given)

Traceback (most recent call last):
  File "/usr/share/meld/meld/dirdiff.py", line 808, in on_button_copy_left_clicked
    self.copy_selected(-1)
  File "/usr/share/meld/meld/dirdiff.py", line 675, in copy_selected
    misc.copytree(src, dst)
  File "/usr/share/meld/meld/misc.py", line 290, in copytree
    copytree(srcname, dstname)
  File "/usr/share/meld/meld/misc.py", line 290, in copytree
    copytree(srcname, dstname)
  File "/usr/share/meld/meld/misc.py", line 290, in copytree
    copytree(srcname, dstname)
  File "/usr/share/meld/meld/misc.py", line 288, in copytree
    os.symlink(os.readlink(srcname, dstname))
TypeError: readlink() takes exactly 1 argument (2 given)

Local variables in innermost frame:
src: '<src_folder>'
name: 'libpt.so'
dstname: '<dst_folder>/libpt.so'
dst: '<dst_folder>'
srcname: '<src_folder>/libpt.so'
names: ['libpt.so', 'libpt_s.a', 'obj', 'libpt.so.2.6.2']

How to reproduce
-----
1. I diff'd two folders and then used the copy left option
2.
3.

Comment 1 Matt Hooper 2011-10-13 20:37:09 UTC
Created attachment 528099 [details]
File: backtrace

Comment 2 Bernie Clarke 2011-11-16 21:03:11 UTC
Package: meld-1.5.2-1.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.Clicked to move an old directory to replace a newer directory.
2.Answered yes to Overwrite question
3.

Comment 3 Michael Spahn 2012-03-06 14:00:43 UTC
Hello,

Fedora Linux 14 is no more supported, please update and try to reproduce on an supported / current release.

If the bug is still present please open a new bug.

Regards

Michael