ralli / migrate_from_bugzilla

bugzilla to redmine migration rake task
15 stars 14 forks source link

rake aborted! #7

Closed diimdeep closed 13 years ago

diimdeep commented 13 years ago

category migrated successful. but.. terminated, and attachments not migrate. don't know why.. prev. version 9106da93 work good, till the end but without category.

......................................
Migrating attachments........rake aborted!
Validation failed: File can't be blank
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/validations.rb:1102:in `save_without_dirty!'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/dirty.rb:87:in `save_without_transactions!'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/transactions.rb:200:in `save!'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/connection_adapters/abstract/database_statements.rb:136:in `transaction'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/transactions.rb:182:in `transaction'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/transactions.rb:200:in `save!'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/transactions.rb:208:in `rollback_active_record_state!'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/transactions.rb:200:in `save!'
/opt/redmine-1.1.3-1/apps/redmine/lib/tasks/migrate_from_bugzilla.rake:422:in `migrate_attachments'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/batches.rb:26:in `find_each'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/batches.rb:26:in `each'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/batches.rb:26:in `find_each'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/batches.rb:66:in `find_in_batches'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.11/lib/active_record/batches.rb:25:in `find_each'
/opt/redmine-1.1.3-1/apps/redmine/lib/tasks/migrate_from_bugzilla.rake:416:in `migrate_attachments'
/opt/redmine-1.1.3-1/apps/redmine/lib/tasks/migrate_from_bugzilla.rake:511
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/opt/redmine-1.1.3-1/ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/opt/redmine-1.1.3-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
/opt/redmine-1.1.3-1/ruby/bin/rake:19:in `load'
/opt/redmine-1.1.3-1/ruby/bin/rake:19
bash-4.1# 
ralli commented 13 years ago

Should work now

diimdeep commented 13 years ago

It works ! big thanks.