Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError when saving a session #154

Closed
paulmueller opened this issue Jan 19, 2016 · 5 comments
Closed

IndexError when saving a session #154

paulmueller opened this issue Jan 19, 2016 · 5 comments
Labels

Comments

@paulmueller
Copy link
Member

save-session-bug

Opening that session (reference 2016-01-19) and saving it results in the error:

Traceback (most recent call last):
  File "pycorrfit/gui/frontend.py", line 1583, in OnSaveSession
    float(corr.fit_results["fit error estimation"][ii]) ])
IndexError: list index out of range
@paulmueller
Copy link
Member Author

@weidemann This should be fixed now in the developmental release: https://ci.appveyor.com/project/paulmueller/pycorrfit/build/1.0.360/job/thou8yijrjx7hwgv/artifacts

@paulmueller This is related to #122 and #124. It is unclear why the number of fitting parameters should not match up with the number of errors for the fitting parameters.

@weidemann
Copy link
Collaborator

Happened again after "save as" with a different name that the parent session could not be saved anymore. Maybe coincidence maybe related.

@paulmueller
Copy link
Member Author

I don't understand. Did you use the new build that I linked above?

@weidemann
Copy link
Collaborator

probably not. I am using the last official release 0.9.7 for Windows 64 bit

@weidemann
Copy link
Collaborator

ok, got it. 0.9.7.dev1 works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants