Bug#940317: hplip: No more printing
Package: hplip Version: 3.19.8+dfsg0-1 Severity: important Dear Maintainer, I can’t print anymore, neither with a Photosmart 4780 nor with an Envy 5534 (. Both used to work. In fact, the jobs seem frozen in the queue. I send the jobs and immediately, I’m informed that the job has been completed. It has not been printed. I checked hp-check and it crashes (see log). Maybe Python 2 to 3 went wrong. Yet, before crashing, hp-check shows two errors: error: gsGhostScript - PostScript and PDF language interpreter and previewer REQUIRED7.059.28MISSING'gs needs to be installed' But gs is installed. error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED5.0.9 - MISSING'libnetsnmp- devel needs to be installed' This library seems no more to exist: I can’t find it with apt-cache, apt-file, aptitude nor dpkg. n. -- Package-specific info: Saving output in log file: /home/nicolas/hp-check.log HP Linux Imaging and Printing System (ver. 3.19.8) 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 Gtk-Message: 16:08:22.387: Failed to load module "atk-bridge" warning: debian-bullseye/sid version is not supported. Using debian-10.0 versions dependencies to verify and install... --- | SYSTEM INFO | --- Kernel: 4.17.0-3-686-pae #1 SMP Debian 4.17.17-1 (2018-08-18) GNU/Linux Host: nicolas.home Proc: 4.17.0-3-686-pae #1 SMP Debian 4.17.17-1 (2018-08-18) GNU/Linux Distribution: debian bullseye/sid Bitness: 32 bit --- | HPLIP CONFIGURATION | --- HPLIP-Version: HPLIP 3.19.8 HPLIP-Home: /usr/share/hplip warning: HPLIP-Installation: Auto installation is not supported for debian distro bullseye/sid version Current contents of '/etc/hp/hplip.conf' file: # hplip.conf. Generated from hplip.conf.in by configure. [hplip] version=3.19.8 [dirs] home=/usr/share/hplip run=/var/run ppd=/usr/share/ppd/hplip/HP ppdbase=/usr/share/ppd/hplip doc=/usr/share/doc/hplip html=/usr/share/doc/hplip-doc icon=no cupsbackend=/usr/lib/cups/backend cupsfilter=/usr/lib/cups/filter drv=/usr/share/cups/drv bin=/usr/bin apparmor=/etc/apparmor.d # Following values are determined at configure time and cannot be changed. [configure] network-build=yes libusb01-build=no pp-build=no gui-build=yes scanner-build=yes fax-build=yes dbus-build=yes cups11-build=no doc-build=yes shadow-build=no hpijs-install=yes foomatic-drv-install=yes foomatic-ppd-install=no foomatic-rip-hplip-install=no hpcups-install=yes cups-drv-install=yes cups-ppd-install=no internal-tag=3.19.8 restricted-build=no ui-toolkit=qt5 qt3=no qt4=no qt5=yes policy-kit=yes lite-build=no udev_sysfs_rules=no hpcups-only-build=no hpijs-only-build=no apparmor_build=no class-driver=no Current contents of '/var/lib/hp/hplip.state' file: [plugin] installed = 1 eula = 1 version = 3.14.6 Current contents of '~/.hplip/hplip.conf' file: [commands] scan = /usr/bin/simple-scan %SANE_URI% [fax] email_address = voice_phone = [last_used] device_uri = "hp:/net/ENVY_5530_series?hostname=HPD0BF9CAFD037.local" printer_name = HP-ENVY-5530-series work
Bug#940317: hplip: No more printing
tags 940317 moreinfo thanks On Sun 15 Sep 2019 at 16:20:03 +0200, Nicolas Patrois wrote: > Package: hplip > Version: 3.19.8+dfsg0-1 > Severity: important > > Dear Maintainer, > > I can’t print anymore, neither with a Photosmart 4780 nor with an Envy 5534 (. > Both used to work. > In fact, the jobs seem frozen in the queue. > > I send the jobs and immediately, I’m informed that the job has been completed. > It has not been printed. Thank you for your report, Nicolas. PPD files for your two printers are in /etc/cups/ppd. For both devices, would you please execute the following command (as root) and post the two logs. cupsfilter -p -m printer/foo -e /etc/nsswitch.conf > out.dat 2>log Regards, Brian.
Bug#940317: hplip: No more printing
Le dimanche, 15 septembre 2019, 16.20:03 h CEST Nicolas Patrois a écrit : > Package: hplip > Version: 3.19.8+dfsg0-1 > Severity: important > > Dear Maintainer, > > I can’t print anymore, neither with a Photosmart 4780 nor with an Envy 5534 > (. Both used to work. > In fact, the jobs seem frozen in the queue. > > I send the jobs and immediately, I’m informed that the job has been > completed. It has not been printed. > I checked hp-check and it crashes (see log). Maybe Python 2 to 3 went wrong. > Yet, before crashing, hp-check shows two errors: > > error: gsGhostScript - PostScript and PDF language interpreter > and previewer REQUIRED7.059.28MISSING > 'gs needs to be installed' > > But gs is installed. I have fixed the detection of the Ghostscript version (as well as other minor bugs) in the 3.19.8+dfsg0-2 version, uploaded just now. Could you test this version and report back? Cheers, OdyX signature.asc Description: This is a digitally signed message part.
Bug#940317: Re : Bug#940317: hplip: No more printing
tags 940317 - moreinfo reassign 940317 printer-driver-hpcups merge 940317 932246 thanks On Mon 16 Sep 2019 at 21:05:45 +0200, nicolas.patr...@gmail.com wrote: > In fact I have four ppd files (three for the 5534, one for the 4780). > HP_ENVY_5530_series_AFD037_.ppd in 5830_1_* files. > HP_ENVY_5530_series_AFD037_.ppd.O in 5830_2_* files. > HP-ENVY-5530-series.ppd in 5830_3_* files. > HP-Photosmart-C4700-series.ppd in 4700_* files. Thanks for the logs. Two of them show *** stack smashing detected ***: terminated ERROR: hpcups (PID 25874) crashed on signal 6 The message appears to be from gcc (it is in its source code), but I haven't any idea where to go with this. You should be able to get the 5534 printing using driverless printing. See the wiki. Cheers, Brian.
Bug#940317: Re : Bug#940317: hplip: No more printing
Le 19/09/2019 09:18:20, Didier 'OdyX' Raboud a écrit : > I have fixed the detection of the Ghostscript version (as well as > other minor bugs) in the 3.19.8+dfsg0-2 version, uploaded just now. > Could you test this version and report back? Nothing changes, the jobs enter the queue then immediately, they are said done (but not actually printed). They are stuck in the queue but can’t be paused, just relaunched (that does not print either). I removed the printers in the hplip toolbox then reinstalled them. The 4700 refuses to install in USB (it’s connected this way) bacause hplip does not find a ppd. It’s installed via network (a ppd is found) but there is no communication with it (red cross in hplip, device communication error). The 5500 is connected via the network, a ppd is found but no printing is possible (the jobs are stuck). I can scan with the 5500 with gnome-scan for example. nicolas patrois : pts noir asocial -- RÉALISME M : Qu'est-ce qu'il nous faudrait pour qu'on nous considère comme des humains ? Un cerveau plus gros ? P : Non... Une carte bleue suffirait...
Bug#940317: Re : Bug#940317: hplip: No more printing
Dear Maintainer, I was able to reproduce this issue, kind of. I guess the debian release name stored in /etc/os-release is too long. Therefore in /usr/lib/cups/filter/hpcups in function IsChromeOs the local array os_name with length 30 is overwritten by 1 byte. At least that issue I received when executing the cupsfilter command from the previous mails, with the ppd created when setting up a printer selecting the "HP Photosmart c4700 Series, hpcups" driver. (Details in attached file.) The easiest fix might be to make this array in IsChromeOs e.g. 100 bytes long? Kind regards, Bernhard (rr) reverse-cont Continuing. Hardware watchpoint 1: *0xbfb54eac Old value = -1349680094 New value = -1349680128 IsChromeOs () at common/utils.c:39 39os_name[i]=*ptr; 1: x/i $pc => 0x433720 : mov%dl,0x0(%ebp,%ecx,1) (rr) bt #0 IsChromeOs () at common/utils.c:39 #1 0x0041ba91 in HPCupsFilter::startPage (this=, cups_header=) at prnt/hpcups/HPCupsFilter.cpp:461 #2 0x0041c98d in HPCupsFilter::processRasterData (this=0x481ce0 , cups_raster=) at prnt/hpcups/HPCupsFilter.cpp:655 #3 0x0041cfc1 in HPCupsFilter::StartPrintJob (this=, argc=, argv=) at prnt/hpcups/HPCupsFilter.cpp:584 #4 0x0041a0ce in main (argc=6, argv=0xbfb55e34) at prnt/hpcups/HPCupsFilter.cpp:56 (rr) print os_name $2 = "\"Debian GNU/Linux bullseye/sid" (rr) print i $3 = 30 (rr) print *ptr $4 = 34 '"' # Unstable i386 qemu VM 2020-08-14 apt update apt dist-uprade apt install systemd-coredump gdb git fakeroot mc cups printer-driver-hpcups hpijs-ppds printer-driver-hpijs hplip cups-filters foomatic-db cups-dbgsym cups-filters-dbgsym printer-driver-hpcups-dbgsym apt build-dep rr echo 1 > /proc/sys/kernel/perf_event_paranoid root@debian:~# dpkg -l | grep -i -E "ghostscript|cups|foomatic|hpijs|hplip|printer" ii cups 2.3.3-2i386 Common UNIX Printing System(tm) - PPD/driver support, web interface ii cups-browsed 1.27.5-2 i386 OpenPrinting CUPS Filters - cups-browsed ii cups-client 2.3.3-2i386 Common UNIX Printing System(tm) - client programs (SysV) ii cups-common 2.3.3-2all Common UNIX Printing System(tm) - common files ii cups-core-drivers2.3.3-2i386 Common UNIX Printing System(tm) - driverless printing ii cups-daemon 2.3.3-2i386 Common UNIX Printing System(tm) - daemon ii cups-dbgsym 2.3.3-2i386 debug symbols for cups ii cups-filters 1.27.5-2 i386 OpenPrinting CUPS Filters - Main Package ii cups-filters-core-drivers1.27.5-2 i386 OpenPrinting CUPS Filters - Driverless printing ii cups-ipp-utils 2.3.3-2i386 Common UNIX Printing System(tm) - IPP developer/admin utilities ii cups-ppdc2.3.3-2i386 Common UNIX Printing System(tm) - PPD manipulation utilities ii cups-server-common 2.3.3-2all Common UNIX Printing System(tm) - server common files ii foomatic-db 20200527-1 all OpenPrinting printer support - database ii foomatic-db-engine 4.0.13-5 i386 OpenPrinting printer support - programs rc foomatic-filters 4.0.17-11 i386 OpenPrinting printer support - filters ii ghostscript 9.52~dfsg-1i386 interpreter for the PostScript language and for PDF ii hplip-data 3.20.5+dfsg0-3 all HP Linux Printing and Imaging - data files ii ipp-usb 0.9.10-2 i386 Daemon for IPP over USB printer support ii libcups2:i3862.3.3-2i386 Common UNIX Printing System(tm) - Core library ii libcupsfilters1:i386 1.27.5-2 i386 OpenPrinting CUPS Filters - Shared library ii libcupsimage2:i386 2.3.3-2i386 Common UNIX Printing System(tm) - Raster image library ii libfontembed1:i386 1.27.5-2 i386 OpenPrinting CUPS Filters - Font Embed Shared library ii libgutenprint-common 5.3.3-4all support files for the Gutenprint printer driver library ii libgutenprint9 5.3.3-4i386 runtime for the
Bug#940317: Re : Bug#940317: hplip: No more printing
Dear Maintainer, after additionally re-reading the merged bugs I think I realized that function IsChromeOs searches the line "NAME=...", but finds the line "PRETTY_NAME=...", which overflows the variable os_name. Kind regards, Bernhard