[Plugin] ltConfig v2.0.0

Suggest, post, or discuss plugins for Deluge
ludog
New User
New User
Posts: 1
Joined: Mon Sep 02, 2024 3:07 am

can't enable ltConfig, "ModuleNotFoundError: No module named 'core'"

Post by ludog »

Deluge download speed is very slow for me, ~100K/s, when my internet speed test shows ~50Mb/s. I'm trying to install ltConfig to improve this. I cloned the github repo, and ran `python setup.py bdist_egg`, which created an egg file. Then opened Deluge and went to add new plugin and selected this egg file. But when I try to click the 'enable' icon beside ltConfig, nothing happens, and I see on the terminal where I launched Deluge, the error

Code: Select all

  File "/usr/lib/python3/dist-packages/deluge/pluginmanagerbase.py", line 148, in enable_plugin
    instance = cls(plugin_name.replace('-', '_'))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/louis/.config/deluge/plugins/ltConfig-0.3.1-py3.12.egg/ltconfig/__init__.py", line 46, in __init__
    from core import Core as _plugin_cls
ModuleNotFoundError: No module named 'core'
Versions I'm using:

Code: Select all

$ deluge --version
deluge 2.1.2.dev0
libtorrent: 2.0.10.0
Python: 3.12.3
OS: Linux Ubuntu 24.04 noble
Last edited by mhertz on Mon Sep 02, 2024 9:59 am, edited 2 times in total.
Reason: Merged with main plugin thread.
mhertz
Moderator
Moderator
Posts: 2258
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: can't enable ltConfig, "ModuleNotFoundError: No module named 'core'"

Post by mhertz »

That means deluge 1.x plugin.

The default branch(master) of ltconfig is for deluge 1.x. Clone/build the 2.x branch, so add '-b 2.x' to the git clone command-line.

However, don't need build it, unless wanted, as a release available on the github page. Normally often need rename the python version to match, but there's no python version in that release, so works out of the box even.

Hope helps.
Post Reply