ci-reporter / ci_reporter

CI::Reporter is an add-on to popular test frameworks that allows you to generate XML reports
MIT License
343 stars 110 forks source link

File name too long (Errno::ENAMETOOLONG) #96

Closed duncan-bayne closed 10 years ago

duncan-bayne commented 11 years ago

I'm running ci_reporter 1.8.4 on Linux, and I'm getting the following error:

/home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/ci_reporter-1.8.4/lib/ci/reporter/report_manager.rb:17:in `initialize': File name too long - reports/SPEC-Contracts-Persistence-ChargeRepository-when-the-repository-can-connect-to-a-data-warehouse-when-returning-a-list-of-all-charges-fo-a-given-period.xml (Errno::ENAMETOOLONG)
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/ci_reporter-1.8.4/lib/ci/reporter/report_manager.rb:17:in `open'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/ci_reporter-1.8.4/lib/ci/reporter/report_manager.rb:17:in `write_report'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/ci_reporter-1.8.4/lib/ci/reporter/rspec.rb:195:in `write_report'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/ci_reporter-1.8.4/lib/ci/reporter/rspec.rb:166:in `dump_summary'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:98:in `block in notify'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:97:in `each'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:97:in `notify'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:82:in `finish'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:36:in `ensure in report'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:36:in `report'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:25:in `run'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
  from /home/duncan/.rvm/gems/ruby-1.9.3-p392/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'

I was under the impression that this behaviour had been fixed as of release 1.6.6, with pull request 37?

shepmaster commented 10 years ago

We are in the process of cleaning out old issues. If this issue still applies to this version, please let us know, otherwise we're going to close this issue to focus on current problems. Thanks for your report!

shepmaster commented 10 years ago

Closing due to inactivity.