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

Failure in getSymbolDict on selecting parameters for constraints #1696

Closed
rozyczko opened this issue Oct 27, 2020 · 1 comment
Closed

Failure in getSymbolDict on selecting parameters for constraints #1696

rozyczko opened this issue Oct 27, 2020 · 1 comment
Labels
Defect Bug or undesirable behaviour Major Big change in the code or important change in behaviour
Milestone

Comments

@rozyczko
Copy link
Member

In my current local build of this branch, the mutual constrain does not work, is there a commit of fix above needed still? I get error
11:59:36 - ERROR: Traceback (most recent call last):
File "C:\sasview42\sasview\src\sas\qtgui\Perspectives\Fitting\FittingWidget.py", line 757, in showMultiConstraint
self.addConstraintToRow(constraint=constraint, row=row)
File "C:\sasview42\sasview\src\sas\qtgui\Perspectives\Fitting\FittingWidget.py", line 810, in addConstraintToRow
symbol_dict = self.parent.perspective().getSymbolDictForConstraints()
File "C:\sasview42\sasview\src\sas\qtgui\Perspectives\Fitting\FittingPerspective.py", line 537, in getSymbolDictForConstraints
symbol_dict.update(tab.getSymbolDict())
File "C:\sasview42\sasview\src\sas\qtgui\Perspectives\Fitting\FittingWidget.py", line 4387, in getSymbolDict
model_name = self.kernel_module.name
AttributeError: 'NoneType' object has no attribute 'name'

Originally posted by @RichardHeenan in #1690 (comment)

@rozyczko rozyczko added Defect Bug or undesirable behaviour Major Big change in the code or important change in behaviour labels Oct 27, 2020
@rozyczko rozyczko added this to the SasView 5.0.4 milestone Oct 27, 2020
@RichardHeenan
Copy link
Contributor

Now that the previous branch has been merged to the new "main", my local build on win10 does not see this problem, so I am closing this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Defect Bug or undesirable behaviour Major Big change in the code or important change in behaviour
Projects
None yet
Development

No branches or pull requests

2 participants