[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gv and filenames with spaces



There seems to be a problem with gv and filenames with spaces in them.
I don't use it regularly but when I open a file whose name contains a space (e.g. 'junk space.pdf') and then try to print it, I see an error dialog:

  Failed to scan file /tmp/gv_whatever_junk space.ps.tmp

(why do programs not let you copy messages from errors and instead force you to type them again!) and the following appears on stdout:

Error: /undefinedfilename in (space.ps.tmp)
Operand stack:

Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push --nostringval-- --nostringval--
Dictionary stack:
   --dict:1062/1123(ro)(G)--   --dict:0/20(G)--   --dict:68/200(L)--
Current allocation mode is local
Last OS error: 2
GNU Ghostscript 7.07: Unrecoverable error, exit code 1

I guess there's a configuration file somewhere in the debian package that is missing some quotes. Does anybody happen to know what the fix is?

I run Woody
$ gv -v
gv 3.5.8 (debian)

Cheers, Dave



Reply to: