Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #281285

Bug#964168: deluge-console fails to start: "ModuleNotFoundError: No module named 'libtorrent'"

From Simon Howard <fraggle@soulsphere.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#964168: deluge-console fails to start: "ModuleNotFoundError: No module named 'libtorrent'"
Date 2020-07-03 04:50 +0200
Message-ID <AojW2-6t6-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: deluge-console
Version: 2.0.3-2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I installed deluge-console from testing but it fails to start up, giving the
following backtrace:

$ deluge-console
Unable to initialize gettext/locale!
'ngettext'
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/deluge/i18n/util.py", line 118, in setup_translation
    builtins.__dict__['_n'] = builtins.__dict__['ngettext']
KeyError: 'ngettext'

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/deluge/_libtorrent.py", line 23, 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/bin/deluge-console", line 11, in <module>
    load_entry_point('deluge==2.0.3', 'console_scripts', 'deluge-console')()
  File "/usr/lib/python3/dist-packages/deluge/ui/console/__init__.py", line 19, in start
    Console().start()
  File "/usr/lib/python3/dist-packages/deluge/ui/console/console.py", line 154, in start
    from deluge.ui.console.main import ConsoleUI  # import here because (see top)
  File "/usr/lib/python3/dist-packages/deluge/ui/console/main.py", line 27, in <module>
    from deluge.ui.console.modes.addtorrents import AddTorrents
  File "/usr/lib/python3/dist-packages/deluge/ui/console/modes/addtorrents.py", line 21, in <module>
    from deluge.ui.console.modes.torrentlist.add_torrents_popup import report_add_status
  File "/usr/lib/python3/dist-packages/deluge/ui/console/modes/torrentlist/add_torrents_popup.py", line 16, in <module>
    from deluge.ui.console.widgets.popup import InputPopup, SelectablePopup
  File "/usr/lib/python3/dist-packages/deluge/ui/console/widgets/__init__.py", line 4, in <module>
    from deluge.ui.console.widgets.statusbars import StatusBars
  File "/usr/lib/python3/dist-packages/deluge/ui/console/widgets/statusbars.py", line 14, in <module>
    from deluge.core.preferencesmanager import DEFAULT_PREFS
  File "/usr/lib/python3/dist-packages/deluge/core/preferencesmanager.py", line 24, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib/python3/dist-packages/deluge/_libtorrent.py", line 25, in <module>
    import libtorrent as lt
ModuleNotFoundError: No module named 'libtorrent'


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 5.6.0-2-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages deluge-console depends on:
ii  deluge-common  2.0.3-2
ii  python3        3.8.2-3

deluge-console recommends no packages.

deluge-console suggests no packages.

-- no debconf information

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#964168: deluge-console fails to start: "ModuleNotFoundError: No module named 'libtorrent'" Simon Howard <fraggle@soulsphere.org> - 2020-07-03 04:50 +0200
  Bug#964168: marked as done (deluge-console fails to start:  "ModuleNotFoundError: No module named 'libtorrent'") "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-07-28 01:10 +0200

csiph-web