[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#955137: marked as done (hplip: Various utilities : lacks a 'distro' module)



Your message dated Wed, 01 Apr 2020 07:33:38 +0000
with message-id <E1jJXsY-000HQ3-0p@fasolo.debian.org>
and subject line Bug#955137: fixed in hplip 3.20.3+dfsg0-2
has caused the Debian Bug report #955137,
regarding hplip: Various utilities : lacks a 'distro' module
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
955137: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955137
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: hplip
Version: 3.20.3+dfsg0-1
Severity: important

Like hp-check below, various utilities, including hp-plugin crash with error
"ModuleNotFoundError: No module named 'distro'"

This prevents scanning from my MFC which needs a plugin since hp-plugin crashes.


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

HP Linux Imaging and Printing System (ver. 3.20.3)
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

/usr/bin/hp-check:685: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if 'getfacl' not in g and '' is not g and 'file' not in g:
Traceback (most recent call last):
  File "/usr/share/hplip/base/password.py", line 84, in get_distro_name
    os_name = platform.dist()[0]
AttributeError: module 'platform' has no attribute 'dist'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/hp-check", line 860, in <module>
    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 239, in __init__
    self.passwordObj = password.Password(ui_mode)
  File "/usr/share/hplip/base/password.py", line 117, in __init__
    self.__readAuthType()  # self.__authType
  File "/usr/share/hplip/base/password.py", line 139, in __readAuthType
    distro_name = get_distro_name().lower()
  File "/usr/share/hplip/base/password.py", line 86, in get_distro_name
    import distro
ModuleNotFoundError: No module named 'distro'

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages hplip depends on:
ii  adduser                3.118
ii  cups                   2.3.1-11
ii  hplip-data             3.20.3+dfsg0-1
ii  libc6                  2.30-2
ii  libcups2               2.3.1-11
ii  libdbus-1-3            1.12.16-2
ii  libhpmud0              3.20.3+dfsg0-1
ii  libpython3.8           3.8.2-1
ii  libsane                1.0.27-3.2+b1
ii  libsane-hpaio          3.20.3+dfsg0-1
ii  lsb-base               11.1.0
ii  printer-driver-hpcups  3.20.3+dfsg0-1
ii  python3                3.8.2-2
ii  python3-dbus           1.2.16-1
ii  python3-gi             3.34.0-6
ii  python3-pexpect        4.6.0-1
ii  python3-pil            6.2.1-2+b1
ii  python3-reportlab      3.5.34-1
ii  wget                   1.20.3-1+b2
ii  xz-utils               5.2.4-1+b1

Versions of packages hplip recommends:
ii  avahi-daemon                  0.7-5
ii  policykit-1                   0.105-26
ii  printer-driver-postscript-hp  3.20.3+dfsg0-1
ii  sane-utils                    1.0.27-3.2+b1

Versions of packages hplip suggests:
pn  hplip-doc              <none>
ii  hplip-gui              3.20.3+dfsg0-1
ii  python3-notify2        0.3-4
ii  system-config-printer  1.5.12-1

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: hplip
Source-Version: 3.20.3+dfsg0-2
Done: Didier Raboud <odyx@debian.org>

We believe that the bug you reported is fixed in the latest version of
hplip, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 955137@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated hplip package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 01 Apr 2020 08:51:28 +0200
Source: hplip
Architecture: source
Version: 3.20.3+dfsg0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Closes: 954732 955137 955168
Changes:
 hplip (3.20.3+dfsg0-2) unstable; urgency=medium
 .
   * Patch upstream for python3.8 support:
     - Fix SyntaxWarning: "is"/"is not" with a literal (Closes: #955168,
       #954732, LP: #1870019)
     - Assume the python3-distro package is available, depend on it
       (Closes: #955137)
Checksums-Sha1:
 82631c5c8fefdd04649e4cb80a3b08ee9efa4db7 3179 hplip_3.20.3+dfsg0-2.dsc
 42529e45aaa30cd49966482e973bf47392c5d150 135760 hplip_3.20.3+dfsg0-2.debian.tar.xz
Checksums-Sha256:
 e6f1c3aa5c55003d196b43e1000e3e58378c05bc243ac62660194bde21e36e20 3179 hplip_3.20.3+dfsg0-2.dsc
 448c526791976c8e3cb121a4ffa4400d083ea94f18424840f266350db8c137a4 135760 hplip_3.20.3+dfsg0-2.debian.tar.xz
Files:
 0325c6dde8ced2bdb7c74e4ffda257a1 3179 utils optional hplip_3.20.3+dfsg0-2.dsc
 1c041d3625921e974d9947875a035a3b 135760 utils optional hplip_3.20.3+dfsg0-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJ3k7rA0YCplkx4gZqcb6xg1jAWkFAl6EP58ACgkQqcb6xg1j
AWm+qA/+PwPH5pv3rAnglHeDX8uE9uQarjLnr25DJaOFKw91xC6flAvIeEA7kQA9
6i8ZzgJ4M4ko2u/FDIiettJ4v6erO1BmXHCsMUCDHWcnyfIWErj6vGa69tklcFMA
8xoySqwz0E4e1hXfQJchShcbUJBMFcRjj7Y0msDMix71puA1R06Lvxb7J7HydaKJ
6zQ2ovUnpB36idju63Z6B61tm10KI0bk3ITGCv3luIX8BgbO40exq2+aZ4wzypF/
AGKx5NYCPJyDb+bmx8FrgDTi/L3qgOt0PLCx9akVFJc+BRnpx/BA4DsPInP/OcK1
mGWR5gYrndkjeV+tgSn4l9aHEcfTnJZw5CdEilYdCv5NsB0cT0AZdJjBDfD7++Xg
iIhgOeyaSnHubmQDP8UTGyC2aQSSv1PF/K71FpURuhQ+Egj+adUkeAe5A/G5Pg6J
A450No0cBBPextgs3d2OC+JKADZUlreptNy6C7t9gzRPkf0mZwZgeGPdtVuUHRwQ
5TP5ISkg1D1GgmIKWBy6QZ51Cliayhs7IoYLRouorA2Jm0c14yj0ApHeVpv1u4Vn
wwBXyakLWUdyCve8zYF1xkHuxFHIz5UXpSXg7Mzhrx8dDKKvnq7QnueZ1o8ELIvR
OChHl1cpbsH3TZooRSNGhgcMSXUCHQAIe6+mbydGZdUXhnn5us0=
=l9Ju
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: