here we go, my error_log is below. It seems that a pointer with the path
for the temporary file is NULL ("Unable to open Fax output file -
(null)/hplipfax20071016171612.g3 for writing"). Perhaps I do not have
some environment variable which one normally has with Red Hat/Fedora (I
use Ubuntu).

In addition to fix this, I suggest also to do the following:

1. Let hp-sendfax observe the file conversion process, and report an
error if the process dies, instead of falling into an infinite loop.

2. Check whether the system provides the "cupsfilter" command of CUPS
1.3.x. Then you can do the file conversion without involving CUPS,
completely running as the calling user. This improves security a lot and
keeps hp-sendfax with full control over the conversion process. But do
not remove the old "send a CUPS job" method, to support the users of
older CUPS versions. See "man cupsfilter" for more info.

----------
D [16/Oct/2007:17:16:12 +0100] [Job 7] foomatic-gswrapper: gs '-sstdout=%stderr'
 '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=h
pijs' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-r200x200' '-sIjsPar
ams=Quality:Quality=2,Quality:ColorMode=1,FaxEncoding=99' '-dIjsUseOutputFD' '-s
OutputFile=%stdout' '-'
D [16/Oct/2007:17:16:13 +0100] [Job 7] 
D [16/Oct/2007:17:16:13 +0100] [Job 7] Closing renderer
D [16/Oct/2007:17:16:13 +0100] Discarding unused job-progress event...
D [16/Oct/2007:17:16:13 +0100] [Job 7] Unable to open Fax output file - 
(null)/hplipfax20071016171612.g3 for writing
D [16/Oct/2007:17:16:13 +0100] [Job 7] Error: /ioerror in --showpage--
D [16/Oct/2007:17:16:13 +0100] [Job 7] Operand stack:
D [16/Oct/2007:17:16:13 +0100] [Job 7] 1   true
D [16/Oct/2007:17:16:13 +0100] [Job 7] Execution stack:
D [16/Oct/2007:17:16:13 +0100] [Job 7] %interp_exit   .runexec2   
--nostringval--   --nostringval--   --nostringval--   2   %stopped_push   
--nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push 
  1889   1   3   %oparray_pop   1888   1   3   %oparray_pop   1872   1   3   
%oparray_pop   1755   1   3   %oparray_pop   --nostringval--   %errorexec_pop   
.runexec2   --nostringval--   --nostringval--   --nostringval--   2   
%stopped_push   --nostringval--   1761   0   3   %oparray_pop   --nostringval-- 
  --nostringval--
D [16/Oct/2007:17:16:13 +0100] [Job 7] Dictionary stack:
D [16/Oct/2007:17:16:13 +0100] [Job 7] --dict:1158/1684(ro)(G)--   
--dict:1/20(G:
)--   --dict:141/200(L)--
D [16/Oct/2007:17:16:13 +0100] [Job 7] Current allocation mode is local
D [16/Oct/2007:17:16:13 +0100] [Job 7] Last OS error: 32
D [16/Oct/2007:17:16:13 +0100] [Job 7] GPL Ghostscript SVN PRE-RELEASE 8.61: 
Unrecoverable error, exit code 1
D [16/Oct/2007:17:16:13 +0100] [Job 7] renderer return value: 1
D [16/Oct/2007:17:16:13 +0100] [Job 7] renderer received signal: 1
D [16/Oct/2007:17:16:13 +0100] [Job 7] Process dying with "Possible error on 
renderer command line or PostScript error. Check options.", exit stat: 3
D [16/Oct/2007:17:16:13 +0100] [Job 7] error: Illegal seek (29)
D [16/Oct/2007:17:16:13 +0100] [Job 7] Possible error on renderer command line 
or PostScript error. Check options.
D [16/Oct/2007:17:16:13 +0100] [Job 7] tail process done writing data to STDOUT
D [16/Oct/2007:17:16:13 +0100] [Job 7] KID4 finished
D [16/Oct/2007:17:16:13 +0100] [Job 7] KID3 exited with status 3
D [16/Oct/2007:17:16:13 +0100] [Job 7] Renderer exit stat: 3
D [16/Oct/2007:17:16:13 +0100] [Job 7] Renderer process finished
D [16/Oct/2007:17:16:13 +0100] [Job 7] Killing process 10362 (KID3)
D [16/Oct/2007:17:16:13 +0100] [Job 7] Process dying with "Error closing 
renderer", exit stat: 3
D [16/Oct/2007:17:16:13 +0100] [Job 7] error: Illegal seek (29)
D [16/Oct/2007:17:16:13 +0100] [Job 7] Error closing renderer
E [16/Oct/2007:17:16:13 +0100] PID 10354 (/usr/lib/cups/filter/foomatic-rip) sto
pped with status 3!
D [16/Oct/2007:17:16:13 +0100] [Job 7] hpfax: hpfax[10355]: error: No data!
E [16/Oct/2007:17:16:14 +0100] PID 10355 (/usr/lib/cups/backend/hpfax) stopped 
with status 1!
D [16/Oct/2007:17:16:14 +0100] [Job 7] File 0 is complete.
I [16/Oct/2007:17:16:14 +0100] [Job 7] Backend returned status 1 (failed)
D [16/Oct/2007:17:16:14 +0100] Discarding unused printer-state-changed event...
D [16/Oct/2007:17:16:14 +0100] set_hold_until: hold_until = 1192551674
D [16/Oct/2007:17:16:14 +0100] Discarding unused job-state event...
D [16/Oct/2007:17:16:14 +0100] cupsdAcceptClient: 38 from localhost (Domain)
D [16/Oct/2007:17:16:14 +0100] cupsdReadClient: 38 POST / HTTP/1.1
D [16/Oct/2007:17:16:14 +0100] cupsdAuthorize: No authentication data provided.
D [16/Oct/2007:17:16:14 +0100] Get-Jobs ipp://localhost/jobs/
D [16/Oct/2007:17:16:14 +0100] cupsdProcessIPPRequest: 38 status_code=0 
(successful-ok)
D [16/Oct/2007:17:16:14 +0100] cupsdReadClient: 38 POST / HTTP/1.1
D [16/Oct/2007:17:16:14 +0100] cupsdAuthorize: No authentication data provided.
D [16/Oct/2007:17:16:14 +0100] CUPS-Get-Printers
D [16/Oct/2007:17:16:14 +0100] cupsdProcessIPPRequest: 38 status_code=0 
(successful-ok)
D [16/Oct/2007:17:16:14 +0100] cupsdCloseClient: 38
----------

-- 
Fax utility not adding files to job.
https://bugs.launchpad.net/bugs/153152
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to