Exports failing to import

116 views
Skip to first unread message

George

unread,
Jan 10, 2012, 11:04:13 AM1/10/12
to Canvas LMS Users
Hi all, I've seen this on earlier threads but was wondering if there
are any updates. I've created a very basic course, exported it, then
tried to import it into a new course, and the .imscc file import fails
with the error below. Does anyone happen to have any tips on how to
debug? (I have followed the previous guidance on the QTI importer
script.)

Thank you,
-George

category: content_migration

exception_message: undefined method `[]' for nil:NilClass

/mnt/storage/canvas/lib/canvas/migration/migrator.rb:45:in
`initialize'
/mnt/storage/canvas/lib/cc/importer/canvas/converter.rb:33:in
`initialize'
/mnt/storage/canvas/lib/cc/importer/cc_worker.rb:32:in `new'
/mnt/storage/canvas/lib/cc/importer/cc_worker.rb:32:in `perform'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/backend/
base.rb:96:in `invoke_job'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:
124:in `perform'
/usr/lib/ruby/1.8/timeout.rb:62:in `timeout'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:
124:in `perform'
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:
123:in `perform'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:
96:in `run'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:
195:in `configure_for_job'
/usr/lib/ruby/1.8/tmpdir.rb:129:in `mktmpdir'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:
193:in `configure_for_job'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:
94:in `run'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:
69:in `start'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:
68:in `loop'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:
68:in `start'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:
121:in `spawn_worker'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:
118:in `fork'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:
118:in `spawn_worker'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:
160:in `join'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:
152:in `loop'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:
152:in `join'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:
76:in `start'
/mnt/storage/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:
45:in `run'
/mnt/storage/canvas/script/delayed_job:5

Bracken Mosbacker

unread,
Jan 10, 2012, 11:17:40 AM1/10/12
to canvas-l...@googlegroups.com
George,
That could be because you need to make a config for external migrations. in your apps /config directory you can just copy "external_migration.yml.example" to be "external_migration.yml".

That config file should really be optional, but it's not right now. I updated the wiki directions on github so others won't have this problem.

-bracken

George

unread,
Jan 10, 2012, 2:02:32 PM1/10/12
to Canvas LMS Users
You all rock. Confirming that it is working now. Thank you so much!

Cheers,
-George

On Jan 10, 11:17 am, Bracken Mosbacker <brac...@instructure.com>
wrote:

Zach Wily

unread,
Jan 10, 2012, 2:06:34 PM1/10/12
to canvas-l...@googlegroups.com
You're welcome!

Feel free to join us in our irc room on freenode: #canvas-lms

-- 
Zach Wily
VP of Engineering, Instructure

Reply all
Reply to author
Forward
Message has been deleted
0 new messages