Exporting quizzes over from early 2015 canvas to late 2016 Canvas

44 views
Skip to first unread message

Neptronix

unread,
Jan 5, 2017, 6:37:58 AM1/5/17
to Canvas LMS Users
Hi all.. i've been hitting a wall with exporting Canvas quizzes from our old early 2015 version.. and importing them into our december 5, 2016 version that was recently installed.

First off, with the QTI converter properly installed and configured but disabled, i get this error when trying to import quizzes:

Can't export QTI without the python converter tool installed.
/var/canvas/gems/plugins/qti_exporter/lib/canvas/migration/worker/qti_worker.rb:13:in `perform' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/backend/base.rb:241:in `block in invoke_job' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/lifecycle.rb:66:in `call' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/lifecycle.rb:66:in `block in initialize' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/lifecycle.rb:71:in `call' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/lifecycle.rb:71:in `execute' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/lifecycle.rb:44:in `run_callbacks' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/backend/base.rb:238:in `invoke_job' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/worker.rb:140:in `block (2 levels) in perform' /usr/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'

However, i can import course content just fine.

The log files in /tmp do not exist when i go look for them.

If i turn the QTI convertor plugin on, i get this output:

Couldn't convert QTI 1.2 to 2.1, see error log: /tmp/job-58416-ip.172.31.20.201.1519-20170105-1519-1258ao/cm_45_user_id_1_qti/qti_conversion_error.log
/var/canvas/gems/plugins/qti_exporter/lib/qti/converter.rb:92:in `run_qti_converter' /var/canvas/gems/plugins/qti_exporter/lib/qti/converter.rb:39:in `export' /var/canvas/gems/plugins/qti_exporter/lib/canvas/migration/worker/qti_worker.rb:30:in `perform' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/backend/base.rb:241:in `block in invoke_job' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/lifecycle.rb:66:in `call' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/lifecycle.rb:66:in `block in initialize' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/lifecycle.rb:71:in `call' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/lifecycle.rb:71:in `execute' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/lifecycle.rb:44:in `run_callbacks' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/backend/base.rb:238:in `invoke_job' /var/canvas/vendor/bundle/ruby/2.2.0/gems/inst-jobs-0.11.5/lib/delayed/worker.rb:140:in `block (2 levels) in perform' /usr/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'

And also, i cannot import course content .imscc files from our other system when this plugin is turned on. I get an error. 


I have noticed that both Canvas systems ( they are on different servers and are both clean installs, by the way ) export their quizzes in version ~1.2.
The imsmanifest.xml file from both systems' exports looks like this:



That being said.. with Canvas exporting quizzes in version 1.x and only importing quizzes in 2.x.. how the heck do you transfer quizzes over? 

Neptronix

unread,
Jan 5, 2017, 7:29:49 AM1/5/17
to Canvas LMS Users
Looks like i found my error, but the error message canvas spits was misleading and sent me on a wild goose chase for hours!!!

I had the QTIMigrationTool directory in /var/canvas
It should have been in /var/canvas/vendor
Per the advice on this page: https://github.com/instructure/QTIMigrationTool/wiki

Canvas developers.. you need to change your error messages.. if the QTIMigrationTool isn't found by canvas, it shouldn't be giving an error about the version of the file you're trying to import :O

Nick Kokkos

unread,
Jan 11, 2017, 2:26:27 AM1/11/17
to Canvas LMS Users
Reply all
Reply to author
Forward
0 new messages