On 13/08/10 17:43, Suraj Kurapati wrote:
On Thu, Aug 12, 2010 at 3:35 AM, Stuart Rackham<[email protected]> wrote:Your problem is in the graphviz execution, try running the failing graphviz2png command from the command line with the -v option e.g. $ echo "digraph G { rankdir=LR; Graphviz->AsciiDoc->HTML}"|"/home/srackham/projects/asciidoc/trunk/filters/graphviz/graphviz2png.py" -v -o "/home/srackham/projects/asciidoc/trunk/sample1.png" -L dot -F png - Execute: dot -Tpng "/home/srackham/projects/asciidoc/trunk/sample1.txt"> "/home/srackham/projects/asciidoc/trunk/sample1.png"Yes, that command worked correctly for me. Does this mean I missing something in my local environment? # echo "digraph G { rankdir=LR; Graphviz->AsciiDoc->HTML}" | ~/lab/asciidoc/filters/graphviz/graphviz2png.py -v -o foo.png -L dot -F png - Execute: dot -Tpng "foo.txt"> "/home/sun/foo.png"
I think you've got more than one copy of asciidoc on your system. From the previous post asciidoc was running the filter /etc/asciidoc/filters/graphviz/graphviz2png.py but above you are running ~/lab/asciidoc/filters/graphviz/graphviz2png.py. Try renaming or removing the global /etc/asciidoc directory (I'm guessing it's from a previous install).
Cheers, Stuart -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
