Ticket #611 (closed: open)

Opened 14 years ago

Last modified 14 years ago

problems saving images from Ecosim

Reported by: martac Owned by: carieh
Priority: normal Milestone: Ecopath 6: build 6.0.7
Component: Ecosim Version:
Severity: minor Keywords:


When I try to save a figure from Ecosim run (just save figure to ... clicking with the right mouse) it seems it save it but when I try to open it then it is not there.

Change History

comment:1 Changed 14 years ago by jeroens

Ok, problem lies in ZedGraph? (the graph UI control that we use) and a flaw in EMF (Enhanced Metafile Format) image saving.

Save an EMF file once and it works ok. In the SAME session, attempt to overwrite the earlier written EMF file with a new file and the attempt fails. The file also cannot be deleted with Windows Explorer because it is still 'in use'

ZedGraph? writes the first EMF file ok, but then refuses to release the file handle. While the EwE session that wrote the file is active the file is locked; any overwrite attempts, file delete, file move or file rename attempts will fail.

I've fixed the bug in the ZedGraph? source code after builds May 17 2009

Note: See TracTickets for help on using tickets.