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

Already on GitHub? Sign in to your account

Issue with certain static files #682

Jack000 opened this Issue Dec 7, 2012 · 2 comments


None yet
3 participants

Jack000 commented Dec 7, 2012

I was pulling my hair out debugging this issue on windows 7:

C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:1371:in `stat': Inappropriate I/O control
 operation - C:/Users/Jack/Documents/GitHub/project/assets/font/vegur-b_0.602
-webfont.svg (Errno::ENOTTY)
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:1371:in `block in copy_file'

        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:1370:in `open'
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:1370:in `copy_file'
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:477:in `copy_file'
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:396:in `block in cp'
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:1515:in `block in fu_each_sr
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:1531:in `fu_each_src_dest0'
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:1513:in `fu_each_src_dest'
        from C:/Ruby193/lib/ruby/1.9.1/fileutils.rb:395:in `cp'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/static
_file.rb:58:in `write'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.r
b:249:in `block in write'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.r
b:248:in `each'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.r
b:248:in `write'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/lib/jekyll/site.r
b:42:in `process'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/jekyll-0.11.2/bin/jekyll:250:in
 `<top (required)>'
        from C:/Ruby193/bin/jekyll:23:in `load'
        from C:/Ruby193/bin/jekyll:23:in `<main>'

after a while I realized the files that caused the problem did not have a "date modified" column value for some reason, probably because they were downloaded and unzipped. When I opened and saved them in note pad the error went away.

would be nice to have this issue fixed.

Jack000 commented Dec 7, 2012

hm.. seems other tools are having problems with these files as well. Could just be a problem with font squirrel's font generator.


parkr commented Dec 8, 2012

Yeah, it looks like it. All set to close!

@parkr parkr closed this Jan 1, 2013

@jekyllbot jekyllbot locked and limited conversation to collaborators Feb 27, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.