[Pkg-hpijs-devel] [Foo2zjs-maintainer] Bug#517162: foo2zjs: Completed print jobs not deleted from queue on P1007

Luca Capello luca at pca.it
Thu Apr 2 16:21:44 UTC 2009


Hi Raj!

Cc:ing the Debian HPIJS and HPLIP maintainers mailing list, read below
for the reason.

On Tue, 24 Mar 2009 13:54:32 +0100, Raj Mathur wrote:
> Woah, I didn't know about the uninstall target.  Ran that and 
> reinstalled foo2zjs after purging.  Now there are two problems :)
>
> 1. getweb from the foo2zjs package doesn't install the firmware.  It 
> does install the file:
>
>   /usr/share/foo2zjs/tmp/sihpP1005.img
>
> whereas the printer needs (as per the syslog message):
>
>   /usr/share/foo2xqx/firmware/sihpP1005.dl
>
> I used the getweb from the upstream sources to get the the .dl file and 
> push it into the right directory, after that the firmware is getting 
> downloaded and the printer is printing.

This is very strange, since the latest [1] upstream getweb does:

--8<---------------cut here---------------start------------->8---
#
#	Download a .tar.gz file from the web, untar it, and extract the
#	files we want
gettgz() {
    url="$1"
    file="$2"
    what="$3"
    
    wget $WGETOPTS -O $file "$url/$file" ||
	error "Couldn't download $url/$file"
    gunzip <$file | tar xvf - $what
    rm $file
}
[...]

getone() {
    case "$1" in
[...]

    [pP]100[57])
	gettgz \
	    http://foo2zjs.rkkda.com/firmware sihpP1005.tar.gz \
	    ""
	copyright "(c) Copyright Hewlett-Packard 2008"
	;;
[...]

for i in $*
do
    case "$1" in
[...]
    *)	
	getone $i
	;;
    esac
done
--8<---------------cut here---------------end--------------->8---

The above means that in no way upstream getweb provides you with a .dl
file, only with the .img one:
=====
luca at gismo:$ wget http://foo2zjs.rkkda.com/firmware/sihpP1005.tar.gz
[...]

2009-04-02 13:45:25 (159 KB/s) - `sihpP1005.tar.gz' saved [153447/153447]

luca at gismo:$ md5sum sihpP1005.tar.gz
136b46e9441725fd3a46b8ef9525223b  sihpP1005.tar.gz

luca at gismo:$ tar ztvf sihpP1005.tar.gz
-rwxr--r-- rick/rick    222392 2008-06-03 20:15 sihpP1005.img

luca at gismo:$
=====

Debian getweb from package version 20090301dfsg-2 does the same, simply
because we missed the putfw call for the P1005/1007 models, now fixed:

  http://svn.debian.org/wsvn/foo2zjs/trunk/foo2zjs_20090301dfsg/?rev=184&sc=1

While I was at it, I also fixed the IMHO useless distinction for the
firmware directories: because of bug #517957 [2], in any case Debian
will store firmwares outside /usr.  Thus, in the meantime I decided to
use one single directory to store *any* firmware and since the package
is called foo2zjs, my choice was /usr/share/foo2zjs/firmware:

  http://svn.debian.org/wsvn/foo2zjs/trunk/foo2zjs_20090301dfsg/?rev=185&sc=1

Can you confirm that with the Debian package version 20090301dfsg-3
(which I just uploaded) `getweb p1007` gives you a working printer,
please?

> 2. Print jobs are still not getting deleted after completion.  The error 
> in syslog remains the same:
>
> HP_LaserJet_P1007?serial=ECXXXXX: prnt/backend/hp.c 594: ERROR: 40017 
> other; will retry in 30 seconds...

Bingo!  If only you had posted the syslog error before... ;-)

Since foo2zjs does not have any hp.c file in its sources, while hplip
does, this bug could be a duplicate of bug #517434 [3].  How to check if
I am correct:

- note down which hplip version you have installed with

    $ dpkg -s hplip | grep Version

- update hplip to version 3.9.2-2

- do your test

- report here your results

For the Debian HPIJS and HPLIP maintainers: if Raj confirms my
impressions above, I can take care of reassigning/closing this bug.
Please speak if anyone of you want to do it :-)

> Am trying to contact you on instant messenger to see if we can get
> some quickfixes out.

For quite a while now, I am vacant from IM/IRC, sorry, since they both
take me too much time.

Thx, bye,
Gismo / Luca

Footnotes: 
[1] as of now, last ChangeLog entry:
    2009-03-24	Rick Richardson <rick.richardson at comcast.net>
	* Add: km-1600-rgb-392-bpp1.icm for color correction using
	    the X-rite ColorMunki and Argyll.
	    For KONICA MINOLTA 1600W, 1680MF, 1690MF
	    Delete 1600W, re-download, make, ./getweb 1600w, make install
[2] http://bugs.debian.org/517957
[3] http://bugs.debian.org/517434
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-hpijs-devel/attachments/20090402/0b5ddeed/attachment.pgp 


More information about the Pkg-hpijs-devel mailing list