Bug 907022

Summary: [abrt] deluge-gtk-1.3.5-2.fc18: shutil.py:69:copyfile:Error: `/home/ifrit/.config/deluge/plugins/AutoShutdown-0.1-py2.6.egg` and `/home/ifrit/.config/deluge/plugins/AutoShutdown-0.1-py2.6.egg` are the same file
Product: [Fedora] Fedora Reporter: Ifrit <fedyapupkin>
Component: delugeAssignee: Rahul Sundaram <metherid>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: calumlind, metherid
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:24b059f23258b117fcbd65d4418e5b7f99e99805
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-21 18:16:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Ifrit 2013-02-02 18:08:38 UTC
Description of problem:
I try to install AutoSHutdown-plugin http://forum.deluge-torrent.org/viewtopic.php?f=9&t=41165

Version-Release number of selected component:
deluge-gtk-1.3.5-2.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/deluge-gtk
dso_list:       python-libs-2.7.3-13.fc18.x86_64
executable:     /usr/bin/deluge-gtk
kernel:         3.7.4-204.fc18.x86_64
uid:            1000

Truncated backtrace:
shutil.py:69:copyfile:Error: `/home/ifrit/.config/deluge/plugins/AutoShutdown-0.1-py2.6.egg` and `/home/ifrit/.config/deluge/plugins/AutoShutdown-0.1-py2.6.egg` are the same file

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/preferences.py", line 925, in _on_button_plugin_install_clicked
    os.path.join(deluge.configmanager.get_config_dir(), "plugins", filename))
  File "/usr/lib64/python2.7/shutil.py", line 69, in copyfile
    raise Error("`%s` and `%s` are the same file" % (src, dst))
Error: `/home/ifrit/.config/deluge/plugins/AutoShutdown-0.1-py2.6.egg` and `/home/ifrit/.config/deluge/plugins/AutoShutdown-0.1-py2.6.egg` are the same file

Local variables in innermost frame:
src: '/home/ifrit/.config/deluge/plugins/AutoShutdown-0.1-py2.6.egg'
dst: '/home/ifrit/.config/deluge/plugins/AutoShutdown-0.1-py2.6.egg'

Comment 1 Ifrit 2013-02-02 18:08:41 UTC
Created attachment 692022 [details]
File: backtrace

Comment 2 Ifrit 2013-02-02 18:08:44 UTC
Created attachment 692023 [details]
File: core_backtrace

Comment 3 Ifrit 2013-02-02 18:08:46 UTC
Created attachment 692024 [details]
File: environ

Comment 4 Calum 2013-02-21 18:16:24 UTC
If the plugin is in your config plugins dir then it is already installed. 

However you cannot see the plugin as it is Python 2.6 (py2.6) egg and you have Python 2.7 as default. If you simply rename the plugin to AutoShutdown-0.1-py2.7.egg it will show up.