Skip to content

(Errno::ENAMETOOLONG) #6

@Qambar

Description

@Qambar

Hi, i am getting this long name error (Errno::ENAMETOOLONG) when i run the following command

staticizer http://qambarraza.com -output-dir=qambarraza.com

The site name is qambarraza.com which i have replaced it in the error message but you can figure that out from the command above:

I, [2017-07-05T22:21:27.847617 #33823]  INFO -- : Saving utput-dir=<sitename>/wp-includes,_js,_jquery,_jquery-migrate.min.js,qver==1.4.1+wp-content,_plugins,_add-to-any,_addtoany.min.js,qver==1.0+wp-content,_themes,_zacklive,_assets,_js,_bootstrap,_bootstrap.js,qver==4.7.5+wp-content,_themes,_zacklive,_assets,_js,_bootstrap-wp.js,qver==4.7.5.pagespeed.jc.oXsCQ1rSYH.js
/Users/<username>/.rvm/gems/ruby-2.0.0-p648/gems/staticizer-0.0.7/lib/staticizer/crawler.rb:154:in `initialize': File name too long - utput-dir=<sitename>/wp-includes,_js,_jquery,_jquery-migrate.min.js,qver==1.4.1+wp-content,_plugins,_add-to-any,_addtoany.min.js,qver==1.0+wp-content,_themes,_zacklive,_assets,_js,_bootstrap,_bootstrap.js,qver==4.7.5+wp-content,_themes,_zacklive,_assets,_js,_bootstrap-wp.js,qver==4.7.5.pagespeed.jc.oXsCQ1rSYH.js (Errno::ENAMETOOLONG)
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/gems/staticizer-0.0.7/lib/staticizer/crawler.rb:154:in `open'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/gems/staticizer-0.0.7/lib/staticizer/crawler.rb:154:in `save_page_to_disk'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/gems/staticizer-0.0.7/lib/staticizer/crawler.rb:110:in `save_page'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/gems/staticizer-0.0.7/lib/staticizer/crawler.rb:194:in `process_success'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/gems/staticizer-0.0.7/lib/staticizer/crawler.rb:233:in `block in process_url'
  from /Users/<username>/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/net/http.rb:1419:in `block (2 levels) in transport_request'
  from /Users/<username>/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/net/http/response.rb:162:in `reading_body'
  from /Users/<username>/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/net/http.rb:1418:in `block in transport_request'
  from /Users/<username>/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/net/http.rb:1409:in `catch'
  from /Users/<username>/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/net/http.rb:1409:in `transport_request'
  from /Users/<username>/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/net/http.rb:1382:in `request'
  from /Users/<username>/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/net/http.rb:1375:in `block in request'
  from /Users/<username>/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/net/http.rb:852:in `start'
  from /Users/<username>/.rvm/rubies/ruby-2.0.0-p648/lib/ruby/2.0.0/net/http.rb:1373:in `request'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/gems/staticizer-0.0.7/lib/staticizer/crawler.rb:230:in `process_url'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/gems/staticizer-0.0.7/lib/staticizer/crawler.rb:55:in `crawl'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/gems/staticizer-0.0.7/bin/staticizer:11:in `<top (required)>'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/bin/staticizer:23:in `load'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/bin/staticizer:23:in `<main>'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/bin/ruby_executable_hooks:15:in `eval'
  from /Users/<username>/.rvm/gems/ruby-2.0.0-p648/bin/ruby_executable_hooks:15:in `<main>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions