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 authentication level.

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

Submitter:  Juergen Daubert <jue>
Submitted:  Tue 08 Jun 2010 09:28:38 AM UTC
   
 
Category:  Ghostscript invocation Severity:  3 - Normal
Item Group:  None Status:  Ready For Test
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  3.7.0

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>
Group 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>
Group 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>
Group 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-06-10 msteinbo Open/ClosedOpen Closed
    2010-06-08 msteinbo StatusConfirmed Ready For Test
    2010-06-08 msteinbo CategoryNone Ghostscript invocation
        StatusNone Confirmed
        ReleaseNone 3.7.0

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code