"No marks computed" + Automatic scan files

Added by Matilde Pós-de-Mina Pato 11 months ago

Hello

My computer is a MacBook Pro (2017) with macOS High Sierra. And my problem is:

"No marks computed" because I can't recognise the scan files. Then, I

I visited: https://project.auto-multiple-choice.net/boards/4/topics/6456

I reinstall the Auto Multiple Choice with sudo port install auto-multiple-choice

Now, my error after run sudo port build auto-multiple-choice is

Error: Failed to build auto-multiple-choice: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_auto-multiple-choice/auto-multiple-choice/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port auto-multiple-choice failed

Best
Matilde


Replies (13)

RE: "No marks computed" + Automatic scan files - Added by Matilde Pós-de-Mina Pato 11 months ago

More, sometimes Perl quick unexpectedly!

RE: "No marks computed" + Automatic scan files - Added by Alexis Bienvenüe 11 months ago

Can you attach the mentioned log file?

RE: "No marks computed" + Automatic scan files - Added by Matilde Pós-de-Mina Pato 11 months ago

Hi

I don't know what I did wrong during the installation. Because on mac I can not access to AMCcode. In linux I have no problems.

The initial installation was made with the brew

The log file is attached

Thanks
Matilde

main.log (347.1 kB)

RE: "No marks computed" + Automatic scan files - Added by Joël Brogniart 11 months ago

Did you install fonts in /Library/Fonts as shown in Installing_AMC_with_MacPorts_on_macOS?

RE: "No marks computed" + Automatic scan files - Added by Matilde Pós-de-Mina Pato 11 months ago

Hello

I had not installed it, but that's it. Thanks :)

Now the problem is that it still does not associate the AMCCode and then I only got the correction of 1 of the 3 examples tested.

The screenshots is attached (this is a result of my test before install fonts)

Important to say that if the job is done on another machine (linux), i.e., if the pdf files was generated by linux, I can successfully get Data Capture and Marking

Now, I'm going to create a new project and generate a new test.

Thanks
Matilde

datacapture_05042018.png - Data Capture (297.7 kB)

marking_05042018.png - Marking (256.5 kB)

RE: "No marks computed" + Automatic scan files - Added by Alexis Bienvenüe 11 months ago

Can you work on a minimal source file that shows the problem, and post this file and the log file produced while testing in debugging mode (from the Help menu)?

RE: "No marks computed" + Automatic scan files - Added by Alexis Bienvenüe 11 months ago

Can you post your minimal source file? I can't download your log file: identification required.

RE: "No marks computed" + Automatic scan files - Added by Matilde Pós-de-Mina Pato 11 months ago

The files are here

I put the following definition to accept PT language (line 103-120) in automultiplechoice.sty:

\def\AMC@loc@PT{
\def\AMC@loc@draft{DRAFT}
\def\AMC@loc@message{Para revisão, é recomendado a impressão de documentos compilados deste auto-multiple-choice.}
\def\AMC@loc@qf##1{\textbf{Pergunta ##1 :}}
\def\AMC@loc@q##1##2{\textbf{Pergunta ##1} ##2}
\def\AMC@loc@corrected{Correcção}
\def\AMC@loc@catalog{Cat\'alogo}
\def\AMC@loc@none{Nenhuma destas respostas está correcta.}
}
\def\AMC@loc@PTWODRAFT{
\def\AMC@loc@draft{}
\def\AMC@loc@message{ }
\def\AMC@loc@qf##1{\textbf{Pergunta ##1 :}}
\def\AMC@loc@q##1##2{\textbf{Pergunta ##1} ##2}
\def\AMC@loc@corrected{Correcção}
\def\AMC@loc@catalog{Cat\'alogo}
\def\AMC@loc@none{Nenhuma destas respostas está correcta.}
}

Best

teste.tex - Tex - exam (3.1 kB)

automultiplechoice.sty (42.7 kB)

multiplechoicequiz.sty (9.3 kB)

RE: "No marks computed" + Automatic scan files - Added by Alexis Bienvenüe 11 months ago

Your automultiplechoice.sty seems to be an old version, which might conflict with a recent AMC installation. Can you try with the style file matching AMC's version?

RE: "No marks computed" + Automatic scan files - Added by Matilde Pós-de-Mina Pato 11 months ago

The newest version is Copyright (C) 2008-2013? I will try later!

Best

RE: "No marks computed" + Automatic scan files - Added by Matilde Pós-de-Mina Pato 11 months ago

Hello

The header is:

%
% This is file `automultiplechoice.sty',
% generated with the docstrip utility.
%
% The original source files were:
%
% automultiplechoice.dtx (with options: `package')
%
% Copyright (C) 2008-2013 Alexis Bienvenue
%
% This file is part of Auto-Multiple-Choice
%
% Auto-Multiple-Choice is free software: you can redistribute it
% and/or modify it under the terms of the GNU General Public License
% as published by the Free Software Foundation, either version 2 of
% the License, or (at your option) any later version.

Best

(1-13/13)