Hi, my quiz module got upgraded from 3.x to 4.0 before I know there were upgrade issues, so I was able to save out my quizes in CSV format and rebuilt my system only to find that in version 4 I cannot import my quizzes in CSV format.

Comments

burt.lo’s picture

In the short term, consider using http://drupal.org/project/qq_import. We've been using this for our needs lately.

sivaji_ganesh_jojodae’s picture

Category: bug » support

Import/Export code in quiz is no longer supported and they are moved to separate projects

http://drupal.org/project/quiz_ei
http://drupal.org/project/qq_import

spydmobile’s picture

thanks guys! Ill give it a try.

spydmobile’s picture

should I disable the version 4 import export modules then? Not sure why I have modules that are not supported, I deleted my whole quiz directory before installing 4.0

heidibk’s picture

I am trying to import a set of quiz questions, but I cannot get this module to work as documented:

I navigated to Administer > Quiz management > Import Quiz Questions

Click on Browse... to upload my file.
I am using a csv file that is EXACTLY the same as the example (http://drupalcode.org/project/qq_import.git/blob_plain/HEAD:/examples/mu...)
Click on Import

Error: Only files with the following extensions are allowed: txt xml jcl jqz.

This doesn't make any sense, since the module is widely discussed as working specifically with csv files! There is a drop-down list of "Import types" but the only choices are
Aiken (by Moodle)
GIFT (by Moodle)
Learnwise (by Moodle)
WebCT (by Moodle)
Moodle XML format (untested)

None of these are csv files; what gives?

Thanks,
Heidi

katin’s picture

I haven't done any importing for Quiz, so I'm just guessing here... but what happens if you add csv to the 'Default permitted file extensions' list in the admin settings for file uploads? (Found in D6 here: http://yoursite.com/admin/settings/uploads )

katin’s picture

I haven't done any importing for Quiz, so I'm just guessing here... but what happens if you add csv to the 'Default permitted file extensions' list in the admin settings for file uploads? (Found in D6 here: http://yoursite.com/admin/settings/uploads )

heidibk’s picture

katin,

I don't think that's the problem. I don't have an admin/settings/uploads page (just goes to settings), so I can't make the change you sugges. But in any case I think it's the Quiz Question Import drop-down that's giving me the problem; it tells the module how to interpret the uploaded file, so it should have a (default!) option for csv files since those are the ones given in the example documentation!

zeezhao’s picture

The only format I was able to use comfortably in past with quiz_ei is the GIFT format. But I had to fix error stated here: http://drupal.org/node/839086#comment-4935308

Also, used the latest quiz 6.x-4.2.

You should post your error on the qq_import queue, and try with latest version of quiz

djdevin’s picture

Component: Code - Import/Export » Code - Quiz core
Issue summary: View changes
Status: Active » Closed (outdated)

This issue is being closed because it is filed against a version that is no longer supported.

djdevin’s picture

This issue is being closed because it is filed against a version that is no longer supported.