Bug#1031233: hplip: hp-plugin unable to download plugin

2023-02-13 Thread Brian Potkin
tags 1031233 upstream
merge 1031233 1029459
severity 103123 important
thanks



On Mon 13 Feb 2023 at 09:20:49 -0800, Curtis Dean Smith wrote:

> Package: hplip
> Version: 3.22.10+dfsg0-1
> Severity: grave
> Justification: renders package unusable
> X-Debbugs-Cc: smit...@hush.com
> 
> Dear Maintainer,
> 
>* What led up to the situation?
> 
> The cups hplip suddenly stopped working and initiated the plugin
>download, which failed.
>  
> 
> -- Package-specific info:
> Saving output in log file: /home/cds/hp-check.log
> 
> HP Linux Imaging and Printing System (ver. 3.22.10)
> Dependency/Version Check Utility ver. 15.1
> 
> 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.
> 
> Note: hp-check can be run in three modes:
> 1. Compile-time check mode (-c or --compile): Use this mode before compiling 
> the
> HPLIP supplied tarball (.tar.gz or .run) to determine if the proper 
> dependencies
> are installed to successfully compile HPLIP.  
>   
> 2. Run-time check mode (-r or --run): Use this mode to determine if a distro  
>   
> supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball 
>   
> has the proper dependencies installed to successfully run.
>   
> 3. Both compile- and run-time check mode (-b or --both) (Default): This mode  
>   
> will check both of the above cases (both compile- and run-time dependencies). 
>   
> 
> Check types:  
>   
> a. EXTERNALDEP - External Dependencies
>   
> b. GENERALDEP - General Dependencies (required both at compile and run time)  
>   
> c. COMPILEDEP - Compile time Dependencies 
>   
> d. [All are run-time checks]  
>   
> PYEXT SCANCONF QUEUES PERMISSION  
>   
> 
> Status Types:
> OK
> MISSING   - Missing Dependency or Permission or Plug-in
> INCOMPAT  - Incompatible dependency-version or Plugin-version
> 
> Traceback (most recent call last):
>   File "/usr/bin/hp-check", line 860, in 
> dep =  DependenciesCheck(MODE_CHECK,INTERACTIVE_MODE,ui_toolkit)
>^
>   File "/usr/bin/hp-check", line 175, in __init__
> self.core = CoreInstall(mode, ui_mode, ui_toolkit)
> ^^
>   File "/usr/share/hplip/installer/core_install.py", line 240, in __init__
> self.passwordObj = password.Password(ui_mode)
>^^
>   File "/usr/share/hplip/base/password.py", line 94, in __init__
> self.__readAuthType()  # self.__authType
> ^
>   File "/usr/share/hplip/base/password.py", line 119, in __readAuthType
> distro_name = get_distro_std_name(os_name)
>   ^^^
> NameError: name 'get_distro_std_name' is not defined. Did you mean: 
> 'get_distro_name'?

Thank you for your report, Curtis. This looks like #1029459:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029459

A nice confirmation that something is amiss.

Regards,

Brian.



Bug#1031233: hplip: hp-plugin unable to download plugin

2023-02-13 Thread Curtis Dean Smith
Package: hplip
Version: 3.22.10+dfsg0-1
Severity: grave
Justification: renders package unusable
X-Debbugs-Cc: smit...@hush.com

Dear Maintainer,

   * What led up to the situation?

The cups hplip suddenly stopped working and initiated the plugin
   download, which failed.
 

-- Package-specific info:
Saving output in log file: /home/cds/hp-check.log

HP Linux Imaging and Printing System (ver. 3.22.10)
Dependency/Version Check Utility ver. 15.1

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.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the
HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies
are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro
supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball   
has the proper dependencies installed to successfully run.  
3. Both compile- and run-time check mode (-b or --both) (Default): This mode
will check both of the above cases (both compile- and run-time dependencies).   

Check types:
a. EXTERNALDEP - External Dependencies  
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies   
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
OK
MISSING   - Missing Dependency or Permission or Plug-in
INCOMPAT  - Incompatible dependency-version or Plugin-version

Traceback (most recent call last):
  File "/usr/bin/hp-check", line 860, in 
dep =  DependenciesCheck(MODE_CHECK,INTERACTIVE_MODE,ui_toolkit)
   ^
  File "/usr/bin/hp-check", line 175, in __init__
self.core = CoreInstall(mode, ui_mode, ui_toolkit)
^^
  File "/usr/share/hplip/installer/core_install.py", line 240, in __init__
self.passwordObj = password.Password(ui_mode)
   ^^
  File "/usr/share/hplip/base/password.py", line 94, in __init__
self.__readAuthType()  # self.__authType
^
  File "/usr/share/hplip/base/password.py", line 119, in __readAuthType
distro_name = get_distro_std_name(os_name)
  ^^^
NameError: name 'get_distro_std_name' is not defined. Did you mean: 
'get_distro_name'?

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hplip depends on:
ii  adduser3.131
ii  cups   2.4.2-1+b2
ii  hplip-data 3.22.10+dfsg0-1
ii  libc6  2.36-8
ii  libcups2   2.4.2-1+b2
ii  libdbus-1-31.14.6-1
ii  libhpmud0  3.22.10+dfsg0-1
ii  libpython3.11  3.11.1-2
ii  libsane-hpaio  3.22.10+dfsg0-1
ii  libsane1   1.1.1-6+b2
ii  lsb-base   11.6
ii  printer-driver-hpcups  3.22.10+dfsg0-1
ii  python33.11.1-3
ii  python3-dbus   1.3.2-4+b1
ii  python3-gi 3.42.2-3+b1
ii  python3-pexpect4.8.0-4
ii  python3-pil9.4.0-1.1+b1
ii  python3-reportlab  3.6.12-1
ii  sysvinit-utils [lsb-base]  3.06-2
ii  wget   1.21.3-1+b2
ii  xz-utils   5.4.1-0.1

Versions of packages hplip recommends:
ii  avahi-daemon  0.8-8
ii  policykit-1   122-3
ii  printer-driver-postscript-hp  3.22.10+dfsg0-1
ii  sane-utils1.1.1-6+b2

Versions of packages hplip suggests:
ii  hplip-doc  3.22.10+dfsg0-1
ii  hplip-gui  3.22.10+dfsg0-1
ii  python3-notify20.3-5
pn  system-config-printer  

-- no debconf information