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

"unexpected EOF" error when converting files with apostrophes in their names #23

Open
IshmaelYavitz opened this issue Jan 17, 2016 · 0 comments

Comments

@IshmaelYavitz
Copy link

I get an "unexpected EOF" error when trying to convert a file with an apostrophe in the name.

I'm using bash in OS X.

> ls
why-don't-you-work.mov

> screengif --input why-don\'t-you-work.mov --output why-don\'t-you-work.gif
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
/usr/local/lib/ruby/gems/2.2.0/gems/rmagick-2.15.4/lib/rmagick_internal.rb:1605:in `from_blob': zero-length blob not permitted `' @ error/blob.c/BlobToImage/343 (Magick::ImageMagickError)
    from /usr/local/lib/ruby/gems/2.2.0/gems/rmagick-2.15.4/lib/rmagick_internal.rb:1605:in `block in from_blob'
    from /usr/local/lib/ruby/gems/2.2.0/gems/rmagick-2.15.4/lib/rmagick_internal.rb:1604:in `each'
    from /usr/local/lib/ruby/gems/2.2.0/gems/rmagick-2.15.4/lib/rmagick_internal.rb:1604:in `from_blob'
    from /usr/local/lib/ruby/gems/2.2.0/gems/screengif-0.0.3/lib/screengif.rb:74:in `start'
    from /usr/local/lib/ruby/gems/2.2.0/gems/screengif-0.0.3/bin/screengif:10:in `<top (required)>'
    from /usr/local/bin/screengif:23:in `load'
    from /usr/local/bin/screengif:23:in `<main>'

> screengif --input "why-don't-you-work.mov" --output "why-don't-you-work.gif"
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
/usr/local/lib/ruby/gems/2.2.0/gems/rmagick-2.15.4/lib/rmagick_internal.rb:1605:in `from_blob': zero-length blob not permitted `' @ error/blob.c/BlobToImage/343 (Magick::ImageMagickError)
    from /usr/local/lib/ruby/gems/2.2.0/gems/rmagick-2.15.4/lib/rmagick_internal.rb:1605:in `block in from_blob'
    from /usr/local/lib/ruby/gems/2.2.0/gems/rmagick-2.15.4/lib/rmagick_internal.rb:1604:in `each'
    from /usr/local/lib/ruby/gems/2.2.0/gems/rmagick-2.15.4/lib/rmagick_internal.rb:1604:in `from_blob'
    from /usr/local/lib/ruby/gems/2.2.0/gems/screengif-0.0.3/lib/screengif.rb:74:in `start'
    from /usr/local/lib/ruby/gems/2.2.0/gems/screengif-0.0.3/bin/screengif:10:in `<top (required)>'
    from /usr/local/bin/screengif:23:in `load'
    from /usr/local/bin/screengif:23:in `<main>'

>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant