If you have got similar error:

There was an error rendering the Graphviz file using format png.
warning: strtr() [function.strtr]: The second argument is not an array in D:\bro\workspace\Websites\ClownTown\trunk\modules\syslog\syslog.module on line 106.

there is probably bug in Graphviz on Windows.

Read more here: http://www.easyanswers.org/question/there-was-error-rendering-graphviz-f...

Comments

infojunkie’s picture

I am following up on the discussion there. Thanks for notifying me.

scottrigby’s picture

Hi kratib,
I'm getting the same error, but with a different warning -- so adding here for now, but i can move to a new issue if needed).
Here's what I get:

    * warning: fopen(/private/var/folders/TI/TI48lbNVGGmcKpVrzMLFfE+++TM/-Tmp-/graph_3umAQF.dot) [function.fopen]: failed to open stream: No such file or directory in /Applications/MAMP/bin/php5/lib/php/Image/GraphViz.php on line 210.
    * There was an error rendering the Graphviz file using format png.

This is when trying to view a workflow graph - both in /admin/build/workflow/graph/1 and in a path like /node/3/graph.

infojunkie’s picture

@scottrigby, please create another issue as your problem seems to be different *and* you're running MacOS X.

kenorb’s picture

Check your temp dir, if Drupal have permission to write temporary files.
And try to upgrade your GraphViz PEAR library (GraphViz.php) or try to test on different one.

infojunkie’s picture

Status: Postponed » Closed (fixed)

Closed unless anyone minds.