On 21 June 2016 at 20:37, Ken McGlothlen <[email protected]> wrote: > 1. asciidoc 8.6.9 > 2. Mac OS X v10.11.5 > 3. $HOME/ven/repos/vistaexpertise.net/ven-page.conf > > The file was working just fine in my $HOME/.asciidoc directory; moving it to > this new directory produces said error.
It was probably located by the standard search paths before the --conf-file option was processed, thats why it worked. > > The full command line: > > /opt/local/bin/asciidoc --verbose --attribute=rootdir=".." \ > > --conf-file="$HOME/ven/repos/vistaexpertise.net/ven-page.conf" \ > > -o $HOME/ven/repos/vistaexpertise.net/build/newsite/test.html \ > > $HOME/ven/repos/vistaexpertise.net/newsite/test.adoc > What is $HOME ? I know nothing about OSX, what shell does it use? Is $HOME substituted inside the "" ? Essentially the problem is that the path does not look like a standard file to Python, since Asciidoc uses the os.path.isfile() function to test for the existence of the file. Look at what is printed on the error message and check its correct, the exact path is printed after the colon space at the end of the message. > > > On Tuesday, June 21, 2016 at 12:46:04 AM UTC-7, Lex Trotman wrote: >> >> Clearly something unusual is happening, so some more information would >> be useful, like the version of asciidoc, the system you are running it >> on, the exact name of the file, etc. >> >> On 21 June 2016 at 15:15, Ken McGlothlen <[email protected]> wrote: >> > I get the "asciidoc: FAILED: missing configuration file" error on a file >> > that exists, is readable, and is a valid asciidoc configuration file. >> > I'm >> > specifying it with an absolute path with --conf-file on the command >> > line, so >> > there shouldn't be any confusion, should there? >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "asciidoc" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> > an >> > email to [email protected]. >> > To post to this group, send email to [email protected]. >> > Visit this group at https://groups.google.com/group/asciidoc. >> > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/asciidoc. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
