[Geany-Users] geany Compile - Strange error message

rch rch at skynet.be
Tue Oct 4 10:51:06 UTC 2016


    Dear Geany users

    I'm trying to Execute (= compile to html) asciidoctor files in geany.

    At the command prompt, this converts test file "Oh_dear.adoc" to
html perfectly:-
      $ asciidoctor Oh_dear.adoc -a icons,toc=left -o Oh_dear.html

    But when I have the same file open in geany, and press Execute, I get
      /tmp/geany_run_script_AKS1OY.sh: 7:
/tmp/geany_run_script_AKS1OY.sh: ./Oh_dear: not found

    Relevant bits of filetypes file and template file pasted in below

    With other execute commands (e.g. compile Perl script) there is no
problem

    Your help much appreciated
    Richard H


The file filetypes.adoc (~/.config/geany/filedefs/filetypes.adoc)
    reads
        ... snip...
        [build-menu]
        FT_00_LB=Compile
        FT_00_CM=asciidoctor  "%d/%f" -a icons,toc=left -o "%e.html"
        FT_00_WD=
        EX_00_LB=_Execute
        EX_00_CM=asciidoctor  "%d/%f" -a icons,toc=left -o "%e.html"
        EX_00_WD=

and the template file file.adoc (~/.config/geany/templates/files/file.adoc)
    reads similarly, i.e.
        ... snip...
        [build-menu]
        FT_00_LB=Compile
        FT_00_CM=asciidoctor  "%d/%f" -a icons,toc=left -o "%e.html"
        FT_00_WD=
        EX_00_LB=_Execute
        EX_00_CM=asciidoctor  "%d/%f" -a icons,toc=left -o "%e.html"
        EX_00_WD=


        -------- End of Original Message --------


More information about the Users mailing list