[Pkg-mpd-maintainers] Bug#1031754: ncmpc-lyrics: missing dependencies on python3-bs4 and python3-requests

Diederik de Haas didi.debian at cknow.org
Wed Feb 22 00:41:46 GMT 2023


Package: ncmpc-lyrics
Version: 0.47-1
Severity: important
Tags: patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On a barebones (arm64) system I installed (mpd,) ncmpc and ncmpc-lyrics
and when I switched to the lyrics tab/screen, I got the following error:

==========================================================================
*** 20-azlyrics.py ***

Traceback (most recent call last):
  File "/usr/libexec/ncmpc/lyrics//20-azlyrics.py", line 28, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

*** 30-karaoke_texty.py ***

Traceback (most recent call last):
  File "/usr/libexec/ncmpc/lyrics//30-karaoke_texty.py", line 24, in <module>
    import bs4
ModuleNotFoundError: No module named 'bs4'

*** 40-tekstowo.py ***

Traceback (most recent call last):
  File "/usr/libexec/ncmpc/lyrics//40-tekstowo.py", line 24, in <module>
    import bs4
ModuleNotFoundError: No module named 'bs4'

*** 50-genius.py ***

Traceback (most recent call last):
  File "/usr/libexec/ncmpc/lyrics//50-genius.py", line 24, in <module>
    import bs4
ModuleNotFoundError: No module named 'bs4'

*** 51-supermusic.py ***

Traceback (most recent call last):
  File "/usr/libexec/ncmpc/lyrics//51-supermusic.py", line 28, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

*** 52-zeneszoveg.py ***

Traceback (most recent call last):
  File "/usr/libexec/ncmpc/lyrics//52-zeneszoveg.py", line 28, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

*** 60-google.py ***

Traceback (most recent call last):
  File "/usr/libexec/ncmpc/lyrics//60-google.py", line 24, in <module>
    import bs4
ModuleNotFoundError: No module named 'bs4'
==========================================================================

After installing the `python3-bs4` and `python3-requests` packages the lyrics
screen seem to work properly. It also installed several dependency packages
(and/or recommends), so it may be that more packages should be added
explicitly to its dependencies.

(This bug is reported from another system as that had reportbug already
properly installed and configured, so it was easier)

Cheers,
  Diederik

- -- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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 ncmpc-lyrics depends on:
ii  ncmpc              0.47-1
ii  python3            3.11.2-1
ii  python3-unidecode  1.3.6-1

ncmpc-lyrics recommends no packages.

ncmpc-lyrics suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCY/VkwgAKCRDXblvOeH7b
bgthAQCT8uLwevUZwESKM+9/E6qgXd0i6YBgXJBHmW7jdo8wjgEA4dgyOaVOPE1C
NOCq6ZIdDl+dtWmBxZRWqE0S6/dMSQc=
=U/Vr
-----END PGP SIGNATURE-----



More information about the Pkg-mpd-maintainers mailing list