Opened 11 years ago
Closed 11 years ago
#249 closed defect (fixed)
Save Project and Save Analysis Broken
Reported by: | krzywon | Owned by: | krzywon |
---|---|---|---|
Priority: | blocker | Milestone: | SasView 3.0.0 |
Component: | SasView | Keywords: | |
Cc: | Work Package: |
Description
The "Save Project" and "Save Analysis" actions do not work on the latest development build. An error appears in the sasview.log file "ERROR SasView? cannot read [file location]" where [file location] is the path of the file I am saving to when saving a project and save analysis is never accessible.
I believe the save project issue is linked to the changes I made with the data writer and the removal of the minidom package from the cansas reader. I am not sure why the save analysis action is not available.
Change History (6)
comment:1 Changed 11 years ago by butler
- Priority changed from critical to blocker
comment:2 Changed 11 years ago by krzywon
comment:3 Changed 11 years ago by butler
Just tested build 7031 on windows 7. I can read the test "open analysis" but the Open project while it seems that it may work (loads 2 files etc) but it pops up an error "Error(s) Occured: DataLoader? Error: Encountered Non-ASCII Character ('tupule' object has no attribute 'meta_data'"
Also I cannot save a project or an analysis —
comment:4 Changed 11 years ago by krzywon
- Resolution set to fixed
- Status changed from new to closed
My latest push resolved the issue of saving and loading project files. Ticket #87 was also resolved in this push.
comment:5 Changed 11 years ago by butler
- Resolution fixed deleted
- Status changed from closed to reopened
Ooops … not really fixed from what I can see. I downloaded the latest build (windows installer build 7040 made on May 8 at 1:05PM. installed on my windows 7 computers (after uninstalling last version of sasview I installed). I am unable to save either a project or an analysis, either in fit or Prview. If I try to save project on opening or after loading a file it STILL fails silently (not indicating it failed to save). Once I try fitting some data and have plots or do a PR calculation I DO get the most ironic (and irritating) error of:
Error occurred while saving: To save, at leat one application panel should have a data set..
Not tried yet on mac but am reopening ticket
comment:6 Changed 11 years ago by krzywon
- Resolution set to fixed
- Status changed from reopened to closed
As tested by Andrew and Paul, this is now working, but with issues.
Known issues:
(1) If no data is loaded, the project is not saved.
(2) If data is loaded, but not sent to a perspective, the project is not saved.
(3) If data is sent to the fitting window, but no model is selected, the project is not saved.
I have made changes to resolve this issue so projects and analysis windows can be saved and loaded. I have loaded save states made in previous versions and they all loaded properly with saves from v2.2.0, v2.2.1 and the development build.