hplip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hplip (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1. The release of Ubuntu you are using, via?
$ lsb_release -rd
No LSB modules are available.
Description: Ubuntu 23.04
Release: 23.04
2. The version of the package you are using, via?
$ apt-cache policy hplip
hplip:
Installed: 3.22.10+dfsg0-1
Candidate: 3.22.10+dfsg0-1
Version table:
*** 3.22.10+dfsg0-1 500
500 http://
100 /var/lib/
3. What you expected to happen?
I expected it to run.
4. What happened instead? this error
$ hp-toolbox
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.
QSocketNotifier: Can only be used with threads started with QThread
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_
NameError: name 'get_distro_
I fixed the bug like this:
sudo gvim -p /usr/share/
119 #distro_name = get_distro_
120 distro_name = get_distro_name()
I commented out 119 and inserted 120 in it's place
then it ran fine.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: hplip 3.22.10+dfsg0-1
ProcVersionSign
Uname: Linux 6.2.0-20-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Wed Apr 26 22:07:57 2023
InstallationDate: Installed on 2023-04-21 (5 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
Lpstat:
device for Brother_
device for HP_OfficeJet_8010: hp:/net/
device for HP_OfficeJet_
device for HP_OfficeJet_
device for PDF_killashandra: implicitclass:
MachineType: Gigabyte Technology Co., Ltd. X570 UD
Papersize: a4
PpdFiles:
Error: command ['fgrep', '-H', '*NickName', '/etc/cups/
grep: /etc/cups/
grep: /etc/cups/
grep: /etc/cups/
grep: /etc/cups/
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: hplip
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/07/2020
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: F20
dmi.board.
dmi.board.name: X570 UD
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: X570 MB
dmi.product.name: X570 UD
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
Note I fixed the bug like this
I fixed the bug like this:
sudo gvim -p /usr/share/ hplip/base/ password. py
119 #distro_name = get_distro_ std_name( os_name)
120 distro_name = get_distro_name()
I commented out 119 and inserted 120 in it's place