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

Bug#175239: efax no longer understands dvi2fax' output



On 07.04.04 Frank Küster (frank@debian.org) wrote:
> Hilmar Preusse <hille42@web.de> wrote:

Hi all,

> > I believe I can:
> 
> Could you also try it with the dvi2fax version from unstable,
> copied to your woody filesystem? It's just a shell script, so no
> problem there.
> 
drachi:[~] #cp sarge/usr/bin/dvi2fax .
drachi:[~] #diff dvi2fax /usr/bin/dvi2fax
14,17c14
< # hack around a bug in zsh:
< test -n "${ZSH_VERSION+set}" && alias -g '${1+"$@"}'='"$@"'
< 
< progname=`basename "$0"`
---
> progname=`basename $0`
39c36
< NAME=`basename "$1" .dvi`
---
> NAME=`basename $1 .dvi`
41c38
<   gs -q -dSAFER -sDEVICE=$gsdev -sOutputFile="$NAME-%03d.fax" -sNOPAUSE -
---
>   gs -q -dSAFER -sDEVICE=$gsdev -sOutputFile=$NAME-%03d.fax -sNOPAUSE -

Nothing, what could hit us.

> I cannot really test it, because I don't have a modem at all. When
> I said I cannot reproduce it, it was because I didn't get the error
> message described by Seb - but of course I get an error message
> about a missing modem, and probably the modem is checked before the
> file is read.
> 
drachi:[~/efax] #./dvi2fax.new truc.dvi
This is dvips(k) 5.86e Copyright 2001 Radical Eye Software (www.radicaleye.com)
' TeX output 2004.04.07:1246' ->
<texc.pro>. [1]
drachi:[~/efax] #./efax -t 0123456789 truc*.fax
./efax: Wed Apr  7 14:59:50 2004 efax v 0.9a-001114 Copyright 1999 Ed Casas
./efax: Wed Apr  7 14:59:50 2004 efax v 0.9a-001114 Copyright 1999 Ed Casas
efax: 59:50 compiled Apr  6 2004 19:31:38
efax: 59:50 Error: can't get format of truc-001.fax
efax: 59:50 done, returning 2 (unrecoverable error)
drachi:[~/efax] #file truc-001.fax
truc-001.fax: group 3 fax data, fine resolution (204x196 DPI)

drachi:[~/efax] #./dvi2fax.old truc.dvi
This is dvips(k) 5.86e Copyright 2001 Radical Eye Software (www.radicaleye.com)
' TeX output 2004.04.07:1246' ->
<texc.pro>. [1]
drachi:[~/efax] #file truc-001.fax
truc-001.fax: raw G3 data
drachi:[~/efax] #./efax -t 0123456789 truc*.fax
./efax: Wed Apr  7 15:00:53 2004 efax v 0.9a-001114 Copyright 1999 Ed Casas
./efax: Wed Apr  7 15:00:53 2004 efax v 0.9a-001114 Copyright 1999 Ed Casas
efax: 00:53 compiled Apr  6 2004 19:31:38
efax: 00:53 opened /dev/modem
efax: 00:54 using Version 1.10 / 19.07.1999 "ELSA AG, Aachen (Germany)" "MicroLink 56k basic" "Version 1.10 / 19.07.1999" in class 2.0
efax: 00:55 dialing 0123456789
efax: 01:14 Warning: number is busy
efax: 01:14 failed -> truc-001.fax
efax: 01:14 done, returning 1 (number busy or modem in use)

An strace of efax shows me, that the error message "can't get format
of truc-001.fax" appears before even opening /dev/modem.
Last resort: That was a bug in ghostscript, which has been fixed in
unstable. Would you be so kind to send me your *.fax file?

> > I've tried already to contact the packager of efax and the
> > upstream author of efax but got never a reply. Sorry for not
> > reporting that. efax is the version of sid, compiled on woody.
> > dvi2fax the version of woody.
> 
> Before changing anything, we have to make sure what other fax
> programs want. I never used any, but it might be that e.g. hylafax
> does better (or works only) with the new format.
> 
drachi:[~] #strace /usr/sbin/sendfax xxxxxxxx efax/truc-001.fax 2> log1
Trying fax device '/dev/ttyS1'... OK.
Dialing xxxxxxxx... OK.
sending 'efax/truc-001.fax'...

The number was real, he really started sending that fax. So I guess,
that is a bug in efax....

> P.S. Was there any footnote ¹?
> 
Yes.

H. 
-- 
sigmentation fault



Reply to: