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

Comments

Projects
None yet
2 participants
@paulmueller
Member

paulmueller commented Jan 19, 2016

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 paulmueller added the bug label Jan 19, 2016

@paulmueller

This comment has been minimized.

Member

paulmueller commented Jan 20, 2016

@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

This comment has been minimized.

Collaborator

weidemann commented Jan 23, 2016

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

@paulmueller

This comment has been minimized.

Member

paulmueller commented Jan 23, 2016

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

@weidemann

This comment has been minimized.

Collaborator

weidemann commented Jan 23, 2016

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

@weidemann

This comment has been minimized.

Collaborator

weidemann commented Jan 23, 2016

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