-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Labels
DefectBug or undesirable behaviourBug or undesirable behaviourMajorBig change in the code or important change in behaviourBig change in the code or important change in behaviour
Milestone
Description
Old style python custom model don't load. It was fixed before but apparently the issue reoccurred. It doesn't work either on windows or mac (regardless opencl or not).
Traceback (most recent call last):
File "C:\Users\wojtek\SASVIEW_WORKSPACE\sasview\src\sas\sasgui\perspectives\fitting\fitpage.py", line 1179, in _on_select_model
self._on_select_model_helper()
File "C:\Users\wojtek\SASVIEW_WORKSPACE\sasview\src\sas\sasgui\perspectives\fitting\basepage.py", line 1955, in _on_select_model_helper
if form_factor is None or not form_factor.is_form_factor:
AttributeError: class Model has no attribute 'is_form_factor'
Migrated from http://trac.sasview.org/ticket/744
{
"status": "closed",
"changetime": "2016-10-09T15:16:02",
"_ts": "2016-10-09 15:16:02.627269+00:00",
"description": "Old style python custom model don't load. It was fixed before but apparently the issue reoccurred. It doesn't work either on windows or mac (regardless opencl or not).\n\nTraceback (most recent call last):\n File \"C:\\Users\\wojtek\\SASVIEW_WORKSPACE\\sasview\\src\\sas\\sasgui\\perspectives\\fitting\\fitpage.py\", line 1179, in _on_select_model\n self._on_select_model_helper()\n File \"C:\\Users\\wojtek\\SASVIEW_WORKSPACE\\sasview\\src\\sas\\sasgui\\perspectives\\fitting\\basepage.py\", line 1955, in _on_select_model_helper\n if form_factor is None or not form_factor.is_form_factor:\n\nAttributeError: class Model has no attribute 'is_form_factor'",
"reporter": "wojciech",
"cc": "",
"resolution": "fixed",
"workpackage": "SasView Bug Fixing",
"time": "2016-10-09T14:57:35",
"component": "SasView",
"summary": "Old-style custom models don't load",
"priority": "major",
"keywords": "",
"milestone": "SasView 4.1.0",
"owner": "",
"type": "defect"
}Metadata
Metadata
Assignees
Labels
DefectBug or undesirable behaviourBug or undesirable behaviourMajorBig change in the code or important change in behaviourBig change in the code or important change in behaviour