[Desktop-packages] [Bug 2012178] Re: toolbox.py crashed with NameError in __readAuthType(): name 'get_distro_std_name' is not defined

2023-06-16 Thread Steve Langasek
Hello Andrew, or anyone else affected,

Accepted hplip into lunar-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/hplip/3.22.10+dfsg0-1ubuntu1 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
lunar to verification-done-lunar. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-lunar. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: hplip (Ubuntu Lunar)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-lunar

-- 
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:
  Fix Committed

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:6/, 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=
  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, 

[Desktop-packages] [Bug 2012178] Re: toolbox.py crashed with NameError in __readAuthType(): name 'get_distro_std_name' is not defined

2023-06-14 Thread Till Kamppeter
** 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:6/, 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=
+  LANG=en_US.UTF-8
+  PATH=(custom, no user)
+  SHELL=/bin/bash
+  XDG_RUNTIME_DIR=
  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, 

[Desktop-packages] [Bug 2012178] Re: toolbox.py crashed with NameError in __readAuthType(): name 'get_distro_std_name' is not defined

2023-06-14 Thread Till Kamppeter
** Changed in: hplip (Ubuntu Lunar)
   Status: Triaged => In Progress

-- 
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:
  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=
  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


[Desktop-packages] [Bug 2012178] Re: toolbox.py crashed with NameError in __readAuthType(): name 'get_distro_std_name' is not defined

2023-06-14 Thread Till Kamppeter
3.22.10+dfsg0-2 got already synced from Debian into Mantic, so it is
fixed in Mantic.

** Changed in: hplip (Ubuntu)
   Status: Fix Committed => Fix Released

-- 
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:
  Triaged

Bug 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=
  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


[Desktop-packages] [Bug 2012178] Re: toolbox.py crashed with NameError in __readAuthType(): name 'get_distro_std_name' is not defined

2023-05-20 Thread Joseph Yasi
Can this be backported to Lunar. I tested hplip 3.22.10+dfsg0-2 on
Lunar, and it fixes the issue.

-- 
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 Committed
Status in hplip source package in Lunar:
  Triaged

Bug 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=
  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


[Desktop-packages] [Bug 2012178] Re: toolbox.py crashed with NameError in __readAuthType(): name 'get_distro_std_name' is not defined

2023-05-02 Thread Sebastien Bacher
** Information type changed from Private to Public

** Changed in: hplip (Ubuntu)
   Importance: Medium => High

** Also affects: hplip (Ubuntu Lunar)
   Importance: Undecided
   Status: New

** Changed in: hplip (Ubuntu Lunar)
 Assignee: (unassigned) => Till Kamppeter (till-kamppeter)

** Changed in: hplip (Ubuntu Lunar)
   Importance: Undecided => High

** Changed in: hplip (Ubuntu)
   Status: Confirmed => Fix Committed

** Changed in: hplip (Ubuntu Lunar)
   Status: New => Triaged

-- 
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 Committed
Status in hplip source package in Lunar:
  Triaged

Bug 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=
  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