Bug#879950: hplip: lf317.1+rpak.1rPlugin mismatch after upgrade to 3.17.10+repack0-1

2017-10-27 Thread Martin Furter

Hello Brian

On 10/27/2017 10:18 PM, Brian Potkin wrote:

Hello Martin. Thank you for your report.


On Fri 27 Oct 2017 at 19:52:21 +0530, Martin Furter wrote:

[...]

You have to download and install the plugin. It is not in the hplip
package. Did you?

Are you talking about the plugin for the printer model?
A long time ago when I installed hplip for the first time it downloaded 
and installed something.
I forgot how I did that but the printer was working fine until I did the 
dist-upgrade.

I'm having a hard time seeing where the bug in hplip is.
My guess is that the update creates that /var/lib/hp/hplip.state file 
before installing the software and because of that it contains the old 
version number.


I only changed the version number in this file and everything started 
working again.


Best regards,
Martin



Bug#879950: Acknowledgement (hplip: lf317.1+rpak.1rPlugin mismatch after upgrade to 3.17.10+repack0-1)

2017-10-27 Thread Martin Furter
I read the output of hp-check again and saw that it mentioned the file 
"/var/lib/hp/hplip.state" containing:

version = 3.17.6

The release notes of hplip 1.17.10 mention that this state file is new. 
So I thought if it is created by the new package then the old version 
does not make sense in that file. Then I edited the file and changed the 
version to 1.17.10 and now printing and scanning works fine.


- Martin



Bug#879950: hplip: lf317.1+rpak.1rPlugin mismatch after upgrade to 3.17.10+repack0-1

2017-10-27 Thread Martin Furter
Package: hplip
Version: 3.17.10+repack0-1
Severity: normal

Dear Maintainer,

I did a dist-upgrade this week and now printing and scanning is not
working anymore. The printer is Color Laser Jet MFP M176n.

I found this in the logfile:
Oct 27 19:09:39 worf hpcups[23191]: prnt/hpcups/Hbpl1.cpp 52: Hbpl1 constructor 
: m_szLanguage = HBPL1
Oct 27 19:09:39 worf hpcups[23191]: common/utils.c 130: 
validate_plugin_version() Plugin version[3.17.6] mismatch with HPLIP 
version[3.17.10]
Oct 27 19:09:39 worf hpcups[23191]: common/utils.c 157: Plugin version is not 
matching
Oct 27 19:09:39 worf hpcups[23191]: prnt/hpcups/HPCupsFilter.cpp 486: m_Job 
initialization failed with error = 48

gimp/sane is saying "Failed to open device '...': Error during device I/O."

hp-setup complains it can't find any printers.

I can ping the printer and access it with a browser.


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

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

Copyright (c) 2001-15 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

warning: 2-buster/sid version is not supported. Using 2-9.1 versions 
dependencies to verify and install...

---
| SYSTEM INFO |
---

 Kernel: 4.5.0-2-amd64 #1 SMP Debian 4.5.4-1 (2016-05-16) GNU/Linux
 Host: worf
 Proc: 4.5.0-2-amd64 #1 SMP Debian 4.5.4-1 (2016-05-16) GNU/Linux
 Distribution: 2 buster/sid
 Bitness: 64 bit


---
| HPLIP CONFIGURATION |
---

HPLIP-Version: HPLIP 3.17.10
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 2 distro  
buster/sid version 

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf.  Generated from hplip.conf.in by configure.

[hplip]
version=3.17.10

[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=yes
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=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.17.10
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


Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.17.6



Current contents of '~/.hplip/hplip.conf' file:
[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[fax]
email_address = 
voice_phone = 

[installation]
date_time = 10/27/17 19:24:24
version = 3.17.10

[last_used]
device_uri = hpaio:/net/HP_Color_LaserJet_Pro_MFP_M176n?ip=10.0.0.9
printer_name = HP_Color_LaserJet_Pro_MFP_M176n
working_dir = .

[polling]
device_list = 
enable = false
interval = 5

[refresh]
enable = false
rate = 30
type = 1

[settings]
systray_messages = 0
systray_visible = 0

[upgrade]
last_upgraded_time = 1466165483
notify_upgrade = false
pending_upgrade_time = 0


 


-
| External Dependencies |
-

 error: cups