Bug #3349 [Fbk->Asn]: Error in GraphViz

From: Date: Sun, 23 Oct 2005 17:30:15 +0000
Subject: Bug #3349 [Fbk->Asn]: Error in GraphViz
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7068@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=3349&edit=1 ID: 3349 Updated by: danielc@php.net Reported By: jean-louis dot calmette at laposte dot fr -Status: Feedback +Status: Assigned Id: 3349 Type: Bug Package: Documentation Operating System: win 2000 SP4 PHP Version: 4.3.8 -Assigned To: +Assigned To: vmg New Comment: Assigning to Volker who's the lead on this package. Previous Comments: ------------------------------------------------------------------------ [2005-02-24 11:45:41] mj at php dot net To which manual page are you referring? Or did you report a bug in the example code that comes with the package? ------------------------------------------------------------------------ [2005-02-02 03:50:19] jean-louis dot calmette at laposte dot fr Resolved using /** * Path to GraphViz/dot command * * @var string */ var $dotCommand = 'e:\\intranet\\att\\graphviz\\bin\\dot'; /** * Path to GraphViz/neato command * * @var string */ var $neatoCommand = 'e:\\intranet\\att\\graphviz\\bin\\dotneato'; ------------------------------------------------------------------------ [2005-02-01 12:14:29] jean-louis dot calmette at laposte dot fr Description: ------------ variables_order = "GPCS" $graph->image("jpg"); Reproduce code: --------------- require_once 'Image/GraphViz.php'; $graph = new Image_GraphViz(); $graph->addNode( 'Node1', array( 'URL' => 'http://link1', 'label' => 'This is a label', 'shape' => 'box' ) ); $graph->addNode( 'Node2', array( 'URL' => 'http://link2', 'fontsize' => '14' ) ); $graph->addNode( 'Node3', array( 'URL' => 'http://link3', 'fontsize' => '20' ) ); $graph->addEdge( array( 'Node1' => 'Node2' ), array( 'label' => 'Edge Label' ) ); $graph->addEdge( array( 'Node1' => 'Node2' ), array( 'color' => 'red' ) ); $graph->image("jpg"); Expected result: ---------------- Actual result: -------------- ********** ERREUR ********** Warning: fopen(C:\WINNT\TEMP\gra2D08.tmp.jpg): failed to open stream: No such file or directory in d:\www\pear\Image\GraphViz.php on line 192 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=3349&edit=1

« previous php.pear.doc (#7068) next »