Skip Menu |

This queue is for tickets about the Graph-Easy CPAN distribution.

Report information
The Basics
Id: 133144
Status: new
Priority: 0/
Queue: Graph-Easy

People
Owner: Nobody in particular
Requestors: pskocik [...] seznam.cz
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Error at Graphviz.pm line 928
Date: Tue, 11 Aug 2020 14:41:00 +0200
To: bug-Graph-Easy [...] rt.cpan.org
From: Petr Skočík <pskocik [...] seznam.cz>

Hi,

I'm trying to use this perl utility to render in ASCII a dot-spec for a DFA.

I'm not much familiar with the perl ecosystem, but I managed install it with the
here  » https://stackoverflow.com/a/53895531/1084774 « recommended

sudo apt install cpanminus
sudo cpanm Graph::Easy
and some chmod'ing.

Unfortunately applying graph-easy to the example file presented at the StackOverflow page

(

digraph
{
  this -> is
  this -> a
  a -> test
}

)

using

graph-easy --from=dot --as_ascii graph.dot

results in

Modification of non-creatable array value attempted, subscript -1 at /usr/local/share/perl/5.26.1/Graph/Easy/Parser/Graphviz.pm line 928.

The offending line is:       return if exists $self->{scope_stack}->[-1]->{_is_group};


Best regards,

Petr Skocik