From owner-freebsd-questions@freebsd.org Sun Jun 6 10:56:10 2021 Return-Path: Delivered-To: freebsd-questions@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 C286365C593 for ; Sun, 6 Jun 2021 10:56:10 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (mx1.dismail.de [78.46.223.134]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.dismail.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FyYMZ1NbKz4Yyb for ; Sun, 6 Jun 2021 10:56:09 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id a6ada068; Sun, 6 Jun 2021 12:56:08 +0200 (CEST) Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id b2a3ca42; Sun, 6 Jun 2021 12:56:08 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 2ec7d8ef; Sun, 6 Jun 2021 12:56:07 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 3ecc2c64 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 6 Jun 2021 12:56:06 +0200 (CEST) Date: Sun, 6 Jun 2021 06:56:04 -0400 From: LuMiWa To: Matthias Apitz Cc: FreeBSD Questions Subject: Re: hplip on FreeBSD 13-RELEASE Message-ID: <20210606065604.5b1ca7c7@dismail.de> In-Reply-To: References: <20210606061727.37501da7@dismail.de> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4FyYMZ1NbKz4Yyb X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[78.46.223.134:from]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:78.46.223.134:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DWL_DNSWL_LOW(-1.00)[dismail.de:dkim]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[dismail.de:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[78.46.223.134:from:127.0.2.255]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:78.46.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[78.46.223.134:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2021 10:56:10 -0000 On Sun, 6 Jun 2021 12:47:08 +0200 Matthias Apitz wrote: > El d=C3=ADa domingo, junio 06, 2021 a las 06:17:27a. m. -0400, LuMiWa via > freebsd-questions escribi=C3=B3: >=20 > > Hi! > >=20 > > I have FreeBSD 13-RELEASE and I le to setup hp business inkjet 3000 > > printer which worked on previous vwrsions of FreeBSD 10 years but > > not now. Printer is connected on USB and system recognize it - > > ulpt0, ugen1.11 at usbus1. I try to setup manual but I asked me for=20 > > USB bus ID: device ID (bbb:ddd) whic I do not know how to find it. >=20 > Does (as root): >=20 > # usbconfig dump_device_desc >=20 > help you? >=20 > matthias HP-doctor shows: hp-doctor /usr/local/share/hplip/check.py:685: SyntaxWarning: "is not" with a literal. Did you mean "!=3D"? if 'getfacl' not in g and '' is not g and 'file' not in g: HP Linux Imaging and Printing System (ver. 3.20.6) Self Diagnse Utility and Healing Utility ver. 1.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. HP Linux Imaging and Printing System (ver. 3.20.6) Self Diagnse Utility and Healing Utility ver. 1.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. Traceback (most recent call last): File "/usr/local/share/hplip/base/password.py", line 85, in get_distro_name os_name =3D platform.dist()[0] AttributeError: module 'platform' has no attribute 'dist' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/bin/hp-doctor", line 275, in dep =3D DependenciesCheck(MODE_CHECK,INTERACTIVE_MODE,ui_toolkit) File "/usr/local/share/hplip/check.py", line 175, in __init__ self.core =3D CoreInstall(mode, ui_mode, ui_toolkit) File "/usr/local/share/hplip/installer/core_install.py", line 240, in __init__ self.passwordObj =3D password.Password(ui_mode) File "/usr/local/share/hplip/base/password.py", line 118, in __init__ self.__readAuthType() # self.__authType File "/usr/local/share/hplip/base/password.py", line 141, in __readAuthType distro_name =3D get_distro_name().lower().replace(" ","") File "/usr/local/share/hplip/base/password.py", line 87, in get_distro_name import distro ModuleNotFoundError: No module named 'distro' Thank you. --=20 "Everyone thinks of changing the world, but no one thinks of changing himself.=E2=80=9D Leo Tolstoy