Forums » Utilisation d'AMC (french) »
Saisie des copies impossible :(
Added by Cédric F. about 6 years ago
Bonsoir !
Je suis bien embêté... Quand j'envoie mon fichier scanné via le bouton Automatique, depuis le 2ème onglet, cela mouline 1 ou 2, puis il me dit que c'est terminé mais je n'ai aucune copie qui arrive en dessous.
Voici mon log de debogage au cas où...
This is AutoMultipleChoice, version 1.3.0 (r:23cc81f7ce8a) Perl: /usr/bin/perl v5.22.1 ======================================== Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib ======================================== GraphicsMagick: not found ======================================== [ 5419, 1.46] ######################################## [ 5419, 1.46] # DEBUG - ven. 05 oct. 2018 19:27:47 CEST [ 5419, 1.46] ######################################## [ 5419, 1.46] GUI module is located at /usr/lib/AMC/perl/AMC-gui.pl [ 5419, 1.46] DEBUG MODE : ON [ 5419, 1.56] Opening RO transaction for capture [ckac]... [ 5419, 1.56] [ckac] <- capture [ 5419, 1.56] Closing transaction for capture [ckac]... [ 5419, 1.56] [ckac] X capture [ 5419, 1.56] Opening RO transaction for capture [adcM]... [ 5419, 1.56] [adcM] <- capture [ 5419, 1.56] Preparing statement maxCopy [ 5419, 1.56] Closing transaction for capture [adcM]... [ 5419, 1.57] [adcM] X capture [ 5419, 1.57] Reading glade file /usr/lib/AMC/perl/AMC-gui-saisie_auto.glade [ 5419, 1.60] Updating GUI for <saisie_auto> [ 5419, 1.60] Key texsrc --> texsrc : NONE [ 5419, 1.60] Key verdict --> verdict : NONE [ 5419, 1.60] Key export_sort --> export_sort : NONE [ 5419, 1.60] Key doc_indiv_solution --> doc_indiv_solution : NONE [ 5419, 1.60] Key email_subject --> email_subject : NONE [ 5419, 1.60] Key note_null --> note_null : NONE [ 5419, 1.60] Key verdict_q --> verdict_q : NONE [ 5419, 1.60] Key export_ods_columns --> export_ods_columns : NONE [ 5419, 1.60] Key assoc_code --> assoc_code : NONE [ 5419, 1.60] Key doc_catalog --> doc_catalog : NONE [ 5419, 1.60] Key postcorrect_copy --> postcorrect_copy : NONE [ 5419, 1.60] Key email_use_html --> email_use_html : NONE [ 5419, 1.60] Key doc_question --> doc_question : NONE [ 5419, 1.60] Key _modifie --> _modifie : NONE [ 5419, 1.60] Key export_include_abs --> export_include_abs : NONE [ 5419, 1.60] Key nom_examen --> nom_examen : NONE [ 5419, 1.60] Key doc_setting --> doc_setting : NONE [ 5419, 1.60] Key export_csv_ticked --> export_csv_ticked : NONE [ 5419, 1.60] CB_STORE(auto_capture_mode) ALIAS auto_capture_mode modifie (auto_capture_mode=>0) [ 5419, 1.60] [auto_capture_mode] find Gtk2::TreeIter=SCALAR(0x311a0b0) [ 5419, 1.60] -> Copies toutes différentes [ 5419, 1.60] <saisie_auto> options validation for widget saisie_auto_c_auto_capture_mode [ 5419, 1.60] Restricted search: auto_capture_mode [ 5419, 1.60] Looking for widget <auto_capture_mode> in domain <saisie_auto> [ 5419, 1.60] Found combobox [ 5419, 1.60] Skip widget <_modifie> [ 5419, 1.60] Changes : ,auto_capture_mode [ 5419, 1.60] Key auto_capture_mode --> auto_capture_mode : found widget Gtk2::ComboBox=HASH(0x2d7bd60) [ 5419, 1.60] Key regroupement_copies --> regroupement_copies : NONE [ 5419, 1.60] Key email_attachment --> email_attachment : NONE [ 5419, 1.60] Key note_max_plafond --> note_max_plafond : NONE [ 5419, 1.60] Key note_arrondi --> note_arrondi : NONE [ 5419, 1.60] Key cr --> cr : NONE [ 5419, 1.60] Key export_csv_columns --> export_csv_columns : NONE [ 5419, 1.60] Key doc_solution --> doc_solution : NONE [ 5419, 1.60] Key encodage_csv --> encodage_csv : NONE [ 5419, 1.60] Key export_csv_separateur --> export_csv_separateur : NONE [ 5419, 1.60] Key filter --> filter : NONE [ 5419, 1.60] Key regroupement_type --> regroupement_type : NONE [ 5419, 1.60] Key allocate_ids --> allocate_ids : found widget Gtk2::CheckButton=HASH(0x2de70d8) [ 5419, 1.60] Key export_ods_statsindic --> export_ods_statsindic : NONE [ 5419, 1.60] Key nombre_copies --> nombre_copies : NONE [ 5419, 1.60] Key annote_rtl --> annote_rtl : NONE [ 5419, 1.61] Key modele_regroupement --> modele_regroupement : NONE [ 5419, 1.61] Key note_grain --> note_grain : NONE [ 5419, 1.61] Key note_min --> note_min : NONE [ 5419, 1.61] Key regroupement_compose --> regroupement_compose : NONE [ 5419, 1.61] Key export_ods_stats --> export_ods_stats : NONE [ 5419, 1.61] Key moteur_latex_b --> moteur_latex_b : NONE [ 5419, 1.61] Key email_text --> email_text : NONE [ 5419, 1.61] Key code_examen --> code_examen : NONE [ 5419, 1.61] Key liste_key --> liste_key : NONE [ 5419, 1.62] Key seuil_up --> seuil_up : NONE [ 5419, 1.62] Key listeetudiants --> listeetudiants : NONE [ 5419, 1.62] Key export_ncols --> export_ncols : NONE [ 5419, 1.62] Key data --> data : NONE [ 5419, 1.62] Key note_max --> note_max : NONE [ 5419, 1.62] Key annote_position --> annote_position : NONE [ 5419, 1.62] Key encodage_liste --> encodage_liste : NONE [ 5419, 1.62] Key notes --> notes : NONE [ 5419, 1.62] Key _modifie_ok --> _modifie_ok : NONE [ 5419, 1.62] Key format_export --> format_export : NONE [ 5419, 1.62] Key after_export --> after_export : NONE [ 5419, 1.62] Key export_pagesize --> export_pagesize : NONE [ 5419, 1.62] Key verdict_qc --> verdict_qc : NONE [ 5419, 1.62] Key filtered_source --> filtered_source : NONE [ 5419, 1.62] Key maj_bareme --> maj_bareme : NONE [ 5419, 1.62] Key export_ods_groupsep --> export_ods_groupsep : NONE [ 5419, 1.62] Key postcorrect_set_multiple --> postcorrect_set_multiple : NONE [ 5419, 1.62] Key email_col --> email_col : NONE [ 5419, 1.62] Key postcorrect_student --> postcorrect_student : NONE [ 5419, 1.62] Key seuil --> seuil : NONE [ 5419, 1.62] End GUI update for <saisie_auto> [ 5419, 1.81] Looking for widget <texsrc> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <verdict> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <export_sort> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <doc_indiv_solution> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <email_subject> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <note_null> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <verdict_q> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <export_ods_columns> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <assoc_code> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <doc_catalog> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <postcorrect_copy> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <email_use_html> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <doc_question> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <_modifie> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <export_include_abs> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <nom_examen> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <doc_setting> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <export_csv_ticked> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <auto_capture_mode> in domain <saisie_auto> [ 5419, 1.81] Found combobox [ 5419, 1.81] Looking for widget <regroupement_copies> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <email_attachment> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <note_max_plafond> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <note_arrondi> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <cr> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <export_csv_columns> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <doc_solution> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <encodage_csv> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <export_csv_separateur> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <filter> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <regroupement_type> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <allocate_ids> in domain <saisie_auto> [ 5419, 1.81] Found checkbox [ 5419, 1.81] Looking for widget <export_ods_statsindic> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <nombre_copies> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <annote_rtl> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <modele_regroupement> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <note_grain> in domain <saisie_auto> [ 5419, 1.81] Looking for widget <note_min> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <regroupement_compose> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <export_ods_stats> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <moteur_latex_b> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <email_text> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <code_examen> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <liste_key> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <seuil_up> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <listeetudiants> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <export_ncols> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <data> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <note_max> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <annote_position> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <encodage_liste> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <notes> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <_modifie_ok> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <format_export> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <after_export> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <export_pagesize> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <verdict_qc> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <filtered_source> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <maj_bareme> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <export_ods_groupsep> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <postcorrect_set_multiple> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <email_col> in domain <saisie_auto> [ 5419, 1.82] Looking for widget <postcorrect_student> in domain <saisie_auto> [ 5419, 1.83] Looking for widget <seuil> in domain <saisie_auto> [ 5419, 1.83] Changes : [ 5419, 1.83] Clearing old diagnostic directory: /home/cedric/MyCozy/Cours/ISN/QCM/Python - QCM1 - 2018/cr/diagnostic [ 5419, 1.83] Removing 0 files. [ 5419, 1.83] Opening RW transaction for layout [Orie]... [ 5419, 1.83] [Orie] <-> layout [ 5419, 1.83] Preparing statement orientation [ 5419, 1.83] Closing transaction for layout [Orie]... [ 5419, 1.83] [Orie] X layout [ 5419, 1.83] Target orientation: portrait [ 5419, 1.83] Command [5453] : auto-multiple-choice getimages --progression-id analyse --list /tmp/liste-5f4YqM --debug /tmp/AMC-DEBUG-5PmytF_l.log --vector-density 250 --copy-to "/home/cedric/MyCozy/Cours/ISN/QCM/Python - QCM1 - 2018/scans/" --orientation portrait [ 5419, 1.83] Create progression pipe for <> up to 0 (progress bar side) identify: not authorized `/home/cedric/MyCozy/Cours/ISN/QCM/WINSVR-UNIFLOW_copieurNB_diderot_C318_Droite_1623_001.pdf' @ error/constitute.c/ReadImage/412. convert: not authorized `/home/cedric/MyCozy/Cours/ISN/QCM/WINSVR-UNIFLOW_copieurNB_diderot_C318_Droite_1623_001.pdf' @ error/constitute.c/ReadImage/412. convert: pas d'images définies `/tmp/AOTKuJzDb3/WINSVR-UNIFLOW_copieurNB_diderot_C318_Droite_1623_001_%04d.pdf.png' @ error/convert.c/ConvertImageCommand/3210. [ 5419, 3.20] Command [5453] : OK - 0 erreur(s) [ 5419, 3.20] Total parent exec times during 5453: [ 0.02, 1.35] [ 5419, 3.22] Command [5458] : auto-multiple-choice analyse --debug /tmp/AMC-DEBUG-5PmytF_l.log --no-multiple --tol-marque 0.2,0.2 --prop 0.8 --bw-threshold 0.6 --progression-id analyse --progression 1 --n-procs "0" --data "/home/cedric/MyCozy/Cours/ISN/QCM/Python - QCM1 - 2018/data" --projet "/home/cedric/MyCozy/Cours/ISN/QCM/Python - QCM1 - 2018/" --cr "/home/cedric/MyCozy/Cours/ISN/QCM/Python - QCM1 - 2018/cr" --liste-fichiers /tmp/liste-5f4YqM --no-ignore-red --try-three [ 5419, 3.22] Create progression pipe for <> up to 0 (progress bar side) [ 5458, 0.11] [5458]>> [ 5458, 0.11] [VERSION] Sys::CPU: 0.61 [ 5458, 0.11] Max number of processes: 12 [ 5458, 0.11] Create progression pipe for <analyse> up to 1 [ 5419, 3.34] Command [5458] : OK - 0 erreur(s) [ 5419, 3.34] Total parent exec times during 5458: [ 0.01, 0.12] [ 5419, 3.34] Opening RO transaction for capture [ADCP]... [ 5419, 3.34] [ADCP] <- capture [ 5419, 3.35] Closing transaction for capture [ADCP]... [ 5419, 3.35] [ADCP] X capture Use of uninitialized value in numeric gt (>) at /usr/lib/AMC/perl/AMC-gui.pl line 5069.
A noter qu'il m'a bien créer dans /tmp/ une myriade de fichiers pbm.
Bref, une idée ?
Merci d'avance :)
Replies (7)
RE: Saisie des copies impossible :( - Added by Cédric F. about 6 years ago
A tout hasard, je mets ici le log de ma mise à jour car il y a eu des mises à jour d'ImageMagick, cela n'a peut-être rien à voir, mais sait-on jamais...
Paramétrage de fonts-opensymbol (2:102.10+LibO6.1.2~rc1-0ubuntu0.16.04.1) ... Paramétrage de libpackagekit-glib2-16:amd64 (0.8.17-4ubuntu6~gcc5.4ubuntu1.4) ... Paramétrage de gir1.2-packagekitglib-1.0 (0.8.17-4ubuntu6~gcc5.4ubuntu1.4) ... Paramétrage de libimage-magick-q16-perl (8:6.8.9.9-7ubuntu5.13) ... Paramétrage de libimage-magick-perl (8:6.8.9.9-7ubuntu5.13) ... Paramétrage de libmagick++-6.q16-5v5:amd64 (8:6.8.9.9-7ubuntu5.13) ... Paramétrage de libmagickcore-6.q16-2-extra:amd64 (8:6.8.9.9-7ubuntu5.13) ... Paramétrage de libopenshot-audio6:amd64 (0.1.7+dfsg2+65+201809232015~ubuntu16.04.1) ... Paramétrage de libopenshot16:amd64 (0.2.2+dfsg2+695+201809232021+daily~ubuntu16.04.1) ... Paramétrage de uno-libs3 (6.1.2~rc1-0ubuntu0.16.04.1) ... Paramétrage de ure (6.1.2~rc1-0ubuntu0.16.04.1) ... Paramétrage de linux-libc-dev:amd64 (4.4.0-138.164) ... Paramétrage de python3-openshot:amd64 (0.2.2+dfsg2+695+201809232021+daily~ubuntu16.04.1) ... Paramétrage de openshot-qt (2.4.3+dfsg2+980+201809232252~ubuntu16.04.1) ... Paramétrage de perlmagick (8:6.8.9.9-7ubuntu5.13) ...
RE: Saisie des copies impossible :( - Added by Alexis Bienvenüe about 6 years ago
identify: not authorized `/home/cedric/MyCozy/Cours/ISN/QCM/WINSVR-UNIFLOW_copieurNB_diderot_C318_Droite_1623_001.pdf'
Pouvez-vous accéder à ce fichier sans problème ?
RE: Saisie des copies impossible :( - Added by Cédric F. about 6 years ago
Oui, mais dans le doute, je lui ai fait un coup de 777 sans succès :(
RE: Saisie des copies impossible :( - Added by Alexis Bienvenüe about 6 years ago
Pouvew-vous trouver le fichier policy.xml
de ImageMagick et poster son contenu ?
RE: Saisie des copies impossible :( - Added by Cédric F. about 6 years ago
Et voilà, dans /etc/ImageMagick-6/ :
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE policymap [ <!ELEMENT policymap (policy)+> <!ELEMENT policy (#PCDATA)> <!ATTLIST policy domain (delegate|coder|filter|path|resource) #IMPLIED> <!ATTLIST policy name CDATA #IMPLIED> <!ATTLIST policy rights CDATA #IMPLIED> <!ATTLIST policy pattern CDATA #IMPLIED> <!ATTLIST policy value CDATA #IMPLIED> ]> <!-- Configure ImageMagick policies. Domains include system, delegate, coder, filter, path, or resource. Rights include none, read, write, and execute. Use | to combine them, for example: "read | write" to permit read from, or write to, a path. Use a glob expression as a pattern. Suppose we do not want users to process MPEG video images: <policy domain="delegate" rights="none" pattern="mpeg:decode" /> Here we do not want users reading images from HTTP: <policy domain="coder" rights="none" pattern="HTTP" /> Lets prevent users from executing any image filters: <policy domain="filter" rights="none" pattern="*" /> The /repository file system is restricted to read only. We use a glob expression to match all paths that start with /repository: <policy domain="path" rights="read" pattern="/repository/*" /> Any large image is cached to disk rather than memory: <policy domain="resource" name="area" value="1GB"/> Define arguments for the memory, map, area, and disk resources with SI prefixes (.e.g 100MB). In addition, resource policies are maximums for each instance of ImageMagick (e.g. policy memory limit 1GB, -limit 2GB exceeds policy maximum so memory limit is 1GB). --> <policymap> <!-- <policy domain="resource" name="temporary-path" value="/tmp"/> --> <!-- <policy domain="resource" name="memory" value="2GiB"/> --> <!-- <policy domain="resource" name="map" value="4GiB"/> --> <!-- <policy domain="resource" name="area" value="1GB"/> --> <!-- <policy domain="resource" name="disk" value="16EB"/> --> <!-- <policy domain="resource" name="file" value="768"/> --> <!-- <policy domain="resource" name="thread" value="4"/> --> <!-- <policy domain="resource" name="throttle" value="0"/> --> <!-- <policy domain="resource" name="time" value="3600"/> --> <!-- <policy domain="system" name="precision" value="6"/> --> <policy domain="cache" name="shared-secret" value="passphrase"/> <policy domain="coder" rights="none" pattern="EPHEMERAL" /> <policy domain="coder" rights="none" pattern="URL" /> <policy domain="coder" rights="none" pattern="HTTPS" /> <policy domain="coder" rights="none" pattern="MVG" /> <policy domain="coder" rights="none" pattern="MSL" /> <policy domain="coder" rights="none" pattern="TEXT" /> <policy domain="coder" rights="none" pattern="SHOW" /> <policy domain="coder" rights="none" pattern="WIN" /> <policy domain="coder" rights="none" pattern="PLT" /> <policy domain="path" rights="none" pattern="@*" /> <!-- disable ghostscript format types --> <policy domain="coder" rights="none" pattern="PS" /> <policy domain="coder" rights="none" pattern="EPS" /> <policy domain="coder" rights="none" pattern="PDF" /> <policy domain="coder" rights="none" pattern="XPS" /> </policymap>
RE: Saisie des copies impossible :( - Added by Alexis Bienvenüe about 6 years ago
Peut-être commenter la ligne suivante ?
<policy domain="coder" rights="none" pattern="PDF" />
RE: Saisie des copies impossible :( - Added by Cédric F. about 6 years ago
Merci Alexis,
Je peux enfin te dire que j'ai réussi à passer cette étape (dysfonctionnement du serveur ce week-end)
Derrière, j'avais un soucis également (notes à 0), il me trouvait pas un fichier python que j'avais intégré avec minted et il ne me corrigeait pas. Était-ce lié ?
Je pense que je vais migrer sur la version de dev, j'ai pu la tester avec succès avec mon autre PC.
Encore merci !
(1-7/7)