My apologies, my Linux J902 install got scrambled. I am not sure how it got the J901 executable with the J902 libraries.

I redid the test with my correct Linux J902:

   JVERSION
Engine: j902/j64avx2/linux
Beta-f: commercial/2020-09-24T11:24:53
Library: 9.02.05
Platform: Linux 64
Installer: J902 install
InstallPath: /home/dm/Downloads/j902_linux64 (1)/j902
Contact: www.jsoftware.com

and I got the same results.  The Joxygen test ran fine.

On 9/28/2020 08:51, David Mitchell wrote:
Here is the test I ran previously and just reran:

Windows:

    JVERSION
Engine: j902/j64avx2/windows
Beta-f: commercial/2020-09-24T11:46:26
Library: 9.02.05
Qt IDE: 1.8.7/5.12.7(5.12.7)
Platform: Win 64
Installer: J902 install
InstallPath: c:/users/me/j902_win64/j902
Contact: www.jsoftware.com
    shell 'pandoc --version'
pandoc 2.10.1
Compiled with pandoc-types 1.21, texmath 0.12.0.2, skylighting 0.8.5
Default user data directory: C:\Users\me\AppData\Roaming\pandoc
Copyright (C) 2006-2020 John MacFarlane
Web:  https://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.
    load '~addons/docs/joxygen/test.ijs'
reading: compare.ijs
reading: dir.ijs
reading: text.ijs
NB. Clear out temp joxygen dir
    makedocs''
reading: compare.ijs
reading: dir.ijs
reading: text.ijs
1319
    dir '~temp/joxygen'
compare.htm        1506 28-Sep-20 08:35:11
dir.htm            3535 28-Sep-20 08:35:11
index.htm          1319 28-Sep-20 08:35:11
joxygen.css         715 28-Sep-20 08:35:10
text.htm           1789 28-Sep-20 08:35:11

    load'pacman'
    'search' jpkg 'joxygen'
┌────────────┬──────┬──────┬─────────────────────┐
│docs/joxygen│1.0.10│1.0.11│Documenting J Scripts│
└────────────┴──────┴──────┴─────────────────────┘
===
Linux:

   JVERSION
Engine: j901/j64avx2/linux
Release-f: commercial/2020-06-11T15:59:07
Library: 9.02.05
Qt IDE: 1.8.6/5.11.1(5.12.5)
Platform: Linux 64
Installer: J902 install
InstallPath: /home/me/Downloads/j902_linux64/j902
Contact: www.jsoftware.com
    shell 'pandoc --version'
pandoc 2.0.6
Compiled with pandoc-types 1.17.3, texmath 0.10.1, skylighting 0.5.0.1
Default user data directory: /home/me/.pandoc
Copyright (C) 2006-2017 John MacFarlane
Web:  http://pandoc.org
This is free software; see the source for copying conditions.
There is no warranty, not even for merchantability or fitness
for a particular purpose.

    load '~addons/docs/joxygen/test.ijs'
reading: compare.ijs
reading: dir.ijs
reading: text.ijs

      dir '~temp/joxygen'
compare.htm        1506 28-Sep-20 08:32:22
dir.htm            3535 28-Sep-20 08:32:23
index.htm          1319 28-Sep-20 08:32:24
joxygen.css         699 28-Sep-20 08:32:19
text.htm           1801 28-Sep-20 08:32:23

    load'pacman'
    'search' jpkg 'joxygen'
┌────────────┬──────┬──────┬─────────────────────┐
│docs/joxygen│1.0.10│1.0.10│Documenting J Scripts│
└────────────┴──────┴──────┴─────────────────────┘

===
At least on Windows and Linux, the joxygen test seems to have run successfully for me with the 1.0.10 version of the joxygen addon.  On Windows, I installed pandoc from the default Windows web link and, on Linux, I used yum install pandoc.

I noticed that the Linux JVERSION for J9.02 identifies as J901.

On 9/27/2020 09:45, chris burke wrote:
The joxygen addon uses pandoc, but had not been updated for changes in
pandoc, I think in v2.

It is now done. I tested with the latest pandoc, 2.10.1.

After updating the addon, and assuming you have a recent pandoc installed, try:

    load'docs/joxygen/test'
reading: compare.ijs
reading: dir.ijs
reading: text.ijs

    dir '~temp/joxygen'
compare.htm        2484 27-Sep-20 06:31:29
dir.htm            4505 27-Sep-20 06:31:29
index.htm          2215 27-Sep-20 06:34:02
joxygen.css         699 27-Sep-20 06:31:29
text.htm           2761 27-Sep-20 06:31:29

You should find the ~temp/joxygen files the same as in
~addons/docs/joxygen/testdocs, i.e. try

    dir '~addons/docs/joxygen/testdocs'

On Fri, Sep 25, 2020 at 6:51 PM David Mitchell <[email protected]> wrote:

I had similar messages on Windows and Linux.  I discovered that I had not
installed Pandoc.  When I installed Pandoc, it worked ok.

Best/David

On 9/25/2020 21:37, 'robert therriault' via Programming wrote:
I get the same message on each version all the way back to J806 in both Jqt and JHS environments. I am also on a Mac. Is it possible that the Mac platform is the cause? Has anyone see this addon working lately?

Cheers,bob

      JVERSION
Engine: j806/j64/darwin
Release: commercial/2017-11-06T10:20:33
Library: 8.06.09
Qt IDE: 1.6.2/5.6.3
Platform: Darwin 64
Installer: J806 install
InstallPath: /users/bobtherriault/j64-806
Contact: www.jsoftware.com
     open '~/j64-806/addons/docs/joxygen/test.ijs'
     load '~/j64-806/addons/docs/joxygen/test.ijs'
reading: compare.ijs
|interface error: spawn
|       shell'pandoc "',m,'" -c "joxygen.css" -f markdown-auto_identifiers -o "',h,'"'


On Sep 24, 2020, at 9:34 PM, Thomas Bulka <[email protected]> wrote:

Hello everyone,

currently I'm using j902-beta-f on macOS Catalina:

Engine: j902/j64avx2/darwin
Beta-f: commercial/2020-09-24T12:49:44
Library: 9.02.05
Qt IDE: 1.8.7/5.12.7(5.12.7)
Platform: Darwin 64
Installer: J902 install
InstallPath: /applications/j902
Contact: www.jsoftware.com

I try to follow the documentation for joxygen here: https://code.jsoftware.com/wiki/Addons/docs/joxygen

When I try to follow the steps explained in the test.ijs file, everything works fine, until I do execute the makedocs command. If I do so, I get the following error message:

    makedocs''
reading: doctest.ijs
|interface error: spawn
|       shell'pandoc "',m,'" -c "joxygen.css" -f markdown-auto_identifiers -o "',h,'"'

Since I'm neither an expert in J's interactions with the "outside world" nor in pandoc, I don't know where to start looking for a possible fix. Can anyone give me a hint?

Thank you very much in advance!

Regards,

Thomas

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to