Hey,
having installed cups, hplip and related packages from Artix' "world" repository makes hplip's hp-toolbox fail:
pacman -S world/cups world/cups-filters world/libcups world/python-pycups world/hplip
[...]
Package (5) Old Version New Version Net Change
world/cups 1:2.4.0-4 1:2.4.0-4 0.00 MiB
world/cups-filters 1.28.10-2 1.28.10-2 0.00 MiB
world/hplip 1:3.21.10-2 1:3.21.10-2 0.00 MiB
world/libcups 1:2.4.0-4 1:2.4.0-4 0.00 MiB
world/python-pycups 2.0.1-5 2.0.1-5 0.00 MiB
[...]
then running hp-toolbox yields:
Traceback (most recent call last):
File "/usr/bin/hp-toolbox", line 41, in <module>
from base import status, tui, module
File "/usr/share/hplip/base/status.py", line 33, in <module>
import cupsext
ModuleNotFoundError: No module named 'cupsext'
Having it installed from the Arch's "extra" repository:
pacman -S extra/cups extra/cups-filters extra/libcups extra/python-pycups extra/hplip
[...]
Package (5) Old Version New Version Net Change
extra/cups 1:2.4.0-4 1:2.4.0-4 -0.01 MiB
extra/cups-filters 1.28.10-2 1.28.10-2 -0.01 MiB
extra/hplip 1:3.21.10-2 1:3.21.10-2 0.01 MiB
extra/libcups 1:2.4.0-4 1:2.4.0-4 0.00 MiB
extra/python-pycups 2.0.1-5 2.0.1-5 0.00 MiB
[...]
makes hp-toolbox work at first. Since both are the same version, I assume some packaging issue with the Arch package.
When I then in hp-toolbox click "Clean Printheads" it crashes immediately with
Traceback (most recent call last):
File "/usr/share/hplip/ui5/devmgr5.py", line 1272, in ActionsList_clicked
if item.cmd and isinstance(item.cmd, collections.Callable):
AttributeError: module 'collections' has no attribute 'Callable'
Aborted
I don't know if that is an hplip issue or just because I have Arch packages on Artix.