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

EOFError: end of file reached #12

Closed
koraktor opened this Issue May 20, 2012 · 2 comments

Comments

Projects
None yet
1 participant
Member

koraktor commented May 20, 2012

Check full details on Airbrake: http://koraktor.airbrake.io/errors/50762134?auth_token=bb4c66dc689d987ea15130efa87df1ca4e383496

[PROJECT_ROOT]/app/models/repository.rb:302:in `load'
[PROJECT_ROOT]/app/models/repository.rb:302:in `formulae_info'
[PROJECT_ROOT]/app/models/repository.rb:177:in `refresh'
[PROJECT_ROOT]/lib/tasks/braumeister.rake:67:in `block (4 levels) in <top (required)>'
[PROJECT_ROOT]/lib/tasks/braumeister.rake:35:in `call'
[PROJECT_ROOT]/lib/tasks/braumeister.rake:35:in `airbrake_rescued'
[PROJECT_ROOT]/lib/tasks/braumeister.rake:67:in `block (3 levels) in <top (required)>'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.10/lib/mongoid/contexts/mongo.rb:262:in `block (2 levels) in iterate'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.10/lib/mongoid/cursor.rb:50:in `block in each'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.10/lib/mongoid/collections/retry.rb:29:in `retry_on_connection_failure'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.10/lib/mongoid/cursor.rb:48:in `each'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.10/lib/mongoid/contexts/mongo.rb:262:in `block in iterate'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.10/lib/mongoid/contexts/mongo.rb:480:in `selecting'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.10/lib/mongoid/contexts/mongo.rb:259:in `iterate'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.10/lib/mongoid/criteria.rb:145:in `block in each'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.10/lib/mongoid/criteria.rb:145:in `tap'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.10/lib/mongoid/criteria.rb:145:in `each'
[PROJECT_ROOT]/lib/tasks/braumeister.rake:66:in `block (2 levels) in <top (required)>'
[PROJECT_ROOT]/lib/tasks/braumeister.rake:15:in `block (2 levels) in task_with_tracing'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.4.1/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:255:in `block in perform_action_with_newrelic_trace'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.4.1/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.4.1/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:250:in `perform_action_with_newrelic_trace'
[PROJECT_ROOT]/lib/tasks/braumeister.rake:14:in `block in task_with_tracing'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/bin/rake:19:in `load'
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/bin/rake:19:in `<main>'
Member

koraktor commented May 22, 2012

The initial cause for this problem, a syntax error in a formula was solved. The error handling for such cases should be improved, though.

@ghost ghost assigned koraktor May 22, 2012

Member

koraktor commented May 22, 2012

0b98c70 should fix this.

@koraktor koraktor closed this May 22, 2012

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