From owner-freebsd-ports-bugs@freebsd.org Wed Mar 28 20:22:39 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 90992F72256 for ; Wed, 28 Mar 2018 20:22:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2CC4481238 for ; Wed, 28 Mar 2018 20:22:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 516201A947 for ; Wed, 28 Mar 2018 20:22:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w2SKMcO4047461 for ; Wed, 28 Mar 2018 20:22:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w2SKMc11047460 for freebsd-ports-bugs@FreeBSD.org; Wed, 28 Mar 2018 20:22:38 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 227051] print/hplip: hp-setup indicates failure but generates ppd file Date: Wed, 28 Mar 2018 20:22:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@dreamchaser.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: woodsb02@freebsd.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2018 20:22:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227051 Bug ID: 227051 Summary: print/hplip: hp-setup indicates failure but generates ppd file Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: woodsb02@freebsd.org Reporter: freebsd@dreamchaser.org Flags: maintainer-feedback?(woodsb02@freebsd.org) Assignee: woodsb02@freebsd.org hplip installs hp-setup to generate ppd files. If one installs hplip without the FAX option, and then attempts to generate a ppd file for an HP Officejet Pro 8500 a909g, the program finishes with an error message indicating failure. However, it= has written the appropriate file to /usr/local/share/ppd. When I did this, cups still did not work. I was left wondering if the ppd = file generated was in error somehow, or whether some other activity needed to be done. The cups log shows that it properly reloaded the changed ppd file, but then claimed it could not open the file: D [28/Mar/2018:11:23:09 -0600] [Client 1] Processing GET /printers/HP_Officejet_Pro_8500_A909g ... D [28/Mar/2018:11:23:09 -0600] [CGI] envp[26] =3D "SCRIPT_FILENAME=3D/usr/local/share/doc/cups/printers/HP_Officejet_Pro_8500= _A909g" ... D [28/Mar/2018:11:23:09 -0600] [Client 3] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost/printers/HP_Office jet_Pro_8500_A909g) from localhost ... D [28/Mar/2018:11:23:09 -0600] [CGI] cgiSetArray: job_printer_state_message[0]=3D\"Failed to open PPD: /usr/local/etc/cups/ppd/HP_Officejet_Pro_8500_A909g.ppd\" I moved the generated ppd file aside and tried to regenerate the ppd file, = but hp-setup wouldn't do it without creating another printer queue. I finally deleted the cups queue (via the cups web interface), rebuilt the hplip pack= age with the FAX and SCAN options enabled, and re-ran hp-setup to regenerate the queue. At this point it worked. However, the ppd file generated was the same as the previous one. So it appears something else didn't get done when hp-setup indicated it had an er= ror generating the ppd file because of no fax capabilities. As a side-note, hp-setup did not give me the option of using a different protocol. The generated queue was: hp:/net/Officejet_Pro_8500_A909g?ip=3Daaa.bbb.ccc.ddd I had to use the cups web interface to change it to what I wanted, which was socket://aaa.bbb.ccc.ddd:9100 --=20 You are receiving this mail because: You are the assignee for the bug.=