Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339064 - app-text/ghostscript-gpl-8.71-r1 prevents to print some pdf file (pdf2ps and pdftops failing)
Summary: app-text/ghostscript-gpl-8.71-r1 prevents to print some pdf file (pdf2ps and ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-28 20:54 UTC by Enrico Tagliavini
Modified: 2011-09-01 13:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrico Tagliavini 2010-09-28 20:54:20 UTC
using app-text/ghostscript-gpl-8.71-r1 i tried print this pdf http://www.akkadia.org/drepper/cpumemory.pdf and it didn't worked. I digged a bit with the help of billie and _AxS_ (thanks again) in irc, and we discovered that both pdf2ps and pdftops were failing to convert it (the first one trowing an error, the second one without errors, but generatin a blank ps). This prevents the printing since they are converted to ps first.

My printer is an hp deskjet f4580 (so i use hplip) for the record

Reproducible: Always

Steps to Reproduce:
1. be sure app-text/ghostscript-gpl-8.71-r1 is installed 
2. try to print the first page of http://www.akkadia.org/drepper/cpumemory.pdf
3. or try to convert it and see pdf{2,to}ps fail

Actual Results:  
The page is not printed

Expected Results:  
The page should be printed without problems

Installing app-text/ghostscript-gpl-8.71-r6 fixed the issue. May i suggest to stabilize it?
Comment 1 Enrico Tagliavini 2010-09-28 21:40:24 UTC
Oh i forgotten to say i rebuilded cpus and hplip after updating ghostscript-gpl. I have no idea if this is really needed i didn't tested well but it seems it is for me
Comment 2 Matija "hook" Šuklje 2010-10-06 22:50:06 UTC
The same happens to me with app-text/ghostscript-gpl-8.71-r6 and printing from Korganizer.
Comment 3 sphakka 2011-07-02 10:44:50 UTC
Hi there,

I had similar issues whit pdf2ps and convert, f.i.:
<code>
$ convert fax-test.pdf fax-test.jpeg                                                                                     
Error: /rangecheck in --run--
Operand stack:
   --dict:7/16(L)--   File
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1862   1   3   %oparray_pop   1861   1   3   %oparray_pop   1845   1   3   %oparray_pop   --nostringval--   --nostringval--   2   1   1   --nostringval--   %for_pos_int_continue   --nostringval--   --nostringval--   false   1   %stopped_push   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1162/1684(ro)(G)--   --dict:1/20(G)--   --dict:75/200(L)--   --dict:75/200(L)--   --dict:108/127(ro)(G)--   --dict:288/300(ro)(G)--   --dict:22/25(L)--   --dict:6/8(L)--   --dict:25/40(L)--   --dict:14/18(ro)(L)--   --dict:2/3(L)--   --dict:3/5(L)--   --dict:1/1(ro)(G)--   --dict:6/12(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
</code>

Fixed by ghostscript-gpl v9.02 :-)

Cheers,

  ^s
Comment 4 Timo Gurr (RETIRED) gentoo-dev 2011-09-01 13:39:02 UTC
(In reply to comment #0)
> Installing app-text/ghostscript-gpl-8.71-r6 fixed the issue. May i suggest to
> stabilize it?

Resolving as fixed since ghostscript-gpl-8.71-r6 is marked stable (and ghostscript-gpl-9.04-r3 will follow soon).