Forums » Using AMC (english) »
Command line version does not offer the same error message
Added by Nhu Le over 11 years ago
When I use the GUI and missing a file (in my case the csv file names.csv), it will tell me that file names.csv is missing. However, when I use the command line version, I get:
[nle@fedora17 MC-Projects]$ auto-multiple-choice prepare --mode b --data dhcd dhcd/source.tex ********** Making marks scale... Output format: dvi
Everything looks to be find, except that there is nothing process (particularly the .xy file is not complete).
Is the command line version designed to used independently with the GUI or is it just a "scriptable" inteface once everything has been setup using the GUI?
Replies (3)
RE: Command line version does not offer the same error message - Added by Alexis Bienvenüe over 11 years ago
I think --data
option should point to the data
directory (containing SQLite databases): isn't it dhcd/data
?
The commands should be usable without the GUI - see Using AMC in command line only.
You can always see what options are used by the GUI when calling AMC commands: switch to debugging mode and look at the log
file.
RE: Command line version does not offer the same error message - Added by Nhu Le over 11 years ago
- Making marks scale...
Output format: dvi
amc-compiled.dvi -> amc-compiled.pdf
Sheet 1...
Sheet 2...
Sheet 3...
Sheet 4...
Sheet 5...
Sheet 6...
Sheet 7...
Sheet 8...
RE: Command line version does not offer the same error message - Added by Nhu Le over 11 years ago
Thanks for the trick about using log file for my commands. That saves me from trying to replicate what I have in the GUI.
(1-3/3)