Quiz OMR : an extention to quiz module to support offline assessments
We have added a new patch "Quiz OMR" to "Modules and Plugins" section.
"Quiz OMR" is an extension to Moodle's "Quiz" module. Quiz OMR provides online support for managing and evaluating objective-type assessments which are conducted offline using OMR sheets.
follow the "Modules and Plugins" link for complete details.
It can be downloaded from contrib CVS.
Try out the system and please provide us with your valuable inputs to make the system better. you can post the issues related to "Quiz OMR" in tracker.
Comments and suggestions are welcome.
Thanks,
Harmeet Saini
(For Quiz OMR team)
Re: Quiz OMR : an extention to quiz module to support offline assessments
1. Place the patch file in the Moodle installation directory (e.g moodle/patchfile.diff)
2. Navigate to the Moodle directory using shell.
3. So having moodle as the current working directory type following in shell
patch -p1 < patchfile.diff
where patchfile.diff or patchfile.patch is the name of your patch file.
That way patch will be applied to Moodle.
Applying patch on a windows system
1. Download GnuWin from this link
2. create a directory named "bin" in your C drive.
3. place the patch.exe binary in C:\bin
4. Download the patch file and place it in the same directory you put Moodle (C:\moodle\QuizOMR.diff or QuizOMR.patch)
5. Open the patch file with Wordpad, and click 'File' >> 'Save as...', choose a different name for the file eg ('mynewpatch.diff') and "Save as type" >> 'Text Document - MS-DOS Format'
6. Open up a command text window, and type:
cd \moodle
c:\bin\patch.exe --dry-run -p1 < mynewpatch.diff
At this stage the patch has not been applied. We just simulated the application (with the '--dry-run' option), to see if we are going to find any problems with it.
If you do not encounter any problems go ahead with following command to actually apply the patch
7. type
cd \moodle
c:\bin\patch.exe -p1 < mynewpatch.diff
I hope it will work. If still you are facing problems, please specify where you encounter the problem and what is the error that you get.
you can always refer to the documentation "how to apply a patch"
for complete details of how to apply a patch.
dear harmeet ,
My moodle is in c:\wamp\www\
i have gone through all the steps as you said, but the executing patch .exe doesnt display anthing
step by step
1. downloaded gnuwin
2. copied patch.exe to the c:\bin
3. copied the QuizOMR.patch
4 opened QuizOMR.patch in wordpad and saved as ms-dos format, which renames the extension to txt
5. i have renamed the extension to mynewpatch.diff
6. ran the command C:\wamp\www\moodle>c:\bin\patch.exe -p1 < mynewpatch.diff
patch.exe automatically opens but nothing happens.
my bin folder in c:
my moodle folder
Please help
to Confirm that patch is applied successfuly. Follow the steps below:
(a) First refer the steps in http://moodle.org/mod/forum/discuss.php?d=146511#p673783
(b) After applying patch successfully
- Login as "Administrator" in your Moodle site
- Go to "Site Administrator" block
- And click "Notification"
- this will install new tables for the patch
- Once it shows list of table installed properly without any error
- that means your patched is applied successfuly
Hi,
I'm using moodle 1.9+ version and i install Quizomr module.The installation was successful but i find difficult to create a quiz using omr i.e Omr quiz .i create the quiz by selecting quiz type as Omr after that create some questions and added to the quiz. i also create a configuration file and add some variants but it difficult for me that how to create an omr answer sheet can anyone plz help me with detail procedure.it is very urgent.
plz help me...
thanks in advance...
Re: Quiz OMR : an extention to quiz module to support offline assessments
I am facing some issue while I am trying to apply the Quiz omr patch. I have followed the instruction given in the documentation to use Gnuwin and apply the patch.
As advised, I went on to have a dry run of the patch, but apparently I get this message in the command prompt,
*****strip count 1 is not a number
which I do not understand. Kindly help me apply the patch.
Re: Quiz OMR : an extention to quiz module to support offline assessments
Re: Quiz OMR : an extention to quiz module to support offline assessments
Hi Jayabal,
I tried the same step for the fresh Moodle and found the same error.
Now, try the following Steps:
- Go to moodle/mod/quiz/version.php copy the value of $module->version
- Open the patch file in text editor and rename as "newfilepatchname.diff"
- Go to your newfilepatch.diff file
- Open the file and edit the $module->version at line no : 3577 which you copied earlier from version.php file.
- Now, Copy the diff file
And try the command to check the patch is OK or Not,
"C:\Program Files\GnuWin32\bin\patch.exe" --dry-run --binary -p1 < diffomrquiz.diff
it will show some records like :
patching file course/modedit.php
patching file lang/en_utf8/help/quiz/omranswers.html
patching file lang/en_utf8/help/quiz/omrattempts.html
patching file lang/en_utf8/help/quiz/omrattendance.html
patching file lang/en_utf8/help/quiz/omrconfigupload.html
patching file lang/en_utf8/help/quiz/omrdiagnostics.html
patching file lang/en_utf8/help/quiz/omrvariant.html
patching file lang/en_utf8/help/quiz/quiztype.html
if their is no error like "Hunk error" than try below command to apply the patch
"C:\Program Files\GnuWin32\bin\patch.exe" --binary -p1 < diffomrquiz.diff
Note Usage of options:--dry-run : Print the results of applying the patches without actually changing any files
--binary : Read and write all files in binary mode.
On systems like DOS where this option makes a difference, the patch should be generated by diff −a −−binary.
Jalpa
Re: Quiz OMR : an extention to quiz module to support offline assessments
Re: Quiz OMR : an extention to quiz module to support offline assessments
Hill all
I just installed moodle and tried to install the quizomr.batch and I always have the same error : **** malformed patch at line 409 with or without the --binary option :
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\moodle>c:\bin\patch
.exe --dry-run --binary -p1 <quizomr.diff
(Stripping trailing CRs from patch.)
patching file course/modedit.php
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omranswers.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omrattempts.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omrattendance.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omrconfigupload.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omrdiagnostics.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omrvariant.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/quiztype.html
c:\bin\patch.exe: **** malformed patch at line 409:
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\moodle>c:\bin\patch
.exe --binary -p1 <quizomr.diff
(Stripping trailing CRs from patch.)
patching file course/modedit.php
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omranswers.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omrattempts.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omrattendance.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omrconfigupload.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omrdiagnostics.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/omrvariant.html
(Stripping trailing CRs from patch.)
patching file lang/en_utf8/help/quiz/quiztype.html
c:\bin\patch.exe: **** malformed patch at line 409:
If somenone can help... that would be great !!!
thanks
Re: Quiz OMR : an extention to quiz module to support offline assessments
Re: Quiz OMR : an extention to quiz module to support offline assessments
I have followed the above instruction everthing went fine but i didnt get records in d end like
patching file course/modedit.php
patching file lang/en_utf8/help/quiz/omranswers.html
patching file lang/en_utf8/help/quiz/omrattempts.html
patching file lang/en_utf8/help/quiz/omrattendance.html
patching file lang/en_utf8/help/quiz/omrconfigupload.html
patching file lang/en_utf8/help/quiz/omrdiagnostics.html
patching file lang/en_utf8/help/quiz/omrvariant.html
patching file lang/en_utf8/help/quiz/quiztype.html
have i succesfully updated my moodle patch or not??
HELP ME........!!!!!!!!
Re: Quiz OMR : an extention to quiz module to support offline assessments
Hiii Jalpa
I have followed the above instruction everthing went fine but i didnt get records in d end like
patching file course/modedit.php
patching file lang/en_utf8/help/quiz/omranswers.html
patching file lang/en_utf8/help/quiz/omrattempts.html
patching file lang/en_utf8/help/quiz/omrattendance.html
patching file lang/en_utf8/help/quiz/omrconfigupload.html
patching file lang/en_utf8/help/quiz/omrdiagnostics.html
patching file lang/en_utf8/help/quiz/omrvariant.html
patching file lang/en_utf8/help/quiz/quiztype.html
have i succesfully updated my moodle patch or not??
HELP ME........!!!!!!!!
Re: Quiz OMR : an extention to quiz module to support offline assessments
Hiii Jalpa
I have followed the above instruction everthing went fine but i didnt get records in d end like
patching file course/modedit.php
patching file lang/en_utf8/help/quiz/omranswers.html
patching file lang/en_utf8/help/quiz/omrattempts.html
patching file lang/en_utf8/help/quiz/omrattendance.html
patching file lang/en_utf8/help/quiz/omrconfigupload.html
patching file lang/en_utf8/help/quiz/omrdiagnostics.html
patching file lang/en_utf8/help/quiz/omrvariant.html
patching file lang/en_utf8/help/quiz/quiztype.html
have i succesfully updated my moodle patch or not??
HELP ME........!!!!!!!!
Re: Quiz OMR : an extention to quiz module to support offline assessments
Re: Quiz OMR : an extention to quiz module to support offline assessments
Re: Quiz OMR : an extention to quiz module to support offline assessments
Hiii Jalpa
I have followed the above instruction everthing went fine but i didnt get records in d end like
patching file course/modedit.php
patching file lang/en_utf8/help/quiz/omranswers.html
patching file lang/en_utf8/help/quiz/omrattempts.html
patching file lang/en_utf8/help/quiz/omrattendance.html
patching file lang/en_utf8/help/quiz/omrconfigupload.html
patching file lang/en_utf8/help/quiz/omrdiagnostics.html
patching file lang/en_utf8/help/quiz/omrvariant.html
patching file lang/en_utf8/help/quiz/quiztype.html
have i succesfully updated my moodle patch or not??
HELP ME........!!!!!!!!
Re: Quiz OMR : an extention to quiz module to support offline assessments
Re: Quiz OMR : an extention to quiz module to support offline assessments
Re: Quiz OMR : an extention to quiz module to support offline assessments
I'm having some difficulty applying the patch. To apply the quizomr patch, I did these steps -
1. Installed moodle at C:\wamp\www\moodle
2. Downloaded gnuwin32 and saved it at C:\bin\patch.exe
3. I opened quizomr.patch in wordpad, saved it as mynewpatch.diff as a Text Document MS Dos format in the same directory where moodle is installed, ie in C:\wamp\www\moodle
4. I opened command line and entered the following -
cd wamp\www\moodle c:\bin\patch.exe --dry-run -p1 < mynewpatch.diff
But I get this error -
This system cannot find the file specified.
My problem is same as the problem of Sojan chandy തേരകം in this thread but I'm unable to find a solution even after reading all the posts here.