Built egg files never install/enable

Suggest, post, or discuss plugins for Deluge
Post Reply
qqzx
New User
New User
Posts: 5
Joined: Thu Jun 16, 2016 3:54 pm

Built egg files never install/enable

Post by qqzx »

I have followed the plugin wiki for building an egg file however the resulting file never seems to install properly.

I forked this plugin (https://github.com/omaralvarez/deluge-a ... us/core.py) and made some trivial change, such as changing the way it sorts to descending instead of ascending.

However, the resulting egg file never works.

In fact, if I make any change to the source, the egg just fails to be enabled; even if I make an even more trivial change such as adding an extra word or letter to a text description. This is true for 2.6 or 2.7 python versions.

Code: Select all

python setup.py bdist_egg
running bdist_egg
running egg_info
writing AutoRemovePlus.egg-info\PKG-INFO
writing top-level names to AutoRemovePlus.egg-info\top_level.txt
writing dependency_links to AutoRemovePlus.egg-info\dependency_links.txt
writing entry points to AutoRemovePlus.egg-info\entry_points.txt
reading manifest file 'AutoRemovePlus.egg-info\SOURCES.txt'
writing manifest file 'AutoRemovePlus.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
creating build\bdist.win32\egg
creating build\bdist.win32\egg\autoremoveplus
copying build\lib\autoremoveplus\common.py -> build\bdist.win32\egg\autoremovepl
us
copying build\lib\autoremoveplus\core.py -> build\bdist.win32\egg\autoremoveplus

creating build\bdist.win32\egg\autoremoveplus\data
copying build\lib\autoremoveplus\data\autoremoveplus.js -> build\bdist.win32\egg
\autoremoveplus\data
copying build\lib\autoremoveplus\data\config.glade -> build\bdist.win32\egg\auto
removeplus\data
copying build\lib\autoremoveplus\gtkui.py -> build\bdist.win32\egg\autoremoveplu
s
copying build\lib\autoremoveplus\webui.py -> build\bdist.win32\egg\autoremoveplu
s
copying build\lib\autoremoveplus\__init__.py -> build\bdist.win32\egg\autoremove
plus
byte-compiling build\bdist.win32\egg\autoremoveplus\common.py to common.pyc
byte-compiling build\bdist.win32\egg\autoremoveplus\core.py to core.pyc
byte-compiling build\bdist.win32\egg\autoremoveplus\gtkui.py to gtkui.pyc
byte-compiling build\bdist.win32\egg\autoremoveplus\webui.py to webui.pyc
byte-compiling build\bdist.win32\egg\autoremoveplus\__init__.py to __init__.pyc
creating build\bdist.win32\egg\EGG-INFO
copying AutoRemovePlus.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO
copying AutoRemovePlus.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying AutoRemovePlus.egg-info\dependency_links.txt -> build\bdist.win32\egg\EG
G-INFO
copying AutoRemovePlus.egg-info\entry_points.txt -> build\bdist.win32\egg\EGG-IN
FO
copying AutoRemovePlus.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist\AutoRemovePlus-0.5.1-py2.6.egg' and adding 'build\bdist.win32\egg
' to it
removing 'build\bdist.win32\egg' (and everything under it)
Resulting egg file (2.6) can be found attached to this post.

Does anyone know why this is happening, and the egg files never work after I build them?
Attachments
AutoRemovePlus-0.5.1-py2.6.egg
(26.6 KiB) Downloaded 239 times
kones
New User
New User
Posts: 2
Joined: Sun Jun 19, 2016 7:53 am

Re: Built egg files never install/enable

Post by kones »

Had the same problem with the same plugin. Same thing happens even if I made an egg without touching any files.
How I fixed.
deleted the AutoRemovePlus-0.5.1-py2.x.egg in /deluge/plugins folder
deleted the AutoRemovePlus.conf files
restarted deluge

installed new egg and it worked :)
made an account to share.. had me frustrated for a while and found your post while trying to figure it out.
qqzx
New User
New User
Posts: 5
Joined: Thu Jun 16, 2016 3:54 pm

Re: Built egg files never install/enable

Post by qqzx »

kones wrote:Had the same problem with the same plugin. Same thing happens even if I made an egg without touching any files.
How I fixed.
deleted the AutoRemovePlus-0.5.1-py2.x.egg in /deluge/plugins folder
deleted the AutoRemovePlus.conf files
restarted deluge

installed new egg and it worked :)
made an account to share.. had me frustrated for a while and found your post while trying to figure it out.
Thank you :)

It seems deluge daemon required a restart after changing the source. Now everything works as expected.
XxOsurfer3xX
Leecher
Leecher
Posts: 67
Joined: Fri Jun 21, 2013 10:28 am

Re: Built egg files never install/enable

Post by XxOsurfer3xX »

I will put this in the README on the repository in case other users run into the same issues.
Post Reply