Forums » Using AMC (english) »
pdfform layout detection problem
Added by Wenceslao González-Viñas almost 7 years ago
Hi,
I am trying to use pdfform option in AMC and after perfect compilation, when I click 'Layout detection' AMC is giving the following error message (I attach full log):
-----
No layout detected ....
----
SQL ERROR: DBD::SQLite::st execute failed: UNIQUE constraint failed: layout_association.student
SQL STATEMENT: INSERT INTO layout.layout_association (student,id) VALUES (?,?)
SQL at /usr/share/perl5/AMC/Data.pm line 94.
-----
- Debian sid with kernel 4.19.0-1-amd64
- AMC v1.4.0~rc2 (debian compiled package)
- perl v5.28.1-3
- libdb-sqlite3-perl v1.60-1
- libsqlite3-0 v3.26.0+fossilbc891ac6b-1
If you need further info, please let me know.
Thanks a lot,
Wenceslao
PS: thanks for this fantastic software !!!
AMC-DEBUG-D4H__pgb.log (4.1 kB)
Replies (3)
RE: pdfform layout detection problem - Added by Alexis Bienvenüe almost 7 years ago
Can you provide a working minimal source file that shows the problem?
RE: pdfform layout detection problem - Added by Alexis Bienvenüe almost 6 years ago
It seems that pdfform
breaks the nominative sheets layout.
Can you switch the lines 2042 and 2043 in automultiplechoice.sty
and try again?
\global\AMCid@etudstart=\AMCid@etud% \ifAMC@pdfform\end{Form}\fi%
RE: pdfform layout detection problem - Added by Wenceslao González-Viñas almost 6 years ago
It works!!!
Thanks for all your help !
Wenceslao
(1-3/3)