Supplied Deluge Plugins Do Not Exist

General support for problems installing or using Deluge
teh_g
Member
Member
Posts: 21
Joined: Mon Oct 18, 2010 3:49 pm

Supplied Deluge Plugins Do Not Exist

Post by teh_g »

I just installed Deluge 1.3 on my Debian box. The supplied plugins (label, execute, etc.) are not in the ~/.config/plugins" directory. I also do not see them in the WebUI as being installed. Did I miss an important step in my install process? Is there a place for me to get the .egg files post-install?

Also, sorry for the three support posts. I like doing separate posts for different problems, makes it easier for me to keep track of. Thanks for all the help. I know that I need it as a Deluge/Debian noob.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Supplied Deluge Plugins Do Not Exist

Post by johnnyg »

Plugins installed with Deluge don't get installed to ~/.config/deluge/plugins.
You should see them under the webui preferences, however I should warn you that you can't enable plugins through the web ui (yet).
teh_g
Member
Member
Posts: 21
Joined: Mon Oct 18, 2010 3:49 pm

Re: Supplied Deluge Plugins Do Not Exist

Post by teh_g »

I don't see them in the WebUI. I also don't get anything back when I run "plugin -l" or "plugin -s" from the deluge console. There aren't any files in the /.config/plugins directory.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Supplied Deluge Plugins Do Not Exist

Post by johnnyg »

Run:

Code: Select all

python -c 'from distutils.sysconfig import get_python_lib; print get_python_lib()'
That should print out a directory (it's /usr/lib/python2.6/site-packages/ for me).
Under that directory you should see a directory called deluge-1.3.0-<version info>.egg and in that you should see deluge/plugins which should contain all the plugins.
teh_g
Member
Member
Posts: 21
Joined: Mon Oct 18, 2010 3:49 pm

Re: Supplied Deluge Plugins Do Not Exist

Post by teh_g »

Mine returned:

Code: Select all

/usr/lib/python2.5/site-packages
In that directory, there is no mention of deluge that I can see (folder or file). I do have a python2.4 and python 2.6 directories as well, but there isn't much of anything in either of those.

I assume my not having these files would be why the plugins aren't appearing.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Supplied Deluge Plugins Do Not Exist

Post by johnnyg »

Deluge has to be there, otherwise you wouldn't be able to run it.
However, it doesn't seem like you are alone when it comes to not having plugins: http://forum.deluge-torrent.org/viewtop ... 61#p143261
teh_g
Member
Member
Posts: 21
Joined: Mon Oct 18, 2010 3:49 pm

Re: Supplied Deluge Plugins Do Not Exist

Post by teh_g »

I am definitely running Deluge. I have torrents running and everything. There is definitely not any Deluge stuff in that folder.
teh_g
Member
Member
Posts: 21
Joined: Mon Oct 18, 2010 3:49 pm

Re: Supplied Deluge Plugins Do Not Exist

Post by teh_g »

I got a simple idea, I can just search for *.egg in my whole system with "find / '*.egg'". This is the output:

Code: Select all

$ find /usr -name '*.egg'
/usr/lib/python2.5/site-packages/FlexGet-1.0r1529-py2.5.egg
/usr/lib/python2.5/site-packages/progressbar-2.3_dev-py2.5.egg
/usr/lib/python2.5/site-packages/pynzb-0.1.0-py2.5.egg
/usr/lib/python2.5/site-packages/PyRSS2Gen-1.0.0-py2.5.egg
/usr/lib/python2.5/site-packages/html5lib-0.90-py2.5.egg
/usr/lib/python2.5/site-packages/BeautifulSoup-3.1.0.1-py2.5.egg
/usr/lib/python2.5/site-packages/PyYAML-3.09-py2.5-linux-x86_64.egg
/usr/lib/python2.5/site-packages/SQLAlchemy-0.6.4-py2.5.egg
/usr/lib/python2.5/site-packages/feedparser-4.1-py2.5.egg
/usr/lib/pymodules/python2.5/deluge/plugins/AutoAdd-1.02-py2.6.egg
/usr/lib/pymodules/python2.5/deluge/plugins/Blocklist-1.2-py2.6.egg
/usr/lib/pymodules/python2.5/deluge/plugins/Execute-1.2-py2.6.egg
/usr/lib/pymodules/python2.5/deluge/plugins/Extractor-0.1-py2.6.egg
/usr/lib/pymodules/python2.5/deluge/plugins/Label-0.1-py2.6.egg
/usr/lib/pymodules/python2.5/deluge/plugins/Notifications-0.1-py2.6.egg
/usr/lib/pymodules/python2.5/deluge/plugins/Scheduler-0.2-py2.6.egg
/usr/lib/pymodules/python2.5/deluge/plugins/WebUi-0.1-py2.6.egg
/usr/share/pyshared/deluge/plugins/AutoAdd-1.02-py2.6.egg
/usr/share/pyshared/deluge/plugins/Scheduler-0.2-py2.6.egg
/usr/share/pyshared/deluge/plugins/WebUi-0.1-py2.6.egg
/usr/share/pyshared/deluge/plugins/Extractor-0.1-py2.6.egg
/usr/share/pyshared/deluge/plugins/Label-0.1-py2.6.egg
/usr/share/pyshared/deluge/plugins/Notifications-0.1-py2.6.egg
/usr/share/pyshared/deluge/plugins/Blocklist-1.2-py2.6.egg
/usr/share/pyshared/deluge/plugins/Execute-1.2-py2.6.egg
Could it be that since I have Python 2.5 (and these look like Python 2.6) that they aren't appearing in Deluge? How do I get these to work? Can I simply move them to the plugins directory in /.config/plugins?

Also, I found the directory you had mentioned before, /usr/lib/pymodules/python2.5/deluge-1.3.0.egg-info. That has links to files in my python shared directory.
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: Supplied Deluge Plugins Do Not Exist

Post by johnnyg »

teh_g wrote:I got a simple idea, I can just search for *.egg in my whole system with "find / '*.egg'".
Nice thinking.
teh_g wrote:Could it be that since I have Python 2.5 (and these look like Python 2.6) that they aren't appearing in Deluge?
Yeah, that's most definitely the reason.
From memory you can't just rename the .egg, you need to recreate it with your desired python version (in your case 2.5).

However, is python 2.5 the latest version available on debian? This could be a packaging mistake...
teh_g
Member
Member
Posts: 21
Joined: Mon Oct 18, 2010 3:49 pm

Re: Supplied Deluge Plugins Do Not Exist

Post by teh_g »

I think that Python 2.5 is the 'recommended' version, because 2.6 is still marked as in testing perhaps? Would it be detrimental to Deluge (and other Python dependencies) to uninstall 2.5 and put 2.6 on my system?
Post Reply