Copying content from one course to another fails to copy quizzes (no errors; it just doesn't happen)

669 views
Skip to first unread message

hazem...@gmail.com

unread,
May 14, 2013, 2:43:43 AM5/14/13
to canvas-l...@googlegroups.com
We followed the instructions in the manual (http://guides.instructure.com/s/2204/m/4152/l/57077-how-do-i-import-content-from-another-canvas-course) to copy content from one course to another and found this very weird problem. Even if we select 'Copy everything..', the quizzes from the source course never get copied to the target course. Individually selecting just the quizzes to copy, doesn't work either. Both the courses are published. It is also interesting that, in the course import wizard, the 'Import Quizzes (if any)' option  is always missing.

Please see the images (below) from the manual to relate to my references in the problem description. 

Any ideas, guys ?

Thanks,
Hazem

Copy ContentCopy All Content
Message has been deleted
Message has been deleted

hazem...@gmail.com

unread,
May 14, 2013, 7:09:24 AM5/14/13
to canvas-l...@googlegroups.com, hazem...@gmail.com
Exported the quizzes from the source course and tried importing it to the target course. The import failed with the following error,

 Can't export QTI without the python converter tool installed.

category: content_migration
created at: 2013-05-14 03:20:54 -0600

        Can't export QTI without the python converter tool installed.
/var/www/canvas/vendor/plugins/qti_exporter/lib/workers/qti_worker.rb:10:in `perform' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/backend/base.rb:191:in `invoke_job' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:135:in `block (2 levels) in perform' /usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:135:in `block in perform' /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:129:in `perform' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:102:in `block in run' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:198:in `block in configure_for_job' /usr/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:196:in `configure_for_job' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:100:in `run' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:75:in `block in start' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:74:in `loop' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:74:in `start' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:149:in `block in spawn_worker' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:145:in `fork' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:145:in `spawn_worker' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:132:in `block (2 levels) in spawn_all_workers' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:132:in `times' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:132:in `block in spawn_all_workers' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:130:in `each' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:130:in `spawn_all_workers' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:92:in `start' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:51:in `run' script/delayed_job:5:in `<main>'

hazem...@gmail.com

unread,
May 14, 2013, 7:10:09 AM5/14/13
to canvas-l...@googlegroups.com, hazem...@gmail.com
Tried https://github.com/instructure/QTIMigrationTool/wiki . The QTI .zip import still fails with the same error.


On Tuesday, 14 May 2013 12:13:43 UTC+5:30, hazem...@gmail.com wrote:
Message has been deleted

hazem...@gmail.com

unread,
May 14, 2013, 7:16:59 AM5/14/13
to canvas-l...@googlegroups.com, hazem...@gmail.com
Enabled the QTI converter plugin (disabled by default) and now the 'Import Quizzes (if any)' option is displayed in the course import wizard. 

Now, the import throws the following error,

Couldn't convert QTI 1.2 to 2.1, see error log: /tmp/job-26339-ip.<IP>.24900-20130514-24900-pobn1j/cm_39_user_id_1_qti/qti_conversion_error.log

category: content_migration
created at: 2013-05-14 05:00:27 -0600

        Couldn't convert QTI 1.2 to 2.1, see error log: /tmp/job-26339-ip.<IP>.24900-20130514-24900-pobn1j/cm_39_user_id_1_qti/qti_conversion_error.log
/var/www/canvas/vendor/plugins/qti_exporter/lib/qti/converter.rb:75:in `run_qti_converter' /var/www/canvas/vendor/plugins/qti_exporter/lib/qti/converter.rb:32:in `export' /var/www/canvas/vendor/plugins/qti_exporter/lib/workers/qti_worker.rb:19:in `perform' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/backend/base.rb:191:in `invoke_job' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:135:in `block (2 levels) in perform' /usr/lib/ruby/1.9.1/timeout.rb:68:in `timeout' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:135:in `block in perform' /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:129:in `perform' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:102:in `block in run' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:198:in `block in configure_for_job' /usr/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:196:in `configure_for_job' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:100:in `run' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:75:in `block in start' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:74:in `loop' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/worker.rb:74:in `start' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:149:in `block in spawn_worker' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:145:in `fork' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:145:in `spawn_worker' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:132:in `block (2 levels) in spawn_all_workers' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:132:in `times' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:132:in `block in spawn_all_workers' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:130:in `each' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:130:in `spawn_all_workers' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:92:in `start' /var/www/canvas/vendor/plugins/delayed_job/lib/delayed/pool.rb:51:in `run' script/delayed_job:5:in `<main>'

On Tuesday, 14 May 2013 12:13:43 UTC+5:30, hazem...@gmail.com wrote:

hazem...@gmail.com

unread,
May 14, 2013, 7:23:16 AM5/14/13
to canvas-l...@googlegroups.com, hazem...@gmail.com
'Copy content from XXXX' displayed the error 'Course Import failed with the following error: "import_42" in red at the top. The 42 gets incremented if I keep trying.


On Tuesday, 14 May 2013 12:13:43 UTC+5:30, hazem...@gmail.com wrote:

Varghese

unread,
May 14, 2013, 2:25:26 PM5/14/13
to canvas-l...@googlegroups.com

Hi,

What is the Operating System  which you used for installing the canvas application ??

I faced the same issue when i installed Canvas on Centos 5.6. The issue got resolved when i upgraded the OS version to centos 6.3.

This information may help you to reach to the root cause of your issue.

--
Varghese

hazem...@gmail.com

unread,
May 15, 2013, 3:50:35 AM5/15/13
to canvas-l...@googlegroups.com, hazem...@gmail.com
Hi Varghese,

      Thanks for the hint. We are using Ubuntu 12.04 LTS as the server OS. This is the officially recommended linux distro for Canvas.

-Hazem


On Tuesday, 14 May 2013 12:13:43 UTC+5:30, hazem...@gmail.com wrote:

hazem...@gmail.com

unread,
May 15, 2013, 6:58:02 AM5/15/13
to canvas-l...@googlegroups.com, hazem...@gmail.com
 https://github.com/instructure/QTIMigrationTool/wiki indeed solved the problem. We tried this the wrong way last time.


On Tuesday, 14 May 2013 12:13:43 UTC+5:30, hazem...@gmail.com wrote:

ksn...@gmail.com

unread,
Apr 1, 2015, 6:07:16 AM4/1/15
to canvas-l...@googlegroups.com, hazem...@gmail.com
How did you enable the QTI converter plugin?
Reply all
Reply to author
Forward
0 new messages