'convert' fails on PDFs

Bug #128801 reported by Benjamin Redelings
2
Affects Status Importance Assigned to Milestone
GS-GPL
Fix Released
High
ghostscript (Ubuntu)
Fix Released
Undecided
Unassigned
imagemagick (Ubuntu)
Fix Released
Undecided
Unassigned
lyx (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: imagemagick

Hello,

system: gutsy/AMD64
affects: LyX

Starting around June 26, the convert program starting failing to convert PDF images to raster images. I noticed this because this prevents LyX from displaying preview images of PDFs. Several other PDF-related things broke at the same time - I think this is a related to other packages or libraries.

For example, this command, succeeds on my Debian (unstable) box:

% convert c95.tree.pdf c95.png

On Gutsy, I get:

$ convert c95.tree.pdf c95.png
Error: /undefined in obj
Operand stack:
   5 0
Execution stack:
   %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--
Dictionary stack:
   --dict:1153/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Current file position is 23
GPL Ghostscript SVN PRE-RELEASE 8.60: Unrecoverable error, exit code 1
convert: Postscript delegate failed `c95.tree.pdf'.

Changed in gs-gpl:
status: Unknown → New
Changed in gs-gpl:
status: New → Invalid
Revision history for this message
Benjamin Redelings (benjamin-redelings) wrote :

It looks like the upstream ghostscript people have given this a WORKS-FOR-ME status. However, this status is based on imagemagick 6.3, where as debian/ubuntu have only version 6.2 (which seems to be rather ancient.)

Therefore this may be another duplicate of

Bug #110178 in imagemagick (Ubuntu)
Please update imagemagick to 6.3.5 version

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Thank you, Benjamin, I have set the status bits of this bug report appropriately now.

Changed in ghostscript:
status: New → Invalid
Changed in lyx:
status: New → Invalid
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

It is not really a duplicate of Bug #110178. Solving bug #110178 is one solution. We have now another solution: The upstream developers of GhostScript have fixed this in GhostScript, version 8.60 scheduled to get released today.

Updating status ...

Changed in ghostscript:
status: Invalid → In Progress
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

ghostscript (8.60.dfsg.6-0ubuntu1) gutsy; urgency=low

  * Final release of Ghostscript 8.60
    o First official release of GPL Ghostscript with merged functionality
      of ESP Ghostscript.
    o Closes: LP: #128801
  * debian/patches/50_gv_kghostview_compatibility.dpatch: Removed workaround,
    real fix done upstream

 -- Till Kamppeter <email address hidden> Thu, 02 Aug 2007 02:13:11 +0100

Changed in ghostscript:
status: In Progress → Fix Released
Changed in gs-gpl:
status: Invalid → New
Changed in gs-gpl:
status: New → Fix Released
Changed in imagemagick:
status: New → Fix Released
Changed in gs-gpl:
importance: Unknown → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.