https://bugzilla.novell.com/show_bug.cgi?id=222938 Summary: kaddprinterwizard: CUPS-Add-Modify-Printer client-error- bad-request Product: openSUSE 10.2 Version: Beta 2 plus Platform: x86-64 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE AssignedTo: kde-maintainers@suse.de ReportedBy: jsmeix@novell.com QAContact: qa@suse.de CC: kssingvo@novell.com /opt/kde3/bin/kaddprinterwizard fails to set up a print queue. I run it directly as root from the command line. I select the parallel port and then a manufactuer and model and then I clicked [Test] on the "Printer Test" screen which fails with the error popup message "Unable to create a temporary printer." and in /var/log/cups/error_log there is (with "LogLevel debug" in /etc/cups/cupsd.conf): ------------------------------------------------------------------------------ D [21/Nov/2006:14:14:57 +0100] cupsdAcceptClient: 9 from localhost (Domain) D [21/Nov/2006:14:14:57 +0100] cupsdReadClient: 9 POST /admin/ HTTP/1.1 D [21/Nov/2006:14:14:57 +0100] cupsdAuthorize: No authentication data provided. D [21/Nov/2006:14:14:57 +0100] CUPS-Add-Modify-Printer ipp:///var/run/cups/cups.sock/printers/tmpprinter_FFf2RBgv D [21/Nov/2006:14:14:57 +0100] CUPS-Add-Modify-Printer client-error-bad-request: The printer-uri must be of the form "ipp://HOSTNAME/printers/PRINTERNAME". D [21/Nov/2006:14:14:57 +0100] cupsdProcessIPPRequest: 9 status_code=400 (client-error-bad-request) D [21/Nov/2006:14:14:57 +0100] cupsdCloseClient: 9 ------------------------------------------------------------------------------ The same happens when finishing kaddprinterwizard: It fails with the error popup message "client-error-bad-request" and in /var/log/cups/error_log there is the same as before: ------------------------------------------------------------------------------ D [21/Nov/2006:14:24:23 +0100] cupsdAcceptClient: 10 from localhost (Domain) D [21/Nov/2006:14:24:23 +0100] cupsdReadClient: 10 POST /admin/ HTTP/1.1 D [21/Nov/2006:14:24:23 +0100] cupsdAuthorize: No authentication data provided. D [21/Nov/2006:14:24:23 +0100] CUPS-Add-Modify-Printer ipp:///var/run/cups/cups.sock/printers/testy D [21/Nov/2006:14:24:23 +0100] CUPS-Add-Modify-Printer client-error-bad-request: The printer-uri must be of the form "ipp://HOSTNAME/printers/PRINTERNAME". D [21/Nov/2006:14:24:23 +0100] cupsdProcessIPPRequest: 10 status_code=400 (client-error-bad-request) D [21/Nov/2006:14:24:23 +0100] cupsdCloseClient: 10 ------------------------------------------------------------------------------ For comparsion here the error_log messages when I set up the queue with root@host# lpadmin -p testy -v parallel:/dev/lp0 -E \ -P /usr/share/cups/model/Postscript.ppd.gz ------------------------------------------------------------------------------ D [21/Nov/2006:14:28:24 +0100] cupsdAcceptClient: 9 from localhost (Domain) D [21/Nov/2006:14:28:24 +0100] cupsdReadClient: 9 POST /admin/ HTTP/1.1 D [21/Nov/2006:14:28:24 +0100] cupsdAuthorize: No authentication data provided. D [21/Nov/2006:14:28:24 +0100] CUPS-Add-Modify-Printer ipp://localhost/printers/testy E [21/Nov/2006:14:28:24 +0100] CUPS-Add-Modify-Printer: Unauthorized D [21/Nov/2006:14:28:24 +0100] cupsdSendError: 9 code=401 (Unauthorized) D [21/Nov/2006:14:28:24 +0100] cupsdAcceptClient: 10 from localhost (Domain) D [21/Nov/2006:14:28:24 +0100] cupsdCloseClient: 9 D [21/Nov/2006:14:28:24 +0100] cupsdReadClient: 10 POST /admin/ HTTP/1.1 D [21/Nov/2006:14:28:24 +0100] cupsdAuthorize: username="root" D [21/Nov/2006:14:28:24 +0100] CUPS-Add-Modify-Printer ipp://localhost/printers/testy I [21/Nov/2006:14:28:24 +0100] Setting testy device-uri to "parallel:/dev/lp0" (was "file:/dev/null".) I [21/Nov/2006:14:28:24 +0100] Saving printers.conf... D [21/Nov/2006:14:28:24 +0100] Discarding unused printer-added event... I [21/Nov/2006:14:28:24 +0100] New printer "testy" added by "root". D [21/Nov/2006:14:28:24 +0100] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [21/Nov/2006:14:28:24 +0100] cupsdReadClient: 10 POST /admin/ HTTP/1.1 D [21/Nov/2006:14:28:24 +0100] cupsdAuthorize: username="root" D [21/Nov/2006:14:28:24 +0100] CUPS-Add-Modify-Printer ipp://localhost/printers/testy I [21/Nov/2006:14:28:24 +0100] Setting testy printer-is-accepting-jobs to 1 (was 0.) I [21/Nov/2006:14:28:24 +0100] Setting testy printer-state to 3 (was 5.) D [21/Nov/2006:14:28:24 +0100] Discarding unused printer-state-changed event... I [21/Nov/2006:14:28:24 +0100] Saving printers.conf... D [21/Nov/2006:14:28:24 +0100] Discarding unused printer-modified event... I [21/Nov/2006:14:28:24 +0100] Printer "testy" modified by "root". D [21/Nov/2006:14:28:24 +0100] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [21/Nov/2006:14:28:24 +0100] cupsdReadClient: 10 POST /admin/ HTTP/1.1 D [21/Nov/2006:14:28:24 +0100] cupsdAuthorize: username="root" D [21/Nov/2006:14:28:24 +0100] CUPS-Add-Modify-Printer ipp://localhost/printers/testy D [21/Nov/2006:14:28:24 +0100] Copied PPD file successfully! I [21/Nov/2006:14:28:24 +0100] Saving printers.conf... D [21/Nov/2006:14:28:24 +0100] Discarding unused printer-modified event... I [21/Nov/2006:14:28:24 +0100] Printer "testy" modified by "root". D [21/Nov/2006:14:28:24 +0100] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok) D [21/Nov/2006:14:28:24 +0100] cupsdCloseClient: 10 ------------------------------------------------------------------------------ By the way: The "CUPS-Add-Modify-Printer: Unauthorized" error messages appear since CUPS 1.2 in error_log but "lpadmin" works nevertheless. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.