"No data"

Added by Ståle Freyer about 12 years ago

I've constructed an answering sheet, checked layout, printed and scanned. When I scan the sheet, and tries automatic datacapture, I get "no data".

I've spent some hours in trying to find out what's wrong, to no avail.

Please, anyone?

ING100.7z - Project (2.7 MB)


Replies (10)

RE: "No data" - Added by Alexis Bienvenüe about 12 years ago

When I try automatic data capture from your project directory, AMC successfully processes the scan. Can you send a log file produced by AMC in debugging mode (from the Help menu) during automatic data capture? Can you send your $HOME/.AMC.d directory to look at your global preferences?
It seems that the paper size of the scan does not match the paper size of the subject (A4). Was the scan cropped?

RE: "No data" - Added by Ståle Freyer about 12 years ago

Here goes...

state.xml (298 Bytes)

cf.default.xml (3.4 kB)

RE: "No data" - Added by Ståle Freyer about 12 years ago

And of course the log...

RE: "No data" - Added by Alexis Bienvenüe about 12 years ago

In the log, the lines

AMC::Image: No program to execute at /usr/share/perl5/AMC/Image.pm line 56.

suggest that AMC does not find the AMC-detect command where it should be. How did you install AMC? Can you try something like locate AMC-detect to see if this file is present on your system?

RE: "No data" - Added by Ståle Freyer about 12 years ago

Well spotted! I´m running Ubuntu 12.10 (32-bit) in Virtual Box on two different machines. AMC was installed through software centre. AMC-detect is absent on both systems. Any ideas?

FYI: I´m pretty uncomfortable in compiling source code...

RE: "No data" - Added by Alexis Bienvenüe about 12 years ago

Maybe only the auto-multiple-choice-common is installed, and not auto-multiple-choice.
Could you try the following command in a terminal?

sudo apt-get install auto-multiple-choice

RE: "No data" - Added by Ståle Freyer about 12 years ago

Not good, but brilliant!

This did the trick. Thanks!

The only question left is why it did not work by installing from Software centre. Either way, I´m happy!

RE: "No data" - Added by Alexis Bienvenüe about 12 years ago

The only question left is why it did not work by installing from Software centre.

When you are looking for AMC in the software center, you get the auto-multiple-choice-common as an application package (with AMC logo), and auto-multiple-choice as a simple package, so you are encouraged to install auto-multiple-choice-common instead of auto-multiple-choice. I think that's because the menu file is package inside auto-multiple-choice-common, as it is architecture-independent... I don't know what is the right solution to this problem. Perhaps I should package the menu file in the auto-multiple-choice package?

RE: "No data" - Added by Ståle Freyer about 12 years ago

I'm still missing the final touch.

I've read all my (simulated pages), checked correct representation of checked and unchecked boxes, entered "Marking", [Mark] with "update marking scale" selected and identified "teacher's sheet" with the correct answers.

When I [Look at marks], it's all zeroes. Even the teacher's sheet is all zeroes.

In the LaTeX code I use

\usepackage[postcorrect, lang=NO, insidebox, noshuffle]{automultiplechoice} 

What am I missing?

(I've included Norwegian in automultiplechoice.sty. For the interested party:

\def\AMC@loc@NO{
  \def\AMC@loc@draft{UTKAST}
  \def\AMC@loc@message{Det anbefales {\aa} skrive ut dokumentet
  for gjennomgang \\direkte fra auto-multiple-choice.}
  \def\AMC@loc@qf##1{\textbf{Oppgave ##1 :}}
  \def\AMC@loc@q##1##2{\textbf{Oppgave ##1} ##2}
  \def\AMC@loc@corrected{Rettet}
  \def\AMC@loc@catalog{Katalog}
  \def\AMC@loc@none{Ingen svar er riktige.}
}

)

RE: "No data" - Added by Alexis Bienvenüe about 12 years ago

In your LaTeX subject file, you did not use neither the onecopy command nor the examcopy environment. You must use one of them.
  • If you choose to print different answer sheets, write the questions texts before onecopy/examcopy, and then describe the answer sheet inside onecopy/examcopy. You will have to produce and print as many answer sheets as students.
  • If you choose to photocopy the subject and answer sheet, write all your subject and answer sheet inside onecopy/examcopy, print one copy and photocopy it.

I've included Norwegian in automultiplechoice.sty. For the interested party:

Thanks. I will include it in a coming release.

(1-10/10)