Public bug reported:
Binary package hint: ghostscript
Hi,
Am using MetaUML to generate diagrams. Mpost is used to generate a PS
file for the diagram. I want to convert that PS file into an image
(JPG/PNG) by invoking convert. I'm encountering errors in the process:
$mpost activity.mp# Generates activity.1, a PS file
$convert -density 100 -flatten activity.1 activity.png
Error: /undefined in ptmr8r
Operand stack:
(Eat something good)
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop
1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1160/1684(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)--
Current allocation mode is local
Current file position is 2345
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
Error: /undefined in ptmr8r
Operand stack:
(Eat something good)
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop
1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
--dict:1160/1684(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)--
Current allocation mode is local
Current file position is 2345
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
convert: Postscript delegate failed `activity.1': No such file or directory @
ps.c/ReadPSImage/765.
convert: missing an image filename `activity.png' @
convert.c/ConvertImageCommand/2838.
I've tried this with GhostScript versions 8.71 as well as 9.00 with both
giving same error. Can anyone help on this please?
** Affects: ghostscript (Ubuntu)
Importance: Undecided
Status: New
** Tags: convert gs imagemagick
** Description changed:
Binary package hint: ghostscript
Hi,
Am using MetaUML to generate diagrams. Mpost is used to generate a PS
file for the diagram. I want to convert that PS file into an image
(JPG/PNG) by invoking convert. I'm encountering errors in the process:
+ $mpost activity.mp# Generates activity.1, a PS file
$convert -density 100 -flatten activity.1 activity.png
Error: /undefined in ptmr8r
Operand stack:
-(Eat something good)
+ (Eat something good)
Execution stack:
-%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop
1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
+ %interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop
1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
Dictionary stack:
---dict:1160/1684(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)--
+ --dict:1160/1684(ro)(G)-- --dict:0/20(G)-- --dict:71/200(L)--
Current allocation mode is local
Current file position is 2345
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
Error: /undefined in ptmr8r
Operand stack:
-(Eat something good)
+ (Eat something good)
Execution stack:
-%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop
1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push --nostringval--
+ %interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1878 1 3 %oparray_pop
1877 1 3 %oparray_pop 1861 1 3 %oparray_pop 1755 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_push