Forums » Using AMC (english) »
"No layout for ID +0/0/0+" errors
Added by Dirk Schlimm 16 days ago
I'm a first-time user, and when trying to load scans I only get "No layout for ID 0/0/0" error messages.
The log file is attached.
I have seen a similar message in the forum, which suggested to comment out a policy line for ImageMagick, but there is no such line to comment out in my policy.xml file.
Thanks, Dirk
AMC-DEBUG-CLvGZm6U.log (67.8 kB)
Replies (15)
RE: "No layout for ID +0/0/0+" errors
-
Added by Alexis Bienvenüe 15 days ago
Can you post your policy.xml
file?
Sometimes there are different policy.xml
files in different directories /etc/ImageMagick-6/policy.xml
for ImageMagick version 6, /etc/ImageMagick-7/policy.xml
for ImageMagick version 7, etc. From your log file, your AMC installation uses ImageMagick version 6.
RE: "No layout for ID +0/0/0+" errors
-
Added by Dirk Schlimm 15 days ago
Here's the policy.xml
file from directory: /Applications/MAMP/Library/etc/ImageMagick-6
on a Mac.
policy.xml (2.3 kB)
RE: "No layout for ID +0/0/0+" errors
-
Added by Alexis Bienvenüe 15 days ago
Thanks. It seems that this policy.xml
is OK.
Maybe some security app on your computer like F-Secure or equivalent blocks AMC accessing the scan files?
Or these files are not readable by the user that runs AMC?
RE: "No layout for ID +0/0/0+" errors
-
Added by Dirk Schlimm 15 days ago
The files seems to be accessed fine. They are shown in the "Unrecognized scans" list.
RE: "No layout for ID +0/0/0+" errors
-
Added by Alexis Bienvenüe 15 days ago
Can you try these commands from a terminal?
identify -version identify -list policy identify /home/allgemeine/AllgI_20181002/IT041251_Canon115_RPS_2095_001.pdf
RE: "No layout for ID +0/0/0+" errors
-
Added by Dirk Schlimm 15 days ago
I couldn't find any "allgemeine" directory on my computer.
Screenshot_2025-09-23_at_1.34.12___PM.jpg (248.4 kB)
RE: "No layout for ID +0/0/0+" errors
-
Added by Alexis Bienvenüe 15 days ago
The directory /home/allgemeine
should exist, since it appears in the log file.
From your log file:
identify: unable to load module `/opt/local/Lib/ImageMagick-6.9.0//modules-Q16/coders/pdf.la': file not found @ error/module.c/OpenModule/1282. identify: no decode delegate for this image format `PDF' @ error/constitute.c/ReadImage/501.
Maybe something is missing for ImageMagick to handle PDF files?
How did you install AMC and ImageMagick?
RE: "No layout for ID +0/0/0+" errors
-
Added by Dirk Schlimm 15 days ago
Ok, I'm very sorry, the log file I sent at the beginning was completely bogus (not sure where I got this from).
I've now turned on debug information and got the one attached.
AMC-DEBUG-dWBXaGSu.log (126.2 kB)
RE: "No layout for ID +0/0/0+" errors
-
Added by Alexis Bienvenüe 15 days ago
OK. Can you open the unrecognized scans window, select a scan, click on "preprocess" (the gears), and post a screenshot?
RE: "No layout for ID +0/0/0+" errors
-
Added by Dirk Schlimm 15 days ago
A screenshot of what? The unrecognized scans window just shows the scan that I uploaded.
Attached are the messages that appear in the terminal when I press on the gears symbol.
Screenshot_2025-09-23_at_2.44.24___PM.jpg (473.5 kB)
RE: "No layout for ID +0/0/0+" errors
-
Added by Alexis Bienvenüe 15 days ago
How did you install AMC?
RE: "No layout for ID +0/0/0+" errors
-
Added by Dirk Schlimm 15 days ago
Following the instructions on https://github.com/maelvls/homebrew-amc
RE: "No layout for ID +0/0/0+" errors
-
Added by Alexis Bienvenüe 15 days ago
I don't know homegrew but maybe you can try to upgrade or reinstall opencv and AMC with some of these commands
brew upgrade brew cleanup brew reinstall opencv brew reinstall auto-multiple-choice
RE: "No layout for ID +0/0/0+" errors
-
Added by Dirk Schlimm 15 days ago
I reinstalled the files as you suggested and now it works!
Thank you so much for your help!
RE: "No layout for ID +0/0/0+" errors
-
Added by Alexis Bienvenüe 15 days ago
Great. I don't know what exactly went wrong, maybe some version mismatch for some weird reason…
(1-15/15)