#3511: deluged server doesnt start ubuntu 18.04.06
-------------------------+-------------------------------------------------
  Reporter:  granjerox   |      Owner:
      Type:  bug         |     Status:  new
  Priority:  critical    |  Milestone:  needs verified
 Component:  Core        |    Version:  develop
Resolution:              |   Keywords:  libtorrent daemon server
                         |  dependencies
-------------------------+-------------------------------------------------

Comment (by fermulator):

 Confirming this is a REGRESSION bug. deluged was working fine until a
 recent upgrade.
 {{{
 2022-09-10 08:41:00 upgrade deluged:all 2.0.5-0~202202181912~ubuntu18.04.1
 2.1.1-0~202207101304~ubuntu18.04.1
 }}}
 ^ after this, deluge was failing to start. Upon inspection we can see the
 same as reported above.


 {{{
 -- Unit deluged.service has finished starting up.
 --
 -- The start-up result is RESULT.
 Sep 13 07:45:06 fermmy-torrents deluged[1514]: Traceback (most recent call
 last):
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:   File "/usr/lib/python3
 /dist-packages/deluge/_libtorrent.py", line 21, in <module>
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:     import
 deluge.libtorrent as lt
 Sep 13 07:45:06 fermmy-torrents deluged[1514]: ModuleNotFoundError: No
 module named 'deluge.libtorrent'
 Sep 13 07:45:06 fermmy-torrents deluged[1514]: During handling of the
 above exception, another exception occurred:
 Sep 13 07:45:06 fermmy-torrents deluged[1514]: Traceback (most recent call
 last):
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:   File "/usr/lib/python3
 /dist-packages/deluge/_libtorrent.py", line 24, in <module>
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:     import libtorrent as lt
 Sep 13 07:45:06 fermmy-torrents deluged[1514]: ModuleNotFoundError: No
 module named 'libtorrent'
 Sep 13 07:45:06 fermmy-torrents deluged[1514]: During handling of the
 above exception, another exception occurred:
 Sep 13 07:45:06 fermmy-torrents deluged[1514]: Traceback (most recent call
 last):
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:   File "/usr/bin/deluged",
 line 11, in <module>
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:
 load_entry_point('deluge==2.1.1', 'gui_scripts', 'deluged')()
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:   File "/usr/lib/python3
 /dist-packages/deluge/core/daemon_entry.py", line 87, in start_daemon
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:     from deluge.core.daemon
 import is_daemon_running
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:   File "/usr/lib/python3
 /dist-packages/deluge/core/daemon.py", line 19, in <module>
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:     from deluge.core.core
 import Core
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:   File "/usr/lib/python3
 /dist-packages/deluge/core/core.py", line 26, in <module>
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:     from deluge._libtorrent
 import LT_VERSION, lt
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:   File "/usr/lib/python3
 /dist-packages/deluge/_libtorrent.py", line 26, in <module>
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:     raise
 LibtorrentImportError('No libtorrent library found: %s' % (ex))
 Sep 13 07:45:06 fermmy-torrents deluged[1514]:
 deluge.error.LibtorrentImportError: No libtorrent library found: No module
 named 'libtorrent'
 Sep 13 07:45:06 fermmy-torrents systemd[1]: deluged.service: Main process
 exited, code=exited, status=1/FAILURE
 Sep 13 07:45:06 fermmy-torrents systemd[1]: deluged.service: Failed with
 result 'exit-code'.
 }}}

 {{{
 $ python --version && python3 --version
 Python 2.7.17
 Python 3.6.9

 $ python3 -c "import libtorrent; print(libtorrent.version)"
 Traceback (most recent call last):
   File "<string>", line 1, in <module>
 ModuleNotFoundError: No module named 'libtorrent'


 $ cat /etc/lsb-release
 DISTRIB_ID=Ubuntu
 DISTRIB_RELEASE=18.04
 DISTRIB_CODENAME=bionic
 DISTRIB_DESCRIPTION="Ubuntu 18.04.6 LTS"
 }}}

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3511#comment:3>
Deluge <https://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/063.5c9c3cf811a3ac5b8c70000c2f7908b2%40deluge-torrent.org.

Reply via email to