hplip on FreeBSD 13-RELEASE

LuMiWa lumiwa at dismail.de
Sun Jun 6 10:56:10 UTC 2021


On Sun, 6 Jun 2021 12:47:08 +0200
Matthias Apitz <guru at unixarea.de> wrote:

> El día domingo, junio 06, 2021 a las 06:17:27a. m. -0400, LuMiWa via
> freebsd-questions escribió:
> 
> > Hi!
> > 
> > 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 
> > USB bus ID: device ID (bbb:ddd) whic I do not know how to find it.
> 
> Does (as root):
> 
> # usbconfig dump_device_desc
> 
> help you?
> 
> 	matthias

HP-doctor shows:

 hp-doctor
/usr/local/share/hplip/check.py:685: SyntaxWarning: "is not" with a
 literal. Did you mean "!="? 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 = 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 =  DependenciesCheck(MODE_CHECK,INTERACTIVE_MODE,ui_toolkit)
  File "/usr/local/share/hplip/check.py", line 175, in __init__
    self.core = CoreInstall(mode, ui_mode, ui_toolkit)
  File "/usr/local/share/hplip/installer/core_install.py", line 240, in
__init__ self.passwordObj = 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 = 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.

-- 
"Everyone thinks of changing the world, but no one thinks of changing
himself.”

Leo Tolstoy


More information about the freebsd-questions mailing list