From d2a4cee6eb48076c14ac7e5da19e73fa1dc828d7 Mon Sep 17 00:00:00 2001 From: rurban Date: Thu, 14 Oct 2004 13:48:07 +0000 Subject: [PATCH] wait for fs and print failing cmdline git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4033 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/Ploticus.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/plugin/Ploticus.php b/lib/plugin/Ploticus.php index db16029f7..f771d26f7 100644 --- a/lib/plugin/Ploticus.php +++ b/lib/plugin/Ploticus.php @@ -1,5 +1,5 @@ filterThroughCmd($source, PLOTICUS_EXE . "$args"); //if (empty($code)) // return $this->error(fmt("Couldn't start commandline '%s'", $commandLine)); + sleep(1); if (! file_exists("$tempfile.$gif") ) { $this->_errortext .= sprintf(_("Ploticus error: Outputfile '%s' not created"), "$tempfile.$gif"); + $this->_errortext .= ("\ncmd-line: cat script | " . PLOTICUS_EXE . "$args"); return false; } $ImageCreateFromFunc = "ImageCreateFrom$gif"; @@ -259,6 +261,9 @@ extends WikiPluginCached }; // $Log: not supported by cvs2svn $ +// Revision 1.10 2004/10/04 23:43:35 rurban +// honor _ENV PLOTICUS_PREFABS +// // Revision 1.9 2004/09/26 17:09:23 rurban // add SVG support for Ploticus (and hopefully all WikiPluginCached types) // SWF not yet. -- 2.45.0