Package: pdudaemon
Version: 0.0.8.58.g597052b-1
Severity: serious
Attempting to use pdudaemon without python3-aiohttp installed results in
a traceback:
# pdudaemon
Traceback (most recent call last):
File "/usr/sbin/pdudaemon", line 33, in <module>
sys.exit(load_entry_point('pdudaemon==0.1', 'console_scripts',
'pdudaemon')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/sbin/pdudaemon", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3/dist-packages/pdudaemon/__init__.py", line 32, in
<module>
from pdudaemon.httplistener import HTTPListener
File "/usr/lib/python3/dist-packages/pdudaemon/httplistener.py", line 24, in
<module>
from aiohttp import web
ModuleNotFoundError: No module named 'aiohttp'
but there is no dependency declared in the package. Installing the
python3-aiohttp resolves this issue.
-- System Information:
Debian Release: 12.1
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64
Kernel: Linux 6.1.0-10-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages pdudaemon depends on:
ii python3 3.11.2-1+b1
pn python3-hid <none>
pn python3-paramiko <none>
ii python3-pexpect 4.8.0-4
ii python3-pyasn1 0.4.8-3
ii python3-pysnmp4 4.4.12-2
ii python3-requests 2.28.1+dfsg-1
ii python3-serial 3.5-1.1
pn python3-systemd <none>
pn python3-usb <none>
Versions of packages pdudaemon recommends:
ii inetutils-telnet [telnet] 2:2.4-2
ii openssh-client 1:9.2p1-2
pdudaemon suggests no packages.