Discussion:
Object Diagram class
Alejandro Mostovoi
2009-05-15 20:59:50 UTC
Permalink
Hi All,
I have followed the HelloWorld example but it can't generate the object
diagram class. I recived an error message that said "...couldn't create
omd.png".

I'm running Astade on winXP, I've installed graphviz and doxygen.
Another point (and maybe this is my mistake), when I try to generate the the
object diagram class it's try to open the GIMP as visualizer.

Thanks in advance
Alejandro.

------------------------------------------------------
http://astade.tigris.org/ds/viewMessage.do?dsForumId=3430&dsMessageId=2274583

To unsubscribe from this discussion, e-mail: [users-unsubscribe-HcrAt6aCZFAWBrYXtHbyV9i2O/***@public.gmane.org].
Thomas Spitzer
2009-05-16 10:25:52 UTC
Permalink
Hi Alejandro,

I don't know, what's going wrong there, but let me explain a little bit,
how Astade generates the OMD and we should be able to find the bug
together.

First thing to check: If you ask the Astade Tree to generate the OMD it
simply calls the program, which is configured in "Preferences->Set
Directories". This should normally point to a batch file (omd.bat, I
guess) which is responsible for doing the neccessary stuff for
displaying the picture correct to you ;-)

The omd.bat (or whatever its name is) does 3 things:

first it calls "OMDgenerator.exe" which generates a file omd.dot in the
tmp directory. This is your OMD in a formate, that is understood by
graphviz. (Check wether it works so far)

second it calls "dot" to generate a PNG from omd.dot in your temp
directory. (check wether dot is in the path)

third, it calls your default picture program, by simply typing the name
"omd.png" on the command line. Windows opens it with your default viewer
for *.png, which seems to be GIMP at your machine ;-)

At the end it deletes the two temporary files.

Just copy the omd.bat to another name and change "Preferences->Set
Directories" to use the new generated batch file. Than change the new
batchfile, that it works:
- put dot in the path?
- maybe call dot whith the whole path
- maybe select another temp directory
- maybe call a specific grafic drawer explicitely.

Let me know, wether you managed it.

Best Regards

Thomas

------------------------------------------------------
http://astade.tigris.org/ds/viewMessage.do?dsForumId=3430&dsMessageId=2278686

To unsubscribe from this discussion, e-mail: [users-unsubscribe-HcrAt6aCZFAWBrYXtHbyV9i2O/***@public.gmane.org].
webpost-jqHnx1hy4Dsdnm+
2009-05-19 14:47:51 UTC
Permalink
Hi, thanks for answer.
The problem (in my case)was in the omd.bat, I just delete the lines where delete temp files and it works.
Maybe it was deleting files before GIMP could open.
Again, thanks.
Alejandro.

------------------------------------------------------
http://astade.tigris.org/ds/viewMessage.do?dsForumId=3430&dsMessageId=2314490

To unsubscribe from this discussion, e-mail: [users-unsubscribe-HcrAt6aCZFAWBrYXtHbyV9i2O/***@public.gmane.org].
Loading...