bugGNU gv - Bugs: bug #30081, gv 3.7.0: unable to print/save pdf...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #30081: gv 3.7.0: unable to print/save pdf files

Submitted by:  Juergen Daubert <jue>
Submitted on:  Tue 08 Jun 2010 09:28:38 AM UTC  
 
Category: Ghostscript invocationSeverity: 3 - Normal
Item Group: NoneStatus: Ready For Test
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 3.7.0

(Jump to the original submission Jump to the original submission)

Thu 10 Jun 2010 07:14:51 PM UTC, comment #6:

Fixed in release 3.7.1

Markus Steinborn <msteinbo>
Project Administrator
Tue 08 Jun 2010 06:06:51 PM UTC, comment #5:

I fully agree - very serious regression.

Release is planed after some final tests. The tarball for the new release is already created.

Markus Steinborn <msteinbo>
Project Administrator
Tue 08 Jun 2010 05:25:29 PM UTC, comment #4:

I'd consider this as a serious bug, can we expect a new version 3.7.1 soon?

Juergen Daubert <jue>
Tue 08 Jun 2010 11:17:03 AM UTC, comment #3:

Thanks for the quick fix, works for me.

Juergen Daubert <jue>
Tue 08 Jun 2010 10:53:18 AM UTC, comment #2:

That's the bug fix:

--- src/save.c
+++ src/save.c
@@ -204,7 +204,7 @@ save_forkPDFToPSConversion(sd)
char *pdfpos;
char *pspos;
char quoted_src_fn, quoted_conv_fn;
- char* src = gv_gs_cmd_scan_pdf;
+ char* src = command;
char* dest = tmp;
int spaceFound = 0;

Markus Steinborn <msteinbo>
Project Administrator
Tue 08 Jun 2010 10:24:08 AM UTC, comment #1:

Thabks for the bug report.

That is clearly a problem with the invocation of ghostscript, which should convert the pdf into postscript suitable for printing and saving.

Markus Steinborn <msteinbo>
Project Administrator
Tue 08 Jun 2010 09:28:38 AM UTC, original submission:

Starting with 3.7.0 I'm unable to print or save any pdf document, even though viewing just works fine. If I try to print, I get the following gs error:

Error: /undefinedfilename in --findlibfile--
Operand stack:
(%s)
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- 1767 1 3 %oparray_pop --nostringval--
Dictionary stack:
--dict:1152/1684(ro)(G)-- --dict:0/20(G)-- --dict:70/200(L)--
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 8.71: Unrecoverable error, exit code 1
Warning: empty file.

and after that a gv error like:

Failed to scan file /tmp/gv_make_ps.CK8WSR

Some remarks:
- printing/saving works with ps files
- all options are set to defaults
- everything works with gv version 3.6.9

Juergen Daubert <jue>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by msteinbo (Posted a comment)
  • -unavailable- added by jue (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 10 Jun 2010 07:14:51 PM UTCmsteinboOpen/ClosedOpen=>Closed
    Tue 08 Jun 2010 10:53:18 AM UTCmsteinboStatusConfirmed=>Ready For Test
    Tue 08 Jun 2010 10:24:08 AM UTCmsteinboCategoryNone=>Ghostscript invocation
      StatusNone=>Confirmed
      ReleaseNone=>3.7.0

    Back to the top


    Powered by Savane 3.1-cleanup