Open xavisanchez opened 4 years ago
Thanks for contributing to this issue. As it has been 2 years since the last activity, we are automatically closing the issue in 30 days. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please respond before the issue is closed, or post a message on the mailing list. We'll gladly take a look again!
Error when importing a zip file with common cartrigde type. What is the solution?
49455 undefined method `start_with?' for nil:NilClass
categoría: content_migration creado en: 2019-12-16 16:46:17 +0100
pid: 2558 type: content_migration
undefined method `start_with?' for nil:NilClass
/var/canvas/lib/canvas/migration/migrator.rb:139:in'
any?' /var/canvas/lib/canvas/migration/migrator.rb:139:in
block in resources_by_type' /var/canvas/lib/canvas/migration/migrator.rb:139:ineach' /var/canvas/lib/canvas/migration/migrator.rb:139:in
find_all' /var/canvas/lib/canvas/migration/migrator.rb:139:inresources_by_type' /var/canvas/lib/cc/importer/standard/webcontent_converter.rb:26:in
create_file_map' /var/canvas/lib/cc/importer/standard/converter.rb:58:inconvert' /var/canvas/lib/cc/importer/cc_worker.rb:49:in
perform' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/backend/base.rb:253:inblock in invoke_job' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:66:in
block in initialize' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:71:inexecute' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:44:in
run_callbacks' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/backend/base.rb:250:ininvoke_job' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-inst-jobs-1.1.7/lib/switchman_inst_jobs/delayed/backend/base.rb:61:in
block in invoke_job' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-1.12.8/app/models/switchman/shard_internal.rb:582:inblock in activate' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-1.12.8/app/models/switchman/shard_internal.rb:86:in
activate' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-1.12.8/app/models/switchman/shard_internal.rb:581:inactivate' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-inst-jobs-1.1.7/lib/switchman_inst_jobs/delayed/backend/base.rb:61:in
invoke_job' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:188:inblock (2 levels) in perform' /home/ubuntu/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/benchmark.rb:308:in
realtime' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:182:inblock in perform' /var/canvas/config/initializers/delayed_job.rb:167:in
block (2 levels) in <top (required)>' /var/canvas/vendor/bundle/ruby/2.4.0/gems/canvas_statsd-2.0.4/lib/canvas_statsd/statsd.rb:81:inbatch' /var/canvas/config/initializers/delayed_job.rb:166:in
block in <top (required)>' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:84:inblock (2 levels) in add' /var/canvas/config/initializers/delayed_job.rb:128:in
block (2 levels) in <top (required)>' /var/canvas/vendor/bundle/ruby/2.4.0/gems/canvas_statsd-2.0.4/lib/canvas_statsd/statsd.rb:75:intime' /var/canvas/config/initializers/delayed_job.rb:127:in
block in <top (required)>' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:84:inblock (2 levels) in add' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:66:in
block in initialize' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:84:inblock in add' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:84:in
block in add' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:71:inexecute' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:44:in
run_callbacks' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:179:inperform' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:152:in
block (2 levels) in run' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:249:inblock in configure_for_job' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:40:in
running_job' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:245:inconfigure_for_job' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:151:in
block in run' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:66:inblock in initialize' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:71:in
execute' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:44:inrun_callbacks' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:144:in
run' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-inst-jobs-1.1.7/lib/switchman_inst_jobs/delayed/worker.rb:26:inblock in run' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-1.12.8/app/models/switchman/shard_internal.rb:582:in
block in activate' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-1.12.8/app/models/switchman/shard_internal.rb:86:inactivate' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-1.12.8/app/models/switchman/shard_internal.rb:581:in
activate' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-inst-jobs-1.1.7/lib/switchman_inst_jobs/delayed/worker.rb:26:inrun' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:124:in
block in start' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:66:inblock in initialize' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:71:in
execute' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/lifecycle.rb:44:inrun_callbacks' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/worker.rb:122:in
start' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-inst-jobs-1.1.7/lib/switchman_inst_jobs/delayed/worker.rb:19:inblock in start' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-1.12.8/lib/switchman/default_shard.rb:6:in
activate' /var/canvas/vendor/bundle/ruby/2.4.0/gems/switchman-inst-jobs-1.1.7/lib/switchman_inst_jobs/delayed/worker.rb:19:instart' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:97:in
block in spawn_worker' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:108:inblock in fork_with_reconnects' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:105:in
fork' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:105:infork_with_reconnects' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:96:in
spawn_worker' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:74:inblock (2 levels) in spawn_all_workers' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:74:in
times' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:74:inblock in spawn_all_workers' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:73:in
each' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:73:inspawn_all_workers' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/pool.rb:40:in
start' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/cli.rb:96:instart' /var/canvas/vendor/bundle/ruby/2.4.0/gems/inst-jobs-0.14.8/lib/delayed/cli.rb:48:in
run' /var/canvas/script/delayed_job:11:in `