railslove / fontello_rails_converter

CLI gem for comfortably working with icon fonts (open, download, convert) from http://fontello.com for usage in Rails apps.
MIT License
73 stars 35 forks source link

fontello convert error (fontello-demo.html) #19

Closed mican closed 10 years ago

mican commented 10 years ago

Hi,

I got an error:

No such file or directory - ./public/fontello-demo.html

In my zip file there is ./demo.html instead of ./public/fontello-demo.html

jhilden commented 10 years ago

What version are you on? What is the complete error message?

jhilden commented 10 years ago

Should be fixed in current master (see referenced commit above this). Can you give it a try and let me know if it worked?

mican commented 10 years ago

Current version on master works great, thank you!

mican commented 10 years ago

Just for the record:

Version 0.3.0

/Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/entry.rb:576:in `initialize': No such file or directory - ./public/fontello-demo.html (Errno::ENOENT)
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/entry.rb:576:in `open'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/entry.rb:576:in `create_file'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/entry.rb:152:in `extract'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/file.rb:294:in `extract'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/fontello_rails_converter-0.3.0/lib/fontello_rails_converter/cli.rb:62:in `block (2 levels) in convert'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/entry_set.rb:42:in `call'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/entry_set.rb:42:in `block in each'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/entry_set.rb:41:in `each'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/entry_set.rb:41:in `each'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/central_directory.rb:182:in `each'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/fontello_rails_converter-0.3.0/lib/fontello_rails_converter/cli.rb:37:in `block in convert'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/rubyzip-1.1.2/lib/zip/file.rb:99:in `open'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/fontello_rails_converter-0.3.0/lib/fontello_rails_converter/cli.rb:36:in `convert'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/gems/fontello_rails_converter-0.3.0/bin/fontello:123:in `'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/bin/fontello:23:in `load'
    from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/bin/fontello:23:in `
' from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/bin/ruby_noexec_wrapper:14:in `eval' from /Users/mican/.rvm/gems/ruby-2.0.0-p195@middleman/bin/ruby_noexec_wrapper:14:in `
'
jhilden commented 10 years ago

thanks for the additional info. I released version 0.3.1 including the fixes in master.