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

6.0.0: Final Fixes #3122

Merged
merged 6 commits into from
Oct 16, 2024
Merged

6.0.0: Final Fixes #3122

merged 6 commits into from
Oct 16, 2024

Conversation

krzywon
Copy link
Contributor

@krzywon krzywon commented Oct 9, 2024

Description

This is a series of changes that are needed for the final 6.0.0 release. Items changed in this PR:

ANY OTHER FIXES MAY GO HERE

Refs https://github.com/orgs/SasView/discussions/3116

Review Checklist:

[if using the editor, use [x] in place of [ ] to check a box]

Documentation (check at least one)

  • There is nothing that needs documenting
  • Documentation changes are in this PR
  • There is an issue open for the documentation (link?)

Installers

  • There is a chance this will affect the installers, if so
    • Windows installer (GH artifact) has been tested (installed and worked)
    • MacOSX installer (GH artifact) has been tested (installed and worked)

Licencing (untick if necessary)

  • The introduced changes comply with SasView license (BSD 3-Clause)

krzywon and others added 4 commits October 8, 2024 14:46
Whatsnew's parent should be the mainwindow, not the gui manager. Also
whatsnew is not passing on its parent to the QDialog super class.
@rozyczko
Copy link
Member

Hmm the installation doesn't work for me (Win10, 64bit).
Still getting

sas.system.config.config_meta.MalformedFile: Malformed version in config file, should be a string of the form 'X.Y.Z'

and SasView window doesn't show up

@krzywon
Copy link
Contributor Author

krzywon commented Oct 10, 2024

Hmm the installation doesn't work for me (Win10, 64bit). Still getting

sas.system.config.config_meta.MalformedFile: Malformed version in config file, should be a string of the form 'X.Y.Z'

and SasView window doesn't show up

Try deleting the config6.json file in your ~/.sasview/ directory and see if that solves the issue.

Copy link
Contributor

@lucas-wilkins lucas-wilkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jamescrake-merani and I looked at code, checked installers on windows and mac, LGTM!!

@wpotrzebowski
Copy link
Contributor

I am getting the following error when with fitting with DREAM:
21:41:40 - ERROR: Fitting failed: Traceback (most recent call last): File "sas/qtgui/Perspectives/Fitting/FitThread.py", line 79, in compute File "sas/qtgui/Perspectives/Fitting/FitThread.py", line 19, in map_apply File "sas/qtgui/Perspectives/Fitting/FitThread.py", line 16, in map_getattr File "sas/sascalc/fit/BumpsFitting.py", line 285, in fit IndexError: tuple index out of range 21:41:40 - ERROR: tuple index out of range === Steps: 1101 of 1100 chisq: 117 ETA: 2024-10-12 21:41 (0s from now) M1.radius : 14 | 21:41:40 - ERROR: Traceback (most recent call last): File "sas/qtgui/Perspectives/Fitting/FittingWidget.py", line 2121, in fitComplete AttributeError: 'str' object has no attribute 'fitness'

I think we fixed it at some point?

@wpotrzebowski
Copy link
Contributor

I guess we need to pull #3110

@krzywon
Copy link
Contributor Author

krzywon commented Oct 15, 2024

I guess we need to pull #3110

The builds from this branch use bumps v0.9.2. #3110 should have no bearing on this. If you are running from source, be sure you checkout bumps tag=v0.9.2.

@wpotrzebowski
Copy link
Contributor

I guess we need to pull #3110

The builds from this branch use bumps v0.9.2. #3110 should have no bearing on this. If you are running from source, be sure you checkout bumps tag=v0.9.2.

I've been running from the MAC installer.

@krzywon
Copy link
Contributor Author

krzywon commented Oct 15, 2024

I guess we need to pull #3110

The builds from this branch use bumps v0.9.2. #3110 should have no bearing on this. If you are running from source, be sure you checkout bumps tag=v0.9.2.

I've been running from the MAC installer.

Then the DREAM error will need to be investigated. Can you reliably reproduce the issue?

@wpotrzebowski
Copy link
Contributor

The error I see is very reproducible. I've tested both arm and x86 installer and it is reproducible. It appears no matter which fit algorithm I use before switching to DREAM. The error also appears regardless if I choose Default Fit algorithm or Fit Algorithm

Screen.Recording.2024-10-15.at.20.56.40.mov

@krzywon
Copy link
Contributor Author

krzywon commented Oct 15, 2024

@wpotrzebowski - I can reproduce it on Windows as well. This might hold up the release.

@jamescrake-merani
Copy link
Contributor

Also able to reproduce this error on the Linux Flatpak build.

@krzywon
Copy link
Contributor Author

krzywon commented Oct 16, 2024

The issue noted by @wpotrzebowski is going to hold up the release. I've been trying to diagnose this and can't find a proper solution. In the mean time, I'm merging this PR so the release branch is up to date

@krzywon krzywon merged commit 5326cb0 into release_6.0.0 Oct 16, 2024
34 checks passed
@krzywon krzywon deleted the 6.0.0-final-fixes branch October 16, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants