Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Throws exception when filename has spaces #2

Open
rodrigobdz opened this issue Apr 25, 2019 · 0 comments
Open

Throws exception when filename has spaces #2

rodrigobdz opened this issue Apr 25, 2019 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@rodrigobdz
Copy link
Owner

rodrigobdz commented Apr 25, 2019

Describe the bug
Throws exception when filename has spaces.

To Reproduce
Steps to reproduce the behavior:

pdfoptim printer\ manual.pdf
# OR 
pdfoptim "printer manual.pdf"

Log

GPL Ghostscript 9.26: Unrecoverable error, exit code 1
Error: /undefinedfilename in (printer)
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push
Dictionary stack:
   --dict:971/1684(ro)(G)--   --dict:0/20(G)--   --dict:78/200(L)--
Current allocation mode is local
Last OS error: No such file or directory

Desktop

  • OS: macOS 10.13.6
  • pdfoptim version: 1.1.0
@rodrigobdz rodrigobdz added bug Something isn't working good first issue Good for newcomers labels Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant