Skip to content

Instantly share code, notes, and snippets.

@danmaclean
Created April 23, 2013 14:51
Show Gist options
  • Save danmaclean/5444205 to your computer and use it in GitHub Desktop.
Save danmaclean/5444205 to your computer and use it in GitHub Desktop.
rake repo:export fails - reference without ID in my DB.
rake repo:export
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /Users/macleand/Downloads/gee_fu-experimental-8/Rakefile:7)
rake aborted!
Couldn't find Reference without an ID
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:312:in `find_with_ids'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/activerecord-3.2.13/lib/active_record/relation/finder_methods.rb:107:in `find'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/activerecord-3.2.13/lib/active_record/querying.rb:5:in `find'
/Users/macleand/Downloads/gee_fu-experimental-8/app/models/feature.rb:225:in `to_gff'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/features_gff_exporter.rb:8:in `block in export'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/activerecord-3.2.13/lib/active_record/associations/collection_proxy.rb:89:in `map'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/activerecord-3.2.13/lib/active_record/associations/collection_proxy.rb:89:in `method_missing'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/features_gff_exporter.rb:8:in `export'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/experiment_repository.rb:28:in `block in write_features_gff'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/experiment_repository.rb:28:in `open'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/experiment_repository.rb:28:in `write_features_gff'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/experiment_repository.rb:13:in `create'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/genome_repository.rb:17:in `block in create'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/activerecord-3.2.13/lib/active_record/associations/collection_proxy.rb:89:in `each'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/activerecord-3.2.13/lib/active_record/associations/collection_proxy.rb:89:in `method_missing'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/genome_repository.rb:16:in `create'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/organism_repository.rb:17:in `block in create'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/activerecord-3.2.13/lib/active_record/associations/collection_proxy.rb:89:in `each'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/gems/activerecord-3.2.13/lib/active_record/associations/collection_proxy.rb:89:in `method_missing'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/organism_repository.rb:16:in `create'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/root_repository.rb:27:in `block in make_organism_folders'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/root_repository.rb:26:in `each'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/root_repository.rb:26:in `make_organism_folders'
/Users/macleand/Downloads/gee_fu-experimental-8/app/repository/root_repository.rb:12:in `create'
/Users/macleand/Downloads/gee_fu-experimental-8/lib/tasks/repo.rake:4:in `block (2 levels) in <top (required)>'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/task.rb:246:in `call'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/task.rb:246:in `block in execute'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/task.rb:241:in `each'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/task.rb:241:in `execute'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/task.rb:184:in `block in invoke_with_call_chain'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/task.rb:177:in `invoke_with_call_chain'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/task.rb:170:in `invoke'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/application.rb:143:in `invoke_task'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block (2 levels) in top_level'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `each'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/application.rb:101:in `block in top_level'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/application.rb:110:in `run_with_threads'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/application.rb:95:in `top_level'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/application.rb:73:in `block in run'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/application.rb:160:in `standard_exception_handling'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@global/gems/rake-10.0.4/lib/rake/application.rb:70:in `run'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/bin/ruby_noexec_wrapper:14:in `eval'
/Users/macleand/.rvm/gems/ruby-1.9.3-p286@gee_fu/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => repo:export
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment