Missing Default Plugins With 2.0.3

Specific support for Deluge on Microsoft Windows OS
Post Reply
Splice1138
New User
New User
Posts: 2
Joined: Tue Sep 10, 2019 8:08 am

Missing Default Plugins With 2.0.3

Post by Splice1138 »

I managed to install 2.0.3 on Windows 10 by following the linked instructions (mostly, had to Google different links for Twisted and setproctile packages). The main GUI program seems to work fine, but there are no plugins at all. I tried searching the forums etc, found a couple posts but no answers other than "it started working" and "I installed from repository". What do I need to do to install the default plugins, or where can I find them to download? Thanks.

Log File

Code: Select all

01:30:18 [INFO    ][deluge.ui.ui      :70  ] Deluge ui 2.0.3
01:30:18 [INFO    ][deluge.ui.ui      :72  ] Starting gtk ui..
01:30:19 [INFO    ][deluge.i18n.util                  :102 ] Setting up translations from c:\users\splic_000\appdata\local\programs\python\python36\lib\site-packages\deluge\i18n
01:30:19 [ERROR   ][deluge.i18n.util                  :131 ] Unable to initialize gettext/locale!
01:30:19 [ERROR   ][deluge.i18n.util                  :132 ] [WinError 126] The specified module could not be found
01:30:20 [INFO    ][twisted                           :154 ] Factory starting on 27830
01:30:20 [INFO    ][twisted                           :154 ] Factory starting on 27830
01:30:20 [INFO    ][twisted                           :154 ] Starting factory <twisted.internet.protocol.Factory object at 0x00000267C64C7470>
01:30:20 [INFO    ][twisted                           :154 ] Starting factory <twisted.internet.protocol.Factory object at 0x00000267C64C7470>
01:30:20 [INFO    ][deluge.ui.gtk3.common             :345 ] Opening torrentview.state for load: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\torrentview.state
01:30:20 [INFO    ][deluge.ui.gtk3.common             :355 ] Successfully loaded torrentview.state: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\torrentview.state
01:30:20 [INFO    ][deluge.ui.gtk3.common             :345 ] Opening tabs.state for load: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\tabs.state
01:30:20 [INFO    ][deluge.ui.gtk3.common             :355 ] Successfully loaded tabs.state: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\tabs.state
01:30:20 [INFO    ][deluge.ui.gtk3.common             :345 ] Opening files_tab.state for load: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\files_tab.state
01:30:20 [INFO    ][deluge.ui.gtk3.common             :355 ] Successfully loaded files_tab.state: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\files_tab.state
01:30:20 [INFO    ][deluge.ui.gtk3.common             :345 ] Opening peers_tab.state for load: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\peers_tab.state
01:30:20 [INFO    ][deluge.ui.gtk3.common             :355 ] Successfully loaded peers_tab.state: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\peers_tab.state
01:30:23 [INFO    ][deluge.core.daemon                :94  ] Deluge daemon 2.0.3
01:30:23 [INFO    ][deluge.core.core                  :339 ] Successfully loaded session.state: C:\Users\splic_000\AppData\Roaming\deluge\session.state
01:30:23 [INFO    ][deluge.core.core                  :339 ] Successfully loaded session.state: C:\Users\splic_000\AppData\Roaming\deluge\session.state.bak
01:30:23 [INFO    ][deluge.core.alertmanager          :148 ] Alert Queue Size set to 10000
01:30:23 [WARNING ][deluge.core.preferencesmanager    :473 ] Unable to find GeoIP database file: /usr/share/GeoIP/GeoIP.dat
01:30:23 [INFO    ][deluge.core.authmanager           :228 ] Opening auth for load: C:\Users\splic_000\AppData\Roaming\deluge\auth
01:30:23 [INFO    ][deluge.core.authmanager           :236 ] Successfully loaded auth: C:\Users\splic_000\AppData\Roaming\deluge\auth
01:30:23 [WARNING ][deluge.pluginmanagerbase          :132 ] Cannot enable non-existant plugin Scheduler
01:30:23 [WARNING ][deluge.pluginmanagerbase          :132 ] Cannot enable non-existant plugin WebUi
01:30:23 [WARNING ][deluge.pluginmanagerbase          :132 ] Cannot enable non-existant plugin Label
01:30:23 [INFO    ][deluge.core.torrentmanager        :806 ] Loading torrent state: C:\Users\splic_000\AppData\Roaming\deluge\state\torrents.state
01:30:23 [INFO    ][deluge.core.torrentmanager        :819 ] Successfully loaded C:\Users\splic_000\AppData\Roaming\deluge\state\torrents.state
01:30:23 [INFO    ][deluge.core.torrentmanager        :1066] Opening torrents.fastresume for load: C:\Users\splic_000\AppData\Roaming\deluge\state\torrents.fastresume
01:30:23 [INFO    ][deluge.core.torrentmanager        :1077] Successfully loaded torrents.fastresume: C:\Users\splic_000\AppData\Roaming\deluge\state\torrents.fastresume
01:30:24 [WARNING ][deluge.core.torrentmanager        :338 ] Unable to open torrent file C:\Users\splic_000\AppData\Roaming\deluge\state\95ce1a338e36e335e86f4339a07be52ef9022a8f.torrent: The system cannot find the file specified
01:30:24 [WARNING ][deluge.core.torrentmanager        :338 ] Unable to open torrent file C:\Users\splic_000\AppData\Roaming\deluge\state\a0a89b1bd5e9b118d5eb113dfb45be04c03de1f7.torrent: The system cannot find the file specified
01:30:24 [WARNING ][deluge.core.torrentmanager        :338 ] Unable to open torrent file C:\Users\splic_000\AppData\Roaming\deluge\state\8aadae6f63c6584993bd666c01b65bfff9d06446.torrent: The system cannot find the file specified
01:30:24 [WARNING ][deluge.core.torrentmanager        :338 ] Unable to open torrent file C:\Users\splic_000\AppData\Roaming\deluge\state\a65a4fc776ca87db9e379e7619596c39fd403427.torrent: The system cannot find the file specified
01:30:24 [WARNING ][deluge.core.torrentmanager        :338 ] Unable to open torrent file C:\Users\splic_000\AppData\Roaming\deluge\state\93c6a3a65a938f9480dfda5d5592cd1b623f715a.torrent: The system cannot find the file specified
01:30:24 [INFO    ][deluge.core.torrentmanager        :672 ] Torrent <REDACTED> from user "localclient" loaded
01:30:24 [INFO    ][deluge.core.torrentmanager        :1609] on_alert_external_ip: <REDACTED>
01:30:24 [INFO    ][deluge.core.torrentmanager        :672 ] Torrent <REDACTED> from user "localclient" loaded
01:30:24 [INFO    ][deluge.core.torrentmanager        :885 ] Finished loading 35 torrents in 0:00:00.874982
01:30:25 [WARNING ][deluge.httpdownloader             :315 ] Error occurred downloading file from "<REDACTED>": DNS lookup failed: no results for hostname lookup: <REDACTED>.
01:30:25 [WARNING ][deluge.httpdownloader             :315 ] Error occurred downloading file from "<REDACTED>": DNS lookup failed: no results for hostname lookup: <REDACTED>.
01:30:52 [INFO    ][deluge.ui.gtk3.common             :315 ] Saving the torrentview.state at: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\torrentview.state
01:30:52 [INFO    ][deluge.ui.gtk3.common             :315 ] Saving the torrentview.state at: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\torrentview.state
01:30:52 [INFO    ][deluge.core.core                  :307 ] Saving the session.state at: C:\Users\splic_000\AppData\Roaming\deluge\session.state
01:30:53 [INFO    ][deluge.ui.gtk3.common             :315 ] Saving the files_tab.state at: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\files_tab.state
01:30:53 [INFO    ][deluge.ui.gtk3.common             :315 ] Saving the peers_tab.state at: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\peers_tab.state
01:30:53 [INFO    ][deluge.ui.gtk3.common             :315 ] Saving the tabs.state at: C:\Users\splic_000\AppData\Roaming\deluge\gtk3ui_state\tabs.state
01:30:53 [INFO    ][twisted                           :154 ] (TCP Port 27830 Closed)
01:30:53 [INFO    ][twisted                           :154 ] (TCP Port 27830 Closed)
01:30:53 [INFO    ][twisted                           :154 ] Stopping factory <twisted.internet.protocol.Factory object at 0x00000267C64C7470>
01:30:53 [INFO    ][twisted                           :154 ] Stopping factory <twisted.internet.protocol.Factory object at 0x00000267C64C7470>
01:30:53 [INFO    ][deluge.core.daemon                :176 ] Deluge daemon shutting down, waiting for components to shutdown...
Running deluge-console... not really sure what I'm doing here

Code: Select all

C:\Users\splic_000>deluge-console -L info
Unable to initialize gettext/locale!
[WinError 126] The specified module could not be found
01:04:35 [INFO    ][deluge.ui.ui:70  ] Deluge ui 2.0.3
01:04:35 [INFO    ][deluge.ui.ui:72  ] Starting console ui..
Traceback (most recent call last):
  File "c:\users\splic_000\appdata\local\programs\python\python36\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\splic_000\appdata\local\programs\python\python36\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\splic_000\AppData\Local\Programs\Python\Python36\Scripts\deluge-console.exe\__main__.py", line 9, in <module>
  File "c:\users\splic_000\appdata\local\programs\python\python36\lib\site-packages\deluge\ui\console\__init__.py", line 19, in start
    Console().start()
  File "c:\users\splic_000\appdata\local\programs\python\python36\lib\site-packages\deluge\ui\console\console.py", line 154, in start
    from deluge.ui.console.main import ConsoleUI  # import here because (see top)
  File "c:\users\splic_000\appdata\local\programs\python\python36\lib\site-packages\deluge\ui\console\main.py", line 31, in <module>
    from deluge.ui.console.modes.preferences import Preferences
  File "c:\users\splic_000\appdata\local\programs\python\python36\lib\site-packages\deluge\ui\console\modes\preferences\__init__.py", line 3, in <module>
    from deluge.ui.console.modes.preferences.preferences import Preferences
  File "c:\users\splic_000\appdata\local\programs\python\python36\lib\site-packages\deluge\ui\console\modes\preferences\preferences.py", line 33, in <module>
    from deluge.ui.console.widgets.sidebar import Sidebar
  File "c:\users\splic_000\appdata\local\programs\python\python36\lib\site-packages\deluge\ui\console\widgets\sidebar.py", line 12, in <module>
    import curses
  File "c:\users\splic_000\appdata\local\programs\python\python36\lib\curses\__init__.py", line 13, in <module>
    from _curses import *
ModuleNotFoundError: No module named '_curses'
Plugins Preferences Page
Image
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Missing Default Plugins With 2.0.3

Post by mhertz »

Indeed :) Anyway, the fix is surprisingly simple I.e. rename the 10 default plugins provided under 'C:\Program Files\Python36\Lib\site-packages\deluge\plugins', so that they have 3.6 in there filenames instead of 3.7.

Edit: I see you have done a python install not for all users(as by default), so the path I gave above for the default plugins needing renaming instead then is, I believe, '%appdata%\Local\Programs\Python\Python36\Lib\site-packages\deluge\plugins'.
Splice1138
New User
New User
Posts: 2
Joined: Tue Sep 10, 2019 8:08 am

Re: Missing Default Plugins With 2.0.3

Post by Splice1138 »

That does work, thank you.

Follow up: does this indicate that one should be using Python 3.7 with Deluge 2.0.3? I specifically installed 3.6 because that's what the instructions said, and the linked page made it seem like 3.7 might have different compatibility. From what you said and what I read trying to figure this out prior, it seems the minor version number of Python does matter, at least for plugins, so I had the right idea but made the wrong choice.

Also, I let the Python Windows installer run in full auto, so either local user is default, or it picked up some previous setting and didn't ask.

For anyone else looking, the proper local user path on my machine is %localappdata%\Programs\Python\Python36\Lib\site-packages\deluge\plugins", %appdata% includes Roaming not Local.
mhertz
Moderator
Moderator
Posts: 2195
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Missing Default Plugins With 2.0.3

Post by mhertz »

As you stated, there's compatibility issues so latest 3.6 python is correct, the plugins are properly named like that because on Linux, 3.7 works and is normally used if using up-to-date distro. .

Yes, python installs for local user by default and it needs to be specifically selected to have an all-user install, but I just preferred having the "more normal" install location.

BTW, the SSL package isn't needed for deluge2 on windows in my testing, but don't hurt neither of course.

Ohh, I'm sorry about giving you wrong path, was little to quick there.

You're welcome :)
Post Reply