Bug 95624

Summary: Error message when I try to open .pdf files with KGhostView
Product: [Applications] okular Reporter: Carlo Bruno <cbruno>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: adrian, bradh
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Carlo Bruno 2004-12-22 10:09:09 UTC
Version:           3.2.1 (using KDE 3.2.1, SuSE)
Compiler:          gcc version 3.3.3 (SuSE Linux)
OS:                Linux (i686) release 2.6.5-7.111.5-default

AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
AFPL Ghostscript 8.14 (2004-02-20)
Copyright (C) 2004 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Error: /undefinedfilename
 in (AlphaBits=4)

Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopp
ed_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:1108/1123(
ro)(G)--   --dict:0/20(G)--   --dict:70/200(L)--
Current allocation mode is local
Last OS error: 2
AFPL Ghostscript 
8.14
: 
Unrecoverable error, exit code 1
Comment 1 Brad Hards 2004-12-22 11:45:04 UTC
Can you try that PDF file with plain gv?
Comment 2 Alex Cherepanov 2005-12-07 05:50:09 UTC
Most likely, this is the user's error: missing dash in the option.
So the option is interpreted as a file name, which cannot be found.