Page 1 of 1

A dead loop

PostPosted: Tue Feb 12, 2013 11:08 am
by linfeng.shang
When I met the following dialog:

"GMAT Warning
The animation is running.
Please stop the animation first."

I wanted to close it by pressing button "ok", but it seemed that didnot work.

I had to kill the main thread!

Re: A dead loop

PostPosted: Tue Feb 12, 2013 2:41 pm
by jjkparker
Thanks for the report. What version of GMAT were you using?

Can you give any details on what you did to generate the error?

Re: A dead loop

PostPosted: Wed Feb 13, 2013 12:21 am
by linfeng.shang
2012a beta, windows 7
Load two scripts into Resource tree:
Ex_MarsBPlane.script
Ex_GEOTransfer.script

Run , Stop, Animation Ex_GEOTransfer.script

Just during the animation is going, right click "Ex_MarsBPlane.script" in Resource Panel, select the item "Build and Run" in popup menu.

Re: A dead loop

PostPosted: Wed Feb 13, 2013 1:41 pm
by jjkparker
Thanks for the additional info.

Looks like this is a known bug that has been fixed in the development code already: http://li64-187.members.linode.com:8080/browse/GMT-2876.

It'll be fixed in the upcoming R2013a release.

If you need the fix now, we can send you an updated development version, or if you want, you could try compiling the latest code yourself.

Thanks,
Joel

Re: A dead loop

PostPosted: Thu Feb 14, 2013 2:31 am
by linfeng.shang
My environment is Windows 7 and VS2010. I have tried compiling "gmat-src-R2012a-Beta" downloaded from SourceForge. But that package seems not all files included.Could you send me the lastest all-included version, or give me a link for download?

Best Regards,

Linfeng SHANG.

Re: A dead loop

PostPosted: Thu Feb 14, 2013 1:46 pm
by jjkparker
Yes, the best thing to do is to check out the latest source code from the Subversion repository. See this wiki page for instructions:

http://gmat.ed-pages.com/wiki/Compiling+GMAT