~10 days ago I updated deluge via 'apt update' and Deluge stopped working with 'No module named 'libtorrent'" error. I have since blow Deluge away completely several times and reinstalled several times, most recently 8th of July; Ubuntu 18.04, 'ppa:deluge-team/stable'
~10 days ago:
I ran 'apt update, etc' and restarted my server as I do at the end of each month. A day or two later I could not connect via my ThinClient (via SSH Tunnel). I googled the errors I was seeing, saw a suggestion to blow away '../state' which did not help. Blew away deluge (apt remove --purge deluge*) completely, including 'rm -rf /var/lib/deluge'
~7 days ago:
I saw the similar post (viewtopic.php?f=7&t=56140) but stated resolution was to install 2yr old libtorrent? I blew Deluge away at that time and gave it a week for everything to be sorted. Everything was freshly pulled from PPA yesterday and still not able to successfully launch Deluged; output below, /var/lib/deluge remains empty of first run config files.
$deluged:
Code: Select all
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/_libtorrent.py", line 21, in <module>
import deluge.libtorrent as lt
ModuleNotFoundError: No module named 'deluge.libtorrent'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/_libtorrent.py", line 24, in <module>
import libtorrent as lt
ModuleNotFoundError: No module named 'libtorrent'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/deluged", line 11, in <module>
load_entry_point('deluge==2.1.0', 'gui_scripts', 'deluged')()
File "/usr/lib/python3/dist-packages/deluge/core/daemon_entry.py", line 87, in start_daemon
from deluge.core.daemon import is_daemon_running
File "/usr/lib/python3/dist-packages/deluge/core/daemon.py", line 19, in <module>
from deluge.core.core import Core
File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 26, in <module>
from deluge._libtorrent import LT_VERSION, lt
File "/usr/lib/python3/dist-packages/deluge/_libtorrent.py", line 26, in <module>
raise LibtorrentImportError('No libtorrent library found: %s' % (ex))
deluge.error.LibtorrentImportError: No libtorrent library found: No module named 'libtorrent'
Code: Select all
deb http://ppa.launchpad.net/deluge-team/stable/ubuntu bionic main
# deb-src http://ppa.launchpad.net/deluge-team/stable/ubuntu bionic main
Code: Select all
deluged is already the newest version (2.1.0-0~202206291031~ubuntu18.04.1).
deluge-common is already the newest version (2.1.0-0~202206291031~ubuntu18.04.1).
libtorrent-rasterbar10 is already the newest version (1.2.16~daily10769+e0dd73971-202206291010~ubuntu18.04.1).
python3-libtorrent is already the newest version (1.2.16~daily10769+e0dd73971-202206291010~ubuntu18.04.1).
python3 is already the newest version (3.6.7-1~18.04).
$lsb_release -a
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic
$uname -a
Linux 4.15.0-188-generic
Please let me know if I've missed any pertinent information & thanks for any guidance.