Bug#1001952: FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/cdist/preos'
Package: cdist
Version: 6.9.4-1
Severity: normal
Dear Maintainer,
$ cdist preos
Traceback (most recent call last):
File "/usr/bin/cdist", line 91, in <module>
commandline()
File "/usr/bin/cdist", line 52, in commandline
return cdist.preos.PreOS.commandline(sys.argv[1:])
File "/usr/lib/python3/dist-packages/cdist/preos.py", line 111, in commandline
cls.preoses = find_preoses()
File "/usr/lib/python3/dist-packages/cdist/preos.py", line 62, in find_preoses
for preos in find_preos_plugins():
File "/usr/lib/python3/dist-packages/cdist/preos.py", line 57, in find_preos_plugins
yield from scan_preos_dir_plugins(dir)
File "/usr/lib/python3/dist-packages/cdist/preos.py", line 40, in scan_preos_dir_plugins
for fname in os.listdir(dir):
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3/dist-packages/cdist/preos'
It's probably just the missing 'preos' directory.
/Allan
-- System Information:
Debian Release: 11.2
APT prefers stable-updates
APT policy: (990, 'stable-updates'), (990, 'stable-security'), (990, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-9-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages cdist depends on:
ii python3 3.9.2-3
cdist recommends no packages.
Versions of packages cdist suggests:
pn cdist-doc <none>
-- no debconf information
--
Allan Wind
Yaxto - Runs Your Business
<https://yaxto.com>
Reply to: