Forum archive
Canvas 13.0 won't import course
I was able to get Canvas going fine. I exported a course from my production (hosted version from Instructure) but when I tried to import it into a new course I created, the browser just froze.
Below is the end of the production.log -- I can attached the whole thing if that would be useful.
Thanks,
James
root@canvas canvas/log# tail production.log
[ec1e5592031cfad3dabadebd6d83d5ab 1ff050c0-488c-0131-ba6b-000c29c9a50c] Parameters: {"error"=>{"message"=>"Uncaught TypeError: Function.prototype.apply: Arguments list has wrong type", "line"=>"353", "url"=>"https://128.143.171.5/optimized/compiled/bundles/common.js?1381850893", "platform"=>"Win32", "action"=>"https://128.143.171.5/courses/2/content_migrations", "user_name"=>"admin@example.com", "user_agent"=>"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.76 Safari/537.36", "parentPage"=>"https://128.143.171.5/courses/2/content_migrations"}, "action"=>"record_js_error", "controller"=>"info"}
[ec1e5592031cfad3dabadebd6d83d5ab 1ff050c0-488c-0131-ba6b-000c29c9a50c] Pseudonym Load (0.2ms) SELECT * FROM `pseudonyms` WHERE (`pseudonyms`.`id` = 1) LIMIT 1
[ec1e5592031cfad3dabadebd6d83d5ab 1ff050c0-488c-0131-ba6b-000c29c9a50c] User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)
[ec1e5592031cfad3dabadebd6d83d5ab 1ff050c0-488c-0131-ba6b-000c29c9a50c] SQL (0.1ms) BEGIN
[ec1e5592031cfad3dabadebd6d83d5ab 1ff050c0-488c-0131-ba6b-000c29c9a50c] ErrorReport Create (0.6ms) INSERT INTO `error_reports` (`backtrace`, `url`, `message`, `comments`, `user_id`, `created_at`, `updated_at`, `email`, `during_tests`, `user_agent`, `request_method`, `http_env`, `subject`, `request_context_id`, `account_id`, `zendesk_ticket_id`, `data`, `category`) VALUES('https://128.143.171.5/optimized/compiled/bundles/common.js?1381850893', 'https://128.143.171.5/optimized/compiled/bundles/common.js?1381850893', 'Uncaught TypeError: Function.prototype.apply: Arguments list has wrong type', NULL, NULL, '2013-12-16 14:27:32', '2013-12-16 14:27:32', 'unknown-www-example-com@instructure.example.com', 0, 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.76 Safari/537.36', NULL, NULL, NULL, NULL, NULL, NULL, '--- \nline: \"353\"\nplatform: Win32\naction: https://128.143.171.5/courses/2/content_migrations\nuser_name: admin@example.com\nparentPage: https://128.143.171.5/courses/2/content_migrations\n', 'javascript')
[ec1e5592031cfad3dabadebd6d83d5ab 1ff050c0-488c-0131-ba6b-000c29c9a50c] SQL (2.8ms) COMMIT
[ec1e5592031cfad3dabadebd6d83d5ab 1ff050c0-488c-0131-ba6b-000c29c9a50c] Created ErrorReport ID 146
[ec1e5592031cfad3dabadebd6d83d5ab 1ff050c0-488c-0131-ba6b-000c29c9a50c] Completed in 203ms (View: 1, DB: 4) | 200 OK [https://128.143.171.5/record_js_error?error[message]=Uncaught%20TypeErro...@example.com&error[user_agent]=Mozilla/5.0%20%28Windows%20NT%206.1%3B%20WOW64%29%20AppleWebKit/537.36%20%28KHTML%2C%20like%20Gecko%29%20Chrome/32.0.1700.76%20Safari/537.36&error[parentPage]=https%3A//128.143.171.5/courses/2/content_migrations&]
[ec1e5592031cfad3dabadebd6d83d5ab 1ff050c0-488c-0131-ba6b-000c29c9a50c] [STAT] 456600 451652 -4948 456600 0.21000000000000085 0
[ec1e5592031cfad3dabadebd6d83d5ab 1ff050c0-488c-0131-ba6b-000c29c9a50c] request throttling increment: [0.21410852400000085,-50,1387204052.9393144,"1",50,1387204052.728]
Bugger... I hoped that might have worked...
Judging by the errors I'm guessing that the QTI converter is already installed but not where the docs say it 'should' be... Looks like it might be in /var/www/canvas/vendor/plugins/qti_exporter/lib/qti/
Sorry for leading you astray... I have no further ideas without installing and sitting down and having a play with it. Not sure when I'll have time for that. I'll see what I can do...
Thanks for your patience and sorry that I couldn't help as easily as I might have hoped...
PS FWIW I have created another (new) issue