OpenPrinting / pappl-retrofit

PPD/Classic CUPS driver retro-fit Printer Application Library
Apache License 2.0
7 stars 10 forks source link

Cannot delete printers #7

Open debiantriage opened 1 year ago

debiantriage commented 1 year ago

This is on Debian unstable working over an SSH connection using lynx. The issue occurs with the ps, gutenprint and HPLIP Applications.

root@test-new:~# ps-printer-app devices
dnssd://ENVY4500._pdl-datastream._tcp.local/
snmp://NPI2CA3D7
usb://EPSON/Stylus%20Photo%20RX420?serial=LJ4O40407152301540
root@test-new:~#
root@test-new:~# hplip-printer-app delete -d envy
hplip-printer-app: Unable to get information for printer: successful-ok
root@test-new:~#

The printer is still shown by hplip-printer-app devices and in the web interface.

Deleting via the web interface causes lynx to hang, reporting

HTTP request sent; waiting for response.

Exiting from lynx with CTRL-C and running lynx again does not bring up the web interface for HPLIP but does for ps and gutenprint. systemctl to stop the HPLIP service (takes over a minute); systemctl start sees lynx localhost:8001 woring again.

tillkamppeter commented 1 year ago

Note that there is a bug in the CUPS package in Debian (and also in Ubuntu 22.10) which prevents the Printer Application from correctly working (at least the web interface does not work);

If the problem still occurs, it would be great to get debug logs of the Printer Applications, by starting the server with something like

hplip-printer-app -o log-level=debug server

and attach the log file.