AMCcodeGridInt result not find ?

Added by Julien GIBELIN over 2 years ago

Dear all,

I am using AMCcodeGridInt for the student to enter their ID number.

I have done this in the past with success.

In principle I just made a new version of my document but this time, in the GUI
when I try to associate the list of student with their work, the GUI does not give
me any candidate in the scanned documents. Note that the layout seems to be found.

What can I do to debug this situation?

Thank you in advance,
Regards

Screenshot_2022-06-15_07-55-26.png - Screenshot for the assosication page (56.8 kB)

Screenshot_2022-06-15_07-57-13.png - Screenshot for the layout (88.7 kB)


Replies (9)

RE: AMCcodeGridInt result not find ? - Added by Alexis Bienvenüe over 2 years ago

Can you select something from the menu `Code name for automatic association'?

RE: AMCcodeGridInt result not find ? - Added by Julien GIBELIN over 2 years ago

Thank you for you answer, no I can not select anything which is the problem

RE: AMCcodeGridInt result not find ? - Added by Alexis Bienvenüe over 2 years ago

Can you try the following commands from the project directory, and report the output?

sqlite3 data/layout.sqlite 'select * from layout_variables;'
sqlite3 data/layout.sqlite 'select name from layout_question'

RE: AMCcodeGridInt result not find ? - Added by Julien GIBELIN over 2 years ago

Here are the output of the two commands :


sqlite3 data/layout.sqlite 'select * from layout_variables;'
version|7
build:lang|FR
build:postcorrect|no
build:ncopies|111
build:version|2018/12/29 v1.4.0 r:c6041a1
build:insidebox|no
build:outsidebox|no
build:codedigit|squarebrackets
build:ensemble|no


sqlite3 data/layout.sqlite 'select name from layout_question'
etu[8]
etu[7]
etu[6]
etu[5]
etu[4]
etu[3]
etu[2]
etu[1]
onepart
photon
rnrj
antiorneutrino
ev
conservation
tdemi
partneut
zinalpha
pmass
eqtmvPhoton
beta3body
a
z
Qvalue
filsZprod
filsAprod
ConsE
QE
Ecfctv
Pcfctv
Ecfctp
ConsP
LienEcs
Eex
EexAN
NonRel
vitesseFils
filsZdecay
filsAdecay
decayeqn
t12lambda
lambda
decayformula
ratio
tbio
rqtmv
gamma
nmass

The name given to AMCcodeGridInt is "etu" with 8 boxes \AMCcodeGridInt{etu}{8}

So looking at these outputs I would think this is well registered, no ?

RE: AMCcodeGridInt result not find ? - Added by Alexis Bienvenüe over 2 years ago

So looking at these outputs I would think this is well registered, no ?

Yes. Which AMC version are you working with?

RE: AMCcodeGridInt result not find ? - Added by Julien GIBELIN over 2 years ago

1.4.0 on a Linux box (Ubuntu)

RE: AMCcodeGridInt result not find ? - Added by Julien GIBELIN over 2 years ago

Alexis,

is there a way to dump any debug information onto a log file or a console?

Regards

RE: AMCcodeGridInt result not find ? - Added by Julien GIBELIN over 2 years ago

Now it is working, for whatever reasons I had to restart the marking procedure and I check the "update marking scale" just in case.

The GUI found the grid code...

Maybe this is because this examination was a modified copy of another one and some file/database has not been properly updated ?

Regards
JG

RE: AMCcodeGridInt result not find ? - Added by Alexis Bienvenüe over 2 years ago

Thanks for the report.

Maybe this is because this examination was a modified copy of another one and some file/database has not been properly updated ?

Maybe, I couldn´t say right row.

(1-9/9)