Ticket #611 (closed: open)
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: | |
Cc: |
Description
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.
Marta
Note: See
TracTickets for help on using
tickets.
Ok, problem lies in ZedGraph? (the graph UI control that we use) and a flaw in EMF (Enhanced Metafile Format) image saving.
Symptoms:
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'
Cause:
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