View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0008694 | mantisbt | reports | public | 2007-12-24 00:49 | 2020-11-26 02:38 |
Reporter | stevemagruder | Assigned To | grangeway | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | AMD Turion 64 X2 Mobile | OS | Windows Vista Home Premium | OS Version | SP1, RC |
Product Version | 1.1.0 | ||||
Summary | 0008694: Relationship/Dependency graphs fail | ||||
Description | Here's the error I'm getting when trying to view relationship or dependency graphs: Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `WinGraphviz.NEATO': Invalid syntax ' in C:\Apache2\htdocs\mantis\core\graphviz_api.php:302 Stack trace: #0 C:\Apache2\htdocs\mantis\core\graphviz_api.php(302): om->com('WinGraphviz.NEA...') 0000001 C:\Apache2\htdocs\mantis\core\relationship_graph_api.php(426): Graph->output('cmap') 0000002 C:\Apache2\htdocs\mantis\bug_relationship_graph.php(131): relgraph_output_map(Object(Graph), 'relationship_gr...') 0000003 {main} thrown in C:\Apache2\htdocs\mantis\core\graphviz_api.php on line 302 I'm using Graphviz 2.16.1 on Windows Vista. And my config settings related to graphs are as follows: Enable relationship graphs support.$g_relationship_graph_enable = ON; | ||||
Tags | No tags attached. | ||||
I'm using PHP 5.2.4 and I had to recall that the COM support probably is broken, so I modified the graphviz_api code as directed before to avoid using COM. |
|
I noticed that PHP 5.2.5 has been released. Probably worth retrying on this and seeing if the error still occurs. |
|
hi..am just looking at the demo..it's nice to watch out. |
|
Just tested... Still broken with PHP 5.2.5 |
|
Steve, |
|
I have not found any solution, nor am I really looking for one. I just disabled COM support and left it at that. |
|
My problem was that my windows machine was missing a component. I found this out my manually runing a php script which opens a COM object. Windows then pops up a dialog which says it is installing missing component. After the install, the script continued to run and created the file. I then re-tested Mantis Relationship graphs and they worked. php.exe script.php <?php |
|
I'm having the same problem here.So I ran the script.php,but there was no message that said the windows needs any componet. php 5.2.5 |
|
Isunya, |
|
Hi,tjordanchat, |
|
I have the same error. Windows 2000 SP4 I have tried it with both WinGraphViz and GraphViz. The above script.php gave me: Fatal error: Uncaught exception 'com_exception' with message 'Failed to create COM object `word.application': Invalid syntax ' in D:\WebRoot\Mantis\comcheck.php:2 Stack trace: #0 D:\WebRoot\Mantis\comcheck.php(2): com->com('word.applicatio...') 0000001 {main} thrown in D:\WebRoot\Mantis\comcheck.php on line 2 |
|
I had the same error using graphviz. After changing to the WinGraphviz it works under PHP 5.2.6 and WinXP. |
|
Relationship/Dependency graphs does not diplayed Win2003 Is there any way to find why? |
|
Nobody knows? |
|
Uff... Thanks to shadow0, problem is solved. |
|
i am bad english ,sorry
|
|
Fixed by removing support for wingraphviz - just use the dot/neato exe's - see snapshot/commit @ http://git.mantisforge.org/w/mantisbt.git?a=commit;h=629a6760104e5f742ad54b5a765be78d4c42eef3 |
|
MantisBT: master 629a6760 2010-08-14 14:17 Details Diff |
Fix: 0005037 Fix: 0006620 Fix: 0006178 Fix: 0008694 Remove support for wingraphviz. If people don't want to allow IIS to access cmd.exe, it would probably be more sensible to write a dotnet wrapper around graphviz (e.g. http://implicitoperator.com/blog/2009/12/24/rendering-an-in-memory-graphviz-image-with-c.html) However, that still needs a medium/full trust environment in asp.net I believe. Windows users can install graphviz by downloading, the MSI from graphviz.org, allowing access to cmd.exe to the php application pool in IIS, and modifying the dot/neato paths. |
Affected Issues 0005037, 0006178, 0006620, 0008694 |
|
mod - core/graphviz_api.php | Diff File | ||
mod - config_defaults_inc.php | Diff File |