You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading a project gives "access violations" on at least some models.
Loading a project with constraints between two fit pages looks like it loads OK (apart from 5 or 6 access violations) but hitting "fit" in the constraints tab goes into an infinite calculation, with
2016-10-08 14:40:11 : Fitting is in progress...
or "fit" on an individual fit page gives errors below and then removes the fit button
2016-10-08 14:40:11 : Traceback (most recent call last):
File "C:\stfc\sasview4\sasview\src\sas\sasgui\perspectives\fitting\fit_thread.py", line 82, in compute
result = map(map_apply, inputs)
File "C:\stfc\sasview4\sasview\src\sas\sasgui\perspectives\fitting\fit_thread.py", line 14, in map_apply
return apply(arguments[0], arguments[1:])
File "C:\stfc\sasview4\sasview\src\sas\sasgui\perspectives\fitting\fit_thread.py", line 11, in map_getattr
return getattr(classInstance, classFunc)(args)
File "C:\stfc\sasview4\sasview\src\sas\sascalc\fit\BumpsFitting.py", line 274, in fit
result = run_bumps(problem, handler, curr_thread)
File "C:\stfc\sasview4\sasview\src\sas\sascalc\fit\BumpsFitting.py", line 345, in run_bumps
best, fbest = fitdriver.fit()
File "C:\Anaconda\lib\site-packages\bumps-0.7.5.7-py2.7.egg\bumps\fitters.py", line 830, in fit
**self.options)
File "C:\Anaconda\lib\site-packages\bumps-0.7.5.7-py2.7.egg\bumps\fitters.py", line 526, in solve
full_output=1)
File "C:\Anaconda\lib\site-packages\scipy\optimize\minpack.py", line 371, in leastsq
shape, dtype = _check_func('leastsq', 'func', func, x0, args, n)
File "C:\Anaconda\lib\site-packages\scipy\optimize\minpack.py", line 20, in _check_func
res = atleast_1d(thefunc(((x0[:numinputs],) + args)))
File "C:\Anaconda\lib\site-packages\bumps-0.7.5.7-py2.7.egg\bumps\fitters.py", line 554, in _bounded_residuals
self.problem.setp(p + stray)
File "C:\Anaconda\lib\site-packages\bumps-0.7.5.7-py2.7.egg\bumps\fitproblem.py", line 270, in setp
setp_hook()
File "C:\stfc\sasview4\sasview\src\sas\sascalc\fit\BumpsFitting.py", line 230, in call
self.update()
File "", line 6, in eval_expressions
NameError: global name 'M1' is not defined
{
"status": "closed",
"changetime": "2016-10-20T20:18:07",
"_ts": "2016-10-20 20:18:07.256128+00:00",
"description": "Loading a project gives \"access violations\" on at least some models.\n\nLoading a project with constraints between two fit pages looks like it loads OK (apart from 5 or 6 access violations) but hitting \"fit\" in the constraints tab goes into an infinite calculation, with \n\n\t2016-10-08 14:40:11 : Fitting is in progress...\n\nor \"fit\" on an individual fit page gives errors below and then removes the fit button\n\n\n2016-10-08 14:40:11 : Traceback (most recent call last):\n File \"C:\\stfc\\sasview4\\sasview\\src\\sas\\sasgui\\perspectives\\fitting\\fit_thread.py\", line 82, in compute\n result = map(map_apply, inputs)\n File \"C:\\stfc\\sasview4\\sasview\\src\\sas\\sasgui\\perspectives\\fitting\\fit_thread.py\", line 14, in map_apply\n return apply(arguments[0], arguments[1:])\n File \"C:\\stfc\\sasview4\\sasview\\src\\sas\\sasgui\\perspectives\\fitting\\fit_thread.py\", line 11, in map_getattr\n return getattr(classInstance, classFunc)(*args)\n File \"C:\\stfc\\sasview4\\sasview\\src\\sas\\sascalc\\fit\\BumpsFitting.py\", line 274, in fit\n result = run_bumps(problem, handler, curr_thread)\n File \"C:\\stfc\\sasview4\\sasview\\src\\sas\\sascalc\\fit\\BumpsFitting.py\", line 345, in run_bumps\n best, fbest = fitdriver.fit()\n File \"C:\\Anaconda\\lib\\site-packages\\bumps-0.7.5.7-py2.7.egg\\bumps\\fitters.py\", line 830, in fit\n **self.options)\n File \"C:\\Anaconda\\lib\\site-packages\\bumps-0.7.5.7-py2.7.egg\\bumps\\fitters.py\", line 526, in solve\n full_output=1)\n File \"C:\\Anaconda\\lib\\site-packages\\scipy\\optimize\\minpack.py\", line 371, in leastsq\n shape, dtype = _check_func('leastsq', 'func', func, x0, args, n)\n File \"C:\\Anaconda\\lib\\site-packages\\scipy\\optimize\\minpack.py\", line 20, in _check_func\n res = atleast_1d(thefunc(*((x0[:numinputs],) + args)))\n File \"C:\\Anaconda\\lib\\site-packages\\bumps-0.7.5.7-py2.7.egg\\bumps\\fitters.py\", line 554, in _bounded_residuals\n self.problem.setp(p + stray)\n File \"C:\\Anaconda\\lib\\site-packages\\bumps-0.7.5.7-py2.7.egg\\bumps\\fitproblem.py\", line 270, in setp\n setp_hook()\n File \"C:\\stfc\\sasview4\\sasview\\src\\sas\\sascalc\\fit\\BumpsFitting.py\", line 230, in __call__\n self.update()\n File \"<string>\", line 6, in eval_expressions\nNameError: global name 'M1' is not defined\n \n None'' \n\n\n\n",
"reporter": "richardh",
"cc": "",
"resolution": "fixed",
"workpackage": "SasView Bug Fixing",
"time": "2016-10-08T18:51:47",
"component": "SasView",
"summary": "Load project issues",
"priority": "blocker",
"keywords": "",
"milestone": "SasView 4.1.0",
"owner": "krzywon",
"type": "defect"
}
The text was updated successfully, but these errors were encountered:
#!CommitTicketReference repository="sasview" revision="a28e52b9c410d3decbcb38b19f8d0a07d656514a"
#854: Simultaneous fit page now can perform fits on loading saved projects. Loading errors left to fix.
#!CommitTicketReference repository="sasview" revision="c8e19964f2dda929ccae8237e7b140a906cdf134"
Fixes #854: No errors are thrown on loading projects with fits, plus linting.
krzywon changed resolution from "" to "fixed"
krzywon changed status from "reopened" to "closed"
Loading a project gives "access violations" on at least some models.
Loading a project with constraints between two fit pages looks like it loads OK (apart from 5 or 6 access violations) but hitting "fit" in the constraints tab goes into an infinite calculation, with
or "fit" on an individual fit page gives errors below and then removes the fit button
2016-10-08 14:40:11 : Traceback (most recent call last):
File "C:\stfc\sasview4\sasview\src\sas\sasgui\perspectives\fitting\fit_thread.py", line 82, in compute
result = map(map_apply, inputs)
File "C:\stfc\sasview4\sasview\src\sas\sasgui\perspectives\fitting\fit_thread.py", line 14, in map_apply
return apply(arguments[0], arguments[1:])
File "C:\stfc\sasview4\sasview\src\sas\sasgui\perspectives\fitting\fit_thread.py", line 11, in map_getattr
return getattr(classInstance, classFunc)(args)
File "C:\stfc\sasview4\sasview\src\sas\sascalc\fit\BumpsFitting.py", line 274, in fit
result = run_bumps(problem, handler, curr_thread)
File "C:\stfc\sasview4\sasview\src\sas\sascalc\fit\BumpsFitting.py", line 345, in run_bumps
best, fbest = fitdriver.fit()
File "C:\Anaconda\lib\site-packages\bumps-0.7.5.7-py2.7.egg\bumps\fitters.py", line 830, in fit
**self.options)
File "C:\Anaconda\lib\site-packages\bumps-0.7.5.7-py2.7.egg\bumps\fitters.py", line 526, in solve
full_output=1)
File "C:\Anaconda\lib\site-packages\scipy\optimize\minpack.py", line 371, in leastsq
shape, dtype = _check_func('leastsq', 'func', func, x0, args, n)
File "C:\Anaconda\lib\site-packages\scipy\optimize\minpack.py", line 20, in _check_func
res = atleast_1d(thefunc(((x0[:numinputs],) + args)))
File "C:\Anaconda\lib\site-packages\bumps-0.7.5.7-py2.7.egg\bumps\fitters.py", line 554, in _bounded_residuals
self.problem.setp(p + stray)
File "C:\Anaconda\lib\site-packages\bumps-0.7.5.7-py2.7.egg\bumps\fitproblem.py", line 270, in setp
setp_hook()
File "C:\stfc\sasview4\sasview\src\sas\sascalc\fit\BumpsFitting.py", line 230, in call
self.update()
File "", line 6, in eval_expressions
NameError: global name 'M1' is not defined
None''
Migrated from http://trac.sasview.org/ticket/738
The text was updated successfully, but these errors were encountered: