Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jun 2021 06:56:04 -0400
From:      LuMiWa <lumiwa@dismail.de>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: hplip on FreeBSD 13-RELEASE
Message-ID:  <20210606065604.5b1ca7c7@dismail.de>
In-Reply-To: <YLynrNnHGnYv26wz@c720-r368166>
References:  <20210606061727.37501da7@dismail.de> <YLynrNnHGnYv26wz@c720-r368166>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 6 Jun 2021 12:47:08 +0200
Matthias Apitz <guru@unixarea.de> 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 <module>
    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210606065604.5b1ca7c7>