itsfoss / compress-pdf

A simple tool that allows you to compress PDF files
Other
72 stars 9 forks source link

Problem with spaces in filename #1

Closed abhishekpc closed 4 years ago

abhishekpc commented 4 years ago

If the input filename has spaces in it, the program doesn't work. On the command line, it gives the following error:

`Gtk-Message: 19:02:40.989: GtkDialog mapped without a transient parent. This is discouraged. # Error: /undefinedfilename in (BT) Operand stack:

Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push Dictionary stack: --dict:974/1684(ro)(G)-- --dict:0/20(G)-- --dict:77/200(L)-- Current allocation mode is local Last OS error: No such file or directory GPL Ghostscript 9.26: Unrecoverable error, exit code 1`