From owner-freebsd-ports-bugs@freebsd.org Mon Feb 10 11:04:25 2020 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5C8E4235CDC for ; Mon, 10 Feb 2020 11:04:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48GNMY1tBRz4K5v for ; Mon, 10 Feb 2020 11:04:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 406D8235CDB; Mon, 10 Feb 2020 11:04:25 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 40363235CDA for ; Mon, 10 Feb 2020 11:04:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48GNMY0yp2z4K5s for ; Mon, 10 Feb 2020 11:04:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1C8F11E1D9 for ; Mon, 10 Feb 2020 11:04:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 01AB4OKs077282 for ; Mon, 10 Feb 2020 11:04:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01AB4OJB077281 for ports-bugs@FreeBSD.org; Mon, 10 Feb 2020 11:04:24 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: ports-bugs@FreeBSD.org Subject: [Bug 244017] print/hplip: hp-setup fails Date: Mon, 10 Feb 2020 11:04:24 +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: gerard_seibert@outlook.com 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.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Feb 2020 11:04:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244017 Bug ID: 244017 Summary: print/hplip: hp-setup fails 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: gerard_seibert@outlook.com Assignee: woodsb02@freebsd.org Flags: maintainer-feedback?(woodsb02@freebsd.org) FreeBSD 11.3-RELEASE-p6 FreeBSD 11.3-RELEASE-p6 amd64 When attempting to run "hp-setup", the following error message is displayed when I run the utility as 'root' as HP recommends https://developers.hp.com/hp-linux-imaging-and-printing/install/manual/dist= ros/freebsd: ~ # hp-setup HP Linux Imaging and Printing System (ver. 3.19.12) Printer/Fax Setup Utility ver. 9.0 Copyright (c) 2001-18 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. QStandardPaths: wrong ownership on runtime directory /var/run/user/1001, 10= 01 instead of 0 QStandardPaths: wrong ownership on runtime directory /var/run/user/1001, 10= 01 instead of 0 Searching... (bus=3Dnet, timeout=3D5, ttl=3D4, search=3D(None) desc=3D0, me= thod=3Dslp) Created directory: /var/net-snmp Created directory: /var/net-snmp/mib_indexes Traceback (most recent call last): File "/usr/local/share/hplip/ui5/setupdialog.py", line 1305, in NextButton_clicked self.showAddPrinterPage() File "/usr/local/share/hplip/ui5/setupdialog.py", line 729, in showAddPrinterPage self.readwriteFaxInformation() File "/usr/local/share/hplip/ui5/setupdialog.py", line 1128, in readwriteFaxInformation self.fax_number =3D to_unicode(d.getPhoneNum()) File "/usr/local/share/hplip/fax/pmlfax.py", line 146, in getPhoneNum data =3D utils.printable(self.getPML(pml.OID_FAX_LOCAL_PHONE_NUM)[1]) File "/usr/local/share/hplip/base/utils.py", line 958, in printable return s.translate(identity, unprintable) TypeError: translate() takes exactly one argument (2 given) Abort trap (core dumped) If I run it as an unprivileged user: ~ $ hp-setup HP Linux Imaging and Printing System (ver. 3.19.12) Printer/Fax Setup Utility ver. 9.0 Copyright (c) 2001-18 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Searching... (bus=3Dnet, timeout=3D5, ttl=3D4, search=3D(None) desc=3D0, me= thod=3Dslp) Traceback (most recent call last): File "/usr/local/share/hplip/ui5/setupdialog.py", line 1305, in NextButton_clicked self.showAddPrinterPage() File "/usr/local/share/hplip/ui5/setupdialog.py", line 729, in showAddPrinterPage self.readwriteFaxInformation() File "/usr/local/share/hplip/ui5/setupdialog.py", line 1128, in readwriteFaxInformation self.fax_number =3D to_unicode(d.getPhoneNum()) File "/usr/local/share/hplip/fax/pmlfax.py", line 146, in getPhoneNum data =3D utils.printable(self.getPML(pml.OID_FAX_LOCAL_PHONE_NUM)[1]) File "/usr/local/share/hplip/base/utils.py", line 958, in printable return s.translate(identity, unprintable) TypeError: translate() takes exactly one argument (2 given) Abort trap (core dumped) --=20 You are receiving this mail because: You are the assignee for the bug.=