Public bug reported:
OS = Dapper up to date
last Dapper package (0.7.3+0.7.4-051223-1)
Hello,
Gfax is unusable, they seem that the software made a bad file name
conversion (my file name is test.ps) :
=================================
[EMAIL PROTECTED]:~$ gfax
ERROR: /undefinedfilename in (/home/jla/test.ps</dev/null)
_____________________________^^^^^^^^^^^^^^^^^
Operand stack:
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push
Dictionary stack:
--dict:1122/1686(ro)(G)-- --dict:0/20(G)-- --dict:80/200(L)--
Current allocation mode is local
Last OS error: 2
ESP Ghostscript 815.02: Unrecoverable error, exit code 1
/usr/bin/efax: Thu Jun 15 11:02:03 2006 efax v 0.9a-001114 Copyright 1999 Ed
Casas
/usr/bin/efax: Thu Jun 15 11:02:03 2006 efax v 0.9a-001114 Copyright 1999 Ed
Casas
efax: 02:03 compiled Jan 16 2006 17:27:22
efax: 02:03 Error: can't open -v: Aucun fichier ou répertoire de ce type
efax: 02:03 done, returning 2 (unrecoverable error)
Goodbye...
==============================
Here is the strace result :
==============================
...
execve("/usr/bin/gs", ["/usr/bin/gs", "-q", "-sDEVICE=tiffg3", "-r204x98",
"-dNOPAUSE", "-dSAFER", "-sOutputFile=/home/jla/.local/sh"...,
"-sPAPERSIZE=a4", "/home/jla/test.ps</dev/null", ">/dev/null"], [/* 32 vars
*/]) = 0
uname({sys="Linux", node="PC59", ...}) = 0
...
open("/home/jla/test.ps</dev/null", O_RDONLY) = -1 ENOENT (No such file or
directory)
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7fbf000
write(1, "ERROR: /undefinedfilename", 25) = 25
write(1, " in (/home/jla/test.ps</dev/null"..., 33) = 33
...===========================
The problem seem to be about "</dev/null".
Perhaps a space after the file name before "</dev/null" is missing ?
Sorry for my so bad english,
Jean Louis
** Affects: gfax (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
Gfax unusable : bad postscript file name transformation
https://launchpad.net/bugs/49847
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs