Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001496graphvizDotpublic2008-12-04 03:482011-04-28 04:03
ReporterMarcus Lindblom 
Assigned ToArif Bilgin 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Windows-Vista 32-bitOS Version
Summary0001496: Graphviz cannot be run from another directory on windows
Description



(The Installer is versioned 2.20.3, latest stable as of 2008-12-03, but the directory created was 'Graphviz 2.21'.)
<CD>
 * Install graphviz - works fine
 * Copy the Graphviz directory to another place, like c:\temp\graphviz
 * command prompt - cd to c:\temp\graphviz\bin
 * run 'dot'
 * the following error appears:



"""
Assertion failed: v, file input.c, line 324



This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
"""
</CD>



Moving and re-zipping the graphiviz dir was possible previously (last year or so), and is
important for us in order simplify distribution & version control among developers & build slaves.
It makes graphviz a bit unusable for us at the moment. :(
<CD>
Some comments on the current state & solutions:
 * Requiring an install makes things unnessary complex.
 * Requiring the exakt same directory layout is fine.
 * Having an optional env-var called GRAPHVIZ_DIR that can be used to denote
the desired graphviz dir would be an acceptable workaround.
</CD>
Additional Information
Thanks for making and maintaining such an excellent tool!

[Sylvain Soliman] Bug 1533 seems to be related to a missing "config" file for dot.exe,
copying it along seems to solve the problem. However it is true that the
error message is at least misleading... (dot could instead create the file
if found missing...).

[ellson]
A normal user running dot doesn't have sufficient permission to create the config file.
"dot -c" needs to be run during the install process when the "user" has permission to
write into the library directory.


At least, that is the way it was designed to work on 'nix systems.

[Sylvain Soliman]
Well, then at least the error message should tell that "config" was not
found, instead of the obscure "Assertion failed..." message. This way the
user who reported the original bug might have solved it easily (and I would
have solved it more quickly

[north]
I definitely agree with that.

In fact we discussed that recently.

[ellson] fair enough. The change is in CVS and should be in tomorrow's development snapshot.

[Sylvain Soliman]
Great! Thanks for the fast response. I guess bug 1533 can be marked as
closed then.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1533
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (6 Feb 2009)
VERSION     2.20.3
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => Arif Bilgin


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker