Koozali.org: home of the SME Server

Problem since last update ghostscript / Hylafax / PDF files

Offline dadou

  • **
  • 47
  • +0/-0
Problem since last update ghostscript / Hylafax / PDF files
« on: February 21, 2012, 03:09:35 PM »
Hello,

I've got a problem since I did last yum update.
It installed Updated: ghostscript.i386 7.07-33.13.el4.

In this package I suppose there is pdf2ps which is used by hylafax to send pdf file.

Now when I try to send a pdf file via Hylafax I get this in the logs :

Code: [Select]
Feb 21 14:41:22 fmcp HylaFAX[19721]: Filesystem has SysV-style file creation semantics.
Feb 21 14:41:22 fmcp HylaFAX[19721]: What we have here is a PDF file
Feb 21 14:41:22 fmcp FaxQueuer[12309]: SUBMIT JOB 19219
Feb 21 14:41:23 fmcp FaxGetty[12322]: LOCKWAIT
Feb 21 14:41:23 fmcp FaxQueuer[19723]: JOB 19219: CONVERT DOCUMENT: exit status 0x100
Feb 21 14:41:23 fmcp FaxQueuer[12309]: NOTIFY: bin/notify "doneq/q19219" "format_failed" ""
Feb 21 14:41:23 fmcp FaxQueuer[12309]: NOTIFY exit status: 0 (19729)

I suppose Hylafax use pdf2ps to convert the file and use it without specifying path and that the pdf2ps don't do the job.

If I try on command line :

Code: [Select]
[root@fmcp ~]# pdf2ps test.pdf
Error: /undefinedfilename in (test.pdf)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1062/1123(ro)(G)--   --dict:0/20(G)--   --dict:88/200(L)--
Current allocation mode is local
Last OS error: 2
GNU Ghostscript 7.07: Unrecoverable error, exit code 1

But if I specify the path it works :

Code: [Select]
[root@fmcp ~]# pdf2ps /root/test.pdf
[root@fmcp ~]# ls -l test*
-rw-r--r--  1 root root 29175 oct 18 16:56 test.pdf
-rw-r--r--  1 root root 37381 fÚv 21 15:06 test.ps
[root@fmcp ~]#

Can I update Ghostscript to a higher version ? Or is there another solution ?

Thx

David

Offline Stefano

  • *
  • 10,839
  • +2/-0

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problem since last update ghostscript / Hylafax / PDF files
« Reply #2 on: February 21, 2012, 04:36:28 PM »
I've got a problem since I did last yum update.
It installed Updated: ghostscript.i386 7.07-33.13.el4.

In this package I suppose there is pdf2ps which is used by hylafax to send pdf file.

Your post is off-topic for this forum, since hylafax is not distributed as part of SME server software.

Offline dadou

  • **
  • 47
  • +0/-0
Re: Problem since last update ghostscript / Hylafax / PDF files
« Reply #3 on: February 21, 2012, 05:54:56 PM »
Thanks stephano for the answer the way is to go backwards.
There is a bug in the pdf2ps of ghostscript.i386 7.07-33.13.el4 that need full path that's why it doesn't work.

Thx

David

PS : Charly, sorry if I didn't post in the good forum. But still, there is a bug in pdf2ps in ghostscript.i386 7.07-33.13.el4 that is part of the SME Server Software :)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Problem since last update ghostscript / Hylafax / PDF files
« Reply #4 on: February 21, 2012, 08:30:58 PM »
But still, there is a bug in pdf2ps in ghostscript.i386 7.07-33.13.el4 that is part of the SME Server Software :)

Is it a bug, or a security improvement (and a bug in Hylafax)?

https://bugzilla.redhat.com/show_bug.cgi?id=642427



Offline dadou

  • **
  • 47
  • +0/-0
Re: Problem since last update ghostscript / Hylafax / PDF files
« Reply #6 on: February 21, 2012, 10:07:15 PM »
Oups you're right security improvement... I go onto hylafax forums now :)
Sorry for ignorance... and thanks for all answers it helped me a lot.

David