hp-toolbox fails on load due to call to undefined "get_distro_std_name' function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hplip (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When starting hp-toolbox from the GUI, nothing happens. From the CLI I get the information :
HP Linux Imaging and Printing System (ver. 3.22.10)
HP Device Manager ver. 15.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/bin/
toolbox = ui.DevMgr5(
File "/usr/share/
core = CoreInstall(
File "/usr/share/
self.
File "/usr/share/
self.
^^^
File "/usr/share/
distro_name = get_distro_
Changing the instances of get_distro_
When installing the plugin for the scanner, the same issue crops up again, here at line 322. An identical substitution allows the plugin installer to complete successfully.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: hplip-data 3.22.10+dfsg0-1 [modified: usr/share/
ProcVersionSign
Uname: Linux 5.19.0-26-generic x86_64
NonfreeKernelMo
ApportVersion: 2.24.0-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CupsErrorLog:
W [07/Feb/
W [07/Feb/
W [07/Feb/
E [07/Feb/
CurrentDesktop: ubuntu:GNOME
Date: Tue Feb 7 12:10:42 2023
InstallationDate: Installed on 2020-06-20 (961 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Alpha amd64 (20200609)
Lpstat:
device for HP_Color_
device for HP_ColorLaserJe
device for HP_ColorLaserJe
MachineType: System manufacturer System Product Name
PackageArchitec
Papersize: a4
PpdFiles:
Error: command ['fgrep', '-H', '*NickName', '/etc/cups/
grep: /etc/cups/
grep: /etc/cups/
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: hplip
UpgradeStatus: Upgraded to lunar on 2022-12-21 (47 days ago)
dmi.bios.date: 10/27/2022
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4408
dmi.board.
dmi.board.name: ROG STRIX X570-F GAMING
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: SKU
dmi.product.
dmi.sys.vendor: System manufacturer
Status changed to 'Confirmed' because the bug affects multiple users.