** Description changed: + [ Impact ] + + HP's GUI tool hp-toolbox does not start at all, independent which + printer(s) is used. + + With this users lose GUI-based maintenance functionality like ink level + check, print head cleaning, ... + + As a workaround on all network printers (independent whether they are + driverless IPP or not) the printer's web administration interface can be + used, going to http://HOSTNAME/ with a browser, HOSTNAME being host name + or IP of the printer. On USB only driverless printers allow access to + the web administration interface, via http://localhost:60000/, but most + modern printers are driverless. + + hp-toolbox only supports HP printers, no other manufacturers. + + Also, hp-toolbox, being part of hplip-gui is only used by very few + users, as it is not installed by default. + + Printing and scanning is not affected. Your printer gets set up fully + automatically or you can set up as any non-HP printer with GNOME Control + Center, system-config-printer, or via HTTP://localhost:631/. + + Scanners in HP's devices will get automatically discovered by scanning + frontends, like simple-scan. + + [ Test plan ] + + Start the toolbox with + + hp-toolbox + + Without the fix you will get the crash mentioned in the title of this + bug report. With the SRU applied, the toolbox starts normally and can be + used. + + This test can be done independently of whether one has an HP printer or + not. + + [ Where problems could occur ] + + The changes are very small and easy to understand, so the risk of a + regression is low, and as this is code for HPLIP's GUI there cannot + happen more than now, that the GUI tools crash. The patch only applies + to GUI code, printing and scanning cannot get affected by it. + + [ Original description ] + Error occurred after installing hplip-gui ProblemType: Crash DistroRelease: Ubuntu 23.04 Package: hplip-data 3.22.10+dfsg0-1 ProcVersionSignature: Ubuntu 6.1.0-16.16-generic 6.1.6 Uname: Linux 6.1.0-16-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.26.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: KDE Date: Sun Mar 19 05:07:34 2023 ExecutablePath: /usr/share/hplip/toolbox.py InstallationDate: Installed on 2023-03-18 (0 days ago) InstallationMedia: Kubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20230318) InterpreterPath: /usr/bin/python3.11 JournalErrors: -- No entries -- Lpstat: device for HP_Color_LaserJet_Pro_MFP_M177fw_0342B1: implicitclass://HP_Color_LaserJet_Pro_MFP_M177fw_0342B1/ MachineType: HP HP ZBook 17 G4 PackageArchitecture: all Papersize: letter PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/HP_Color_LaserJet_Pro_MFP_M177fw_0342B1.ppd'] failed with exit code 2: grep: /etc/cups/ppd/HP_Color_LaserJet_Pro_MFP_M177fw_0342B1.ppd: Permission denied ProcCmdline: /usr/bin/python3 /usr/bin/hp-toolbox ProcEnviron: - LANG=en_US.UTF-8 - PATH=(custom, no user) - SHELL=/bin/bash - XDG_RUNTIME_DIR=<set> + LANG=en_US.UTF-8 + PATH=(custom, no user) + SHELL=/bin/bash + XDG_RUNTIME_DIR=<set> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.1.0-16-generic root=UUID=20a0c66a-2dc4-41ec-a5f0-7eb86e995862 ro quiet splash vt.handoff=7 Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1 PythonArgs: ['/usr/bin/hp-toolbox'] PythonDetails: N/A SourcePackage: hplip Title: toolbox.py crashed with NameError in __readAuthType(): name 'get_distro_std_name' is not defined UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo users dmi.bios.date: 04/08/2022 dmi.bios.release: 1.41 dmi.bios.vendor: HP dmi.bios.version: P70 Ver. 01.41 dmi.board.name: 8270 dmi.board.vendor: HP dmi.board.version: KBC Version 46.80 dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.ec.firmware.release: 70.128 dmi.modalias: dmi:bvnHP:bvrP70Ver.01.41:bd04/08/2022:br1.41:efr70.128:svnHP:pnHPZBook17G4:pvr:rvnHP:rn8270:rvrKBCVersion46.80:cvnHP:ct10:cvr:skuY3J83AV: dmi.product.family: 103C_5336AN dmi.product.name: HP ZBook 17 G4 dmi.product.sku: Y3J83AV dmi.sys.vendor: HP
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to hplip in Ubuntu. https://bugs.launchpad.net/bugs/2012178 Title: toolbox.py crashed with NameError in __readAuthType(): name 'get_distro_std_name' is not defined Status in hplip package in Ubuntu: Fix Released Status in hplip source package in Lunar: In Progress Bug description: [ Impact ] HP's GUI tool hp-toolbox does not start at all, independent which printer(s) is used. With this users lose GUI-based maintenance functionality like ink level check, print head cleaning, ... As a workaround on all network printers (independent whether they are driverless IPP or not) the printer's web administration interface can be used, going to http://HOSTNAME/ with a browser, HOSTNAME being host name or IP of the printer. On USB only driverless printers allow access to the web administration interface, via http://localhost:60000/, but most modern printers are driverless. hp-toolbox only supports HP printers, no other manufacturers. Also, hp-toolbox, being part of hplip-gui is only used by very few users, as it is not installed by default. Printing and scanning is not affected. Your printer gets set up fully automatically or you can set up as any non-HP printer with GNOME Control Center, system-config-printer, or via HTTP://localhost:631/. Scanners in HP's devices will get automatically discovered by scanning frontends, like simple-scan. [ Test plan ] Start the toolbox with hp-toolbox Without the fix you will get the crash mentioned in the title of this bug report. With the SRU applied, the toolbox starts normally and can be used. This test can be done independently of whether one has an HP printer or not. [ Where problems could occur ] The changes are very small and easy to understand, so the risk of a regression is low, and as this is code for HPLIP's GUI there cannot happen more than now, that the GUI tools crash. The patch only applies to GUI code, printing and scanning cannot get affected by it. [ Original description ] Error occurred after installing hplip-gui ProblemType: Crash DistroRelease: Ubuntu 23.04 Package: hplip-data 3.22.10+dfsg0-1 ProcVersionSignature: Ubuntu 6.1.0-16.16-generic 6.1.6 Uname: Linux 6.1.0-16-generic x86_64 NonfreeKernelModules: nvidia_modeset nvidia ApportVersion: 2.26.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: KDE Date: Sun Mar 19 05:07:34 2023 ExecutablePath: /usr/share/hplip/toolbox.py InstallationDate: Installed on 2023-03-18 (0 days ago) InstallationMedia: Kubuntu 23.04 "Lunar Lobster" - Alpha amd64 (20230318) InterpreterPath: /usr/bin/python3.11 JournalErrors: -- No entries -- Lpstat: device for HP_Color_LaserJet_Pro_MFP_M177fw_0342B1: implicitclass://HP_Color_LaserJet_Pro_MFP_M177fw_0342B1/ MachineType: HP HP ZBook 17 G4 PackageArchitecture: all Papersize: letter PpdFiles: Error: command ['fgrep', '-H', '*NickName', '/etc/cups/ppd/HP_Color_LaserJet_Pro_MFP_M177fw_0342B1.ppd'] failed with exit code 2: grep: /etc/cups/ppd/HP_Color_LaserJet_Pro_MFP_M177fw_0342B1.ppd: Permission denied ProcCmdline: /usr/bin/python3 /usr/bin/hp-toolbox ProcEnviron: LANG=en_US.UTF-8 PATH=(custom, no user) SHELL=/bin/bash XDG_RUNTIME_DIR=<set> ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-6.1.0-16-generic root=UUID=20a0c66a-2dc4-41ec-a5f0-7eb86e995862 ro quiet splash vt.handoff=7 Python3Details: /usr/bin/python3.11, Python 3.11.2, python3-minimal, 3.11.2-1 PythonArgs: ['/usr/bin/hp-toolbox'] PythonDetails: N/A SourcePackage: hplip Title: toolbox.py crashed with NameError in __readAuthType(): name 'get_distro_std_name' is not defined UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo users dmi.bios.date: 04/08/2022 dmi.bios.release: 1.41 dmi.bios.vendor: HP dmi.bios.version: P70 Ver. 01.41 dmi.board.name: 8270 dmi.board.vendor: HP dmi.board.version: KBC Version 46.80 dmi.chassis.type: 10 dmi.chassis.vendor: HP dmi.ec.firmware.release: 70.128 dmi.modalias: dmi:bvnHP:bvrP70Ver.01.41:bd04/08/2022:br1.41:efr70.128:svnHP:pnHPZBook17G4:pvr:rvnHP:rn8270:rvrKBCVersion46.80:cvnHP:ct10:cvr:skuY3J83AV: dmi.product.family: 103C_5336AN dmi.product.name: HP ZBook 17 G4 dmi.product.sku: Y3J83AV dmi.sys.vendor: HP To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/2012178/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp