Ulrich,

It looks like spawn_jtask_ is unhappy with the arguments.

Can you please modify ~Addons/graphics/graphviz/graphviz.ijs in this way:

...
show=: 3 : 0
...
  spawn_jtask_,PROG,' ',cmdline

goes to

  spawn_jtask_ spawn_arg_base_=:,PROG,' ',cmdline

Please try the test again and let me know what spawn_arg contains.

Thanks,
David Mitchell

On 7/3/2019 13:57, Ulrich Vollert wrote:
Hi David,

The answer to
        which dot
is
        /usr/local/bin/dot


And I can execute dot in a console window.

If I rename dot to dot.tst, I get the same error as you (not surprising).

Regards,
Ulrich

Am 03.07.2019 um 19:22 schrieb David Mitchell <davidmitch...@att.net>:

Hi Ulrich,

Thanks for the path information.

I tried your test on Ubuntu:

graphview 'digraph G { a->b }',LF

After a pause, it opened up the expected digraph display window.

I then did this:

me@me-vm-ub1:~$ which dot
/usr/bin/dot
me@me-vm-ub1:~$ su
Password:
root@me-vm-ub1:/media/home2/dm# cd /usr/bin
root@me-vm-ub1:/usr/bin# mv dot dot.tst
root@me-vm-ub1:/usr/bin#

and when I reran your test, I got this error:

   graphview 'digraph G { a->b }',LF
|interface error: spawn_jtask_
|       spawn_jtask_,PROG,' ',cmdline

Can you please verify that dot is in your path by running
which dot

in a console window?

Thanks,
David Mitchell

On 7/3/2019 13:05, Ulrich Vollert wrote:
Hi David,
the executables are in the path.
There is a folder
        /usr/local/Cellar/graphviz/2.40.1_1/share/graphviz
And a link to this folder from
        /usr/local/share/graphviz
This folder contains four subfolders
        doc
        graphs
        gvpr
        lefty
Please tell me, if I could test something on my Mac.
Regards
Ulrich
Am 03.07.2019 um 15:46 schrieb David Mitchell <davidmitch...@att.net>:
Hi Ulrich,

Can you tell me where the example graphs are installed?

In Ubuntu, they can be here:
/usr/share/doc/graphviz/examples/graphs
In Centos, they can be here:
/usr/share/graphviz/graphs

Also, the current addon assumes that the graphviz executables are in the path.

Thanks,
David Mitchell

On 7/3/2019 03:16, Ulrich Vollert wrote:
Hi,
I installed graphviz with homebrew on Darwin which put the binaries into
        /usr/local/Cellar/graphviz/2.40.1_1/bin
Homebrew links the binaries into
        /usr/local/bin
Regards
Ulrich
Am 03.07.2019 um 02:35 schrieb bill lam <bbill....@gmail.com>:

Have you homebrew install graphviz and what is the folder where it
was installed?

On Wed, Jul 3, 2019, 2:42 AM Ulrich Vollert <ulr...@gmx.de> wrote:

Hi,

I installed graphviz and tried it on

Engine: j807/j64/darwin
Release-d: commercial/2019-03-18T16:07:14
Library: 8.07.26
Qt IDE: 1.7.9/5.9.7
Platform: Darwin 64
Installer: J807 install
InstallPath: /applications/j64-807
Contact: www.jsoftware.com <http://www.jsoftware.com/>

load 'graphics/graphviz'
graphview ''

shows an empty view. Nice.

But
graphview 'digraph G { a->b }',LF
gives me an error

|interface error: spawn_jtask_
| spawn_jtask_,PROG,' ???,cmdline

Regards,
Ulrich
----------------------------------------------------------------------
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

----------------------------------------------------------------------
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