Christmas Quiz
    Q. What does the following asciidoc error message mean ?
    
asciidoc: FAILED: MyFile.adoc: line 4: unexpected error:
asciidoc: ------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/bin/asciidoc", line 5945, in asciidoc
    writer.open(outfile, reader.bom)
  File "/usr/bin/asciidoc", line 4372, in open
    self.f = open(fname,'wb+')
IOError: [Errno 21] Is a directory: '/home/rch'
asciidoc: ------------------------------------------------------------

    Know the answer?
    Then you know how to reproduce it …
    Award yourself two mince pies

    Need a hint ?
    See [1] below the line.
    Got it now ?
    Thats worth one mince pie

    Still stuck ?
    You have been volunteered to do the Christmas washing up
    Here's the answer (rot 13) …

Gur reebe zrffntr vaqvpngrf gung
    $bhgsvyr jnf haqrsvarq.

Guvf unccrarq orpnhfr bs na reebe va gur Crey fpevcg

Gur yvar
    (zl $bhgsvyr = $vasvyr )  = f/nqbp$/ugzy/;
Fubhyq ernq
    (zl $bhgsvyr = $vasvyr ) =~ f/nqbp$/ugzy/;

Gung vf
     "RDHNYF FVTA"
fubhyq ernq
     "RDHNYF FVTA  GVYQR"

================================================================
[1] Hint
    asciidoc was called by this Perl script

    my $infile   = 'MyFile.adoc';
    (my $outfile = $infile ) = s/adoc$/html/;
    my $command = "asciidoc -b html5 -a icons -a toc2 -a theme=volnitsky 
--out-file=$outfile $infile";
    my $result = system( $command );

-- 
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 http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to