Bug 907022 - [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
Summary: [abrt] deluge-gtk-1.3.5-2.fc18: shutil.py:69:copyfile:Error: `/home/ifrit/.co...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: deluge
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rahul Sundaram
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:24b059f23258b117fcbd65d4418...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-02 18:08 UTC by Ifrit
Modified: 2013-02-21 18:16 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-21 18:16:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (872 bytes, text/plain)
2013-02-02 18:08 UTC, Ifrit
no flags Details
File: core_backtrace (235 bytes, text/plain)
2013-02-02 18:08 UTC, Ifrit
no flags Details
File: environ (1.41 KB, text/plain)
2013-02-02 18:08 UTC, Ifrit
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.