[Python-apps-team] Bug#981278: subdownloader: Crashes when trying to download subtitle

Pelle Hjek pelle at riseup.net
Thu Jan 28 16:21:03 GMT 2021


Package: subdownloader
Version: 2.1.0-3
Severity: grave
Justification: renders package unusable

Dear Maintainer,

When Subdownloader starts, there's a dialog:

> Error logging in into [sic] the server. Please try again later.

After pressing OK, then going to the Search by Movie Name tab, searching for
any film (like Plan 9 from Outer Space but it happens with any film), selecting
the [English (US)] subtitle, right clicking on the listing and choosing
Download and then finally clicking on the Choose button causes Subdownloader to
crash with the following error in the terminal:

```
Traceback (most recent call last):  File "/usr/lib/python3/dist-
packages/subdownloader/client/gui/widgets/searchNameWidget.py", line 181, in
onButtonDownloadByTitle
    data_stream =
sub.download(provider_instance=self.get_state().get_OSDBServer(),
callback=callback)
  File "/usr/lib/python3/dist-packages/subdownloader/provider/SDService.py",
line 682, in download
    return BytesIO(subs[0])
TypeError: 'NoneType' object is not subscriptable
```



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-2-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages subdownloader depends on:
ii  python3              3.9.1-1
ii  python3-argcomplete  1.8.1-1.3
ii  python3-langdetect   1.0.7-4
ii  python3-progressbar  2.5-2
ii  python3-pymediainfo  4.2.1-1

Versions of packages subdownloader recommends:
ii  python3-pyqt5  5.15.2+dfsg-3

subdownloader suggests no packages.

-- no debconf information



More information about the Python-apps-team mailing list