Opened 7 years ago

Last modified 7 years ago

#781 closed defect

blank fit page when selecting old style plugin after reload — at Version 2

Reported by: pkienzle Owned by: butler
Priority: minor Milestone: SasView 4.1.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description (last modified by butler)

The following error occurs when loading an old style model after the "Load Plugin Models" operation (either from the menu, or from editing and saving a model):

Traceback (most recent call last):
  File "/Users/pkienzle/Source/sasview-new/src/sas/sasgui/perspectives/fitting/fitpage.py", line 1179, in _on_select_model
    self._on_select_model_helper()
  File "/Users/pkienzle/Source/sasview-new/src/sas/sasgui/perspectives/fitting/basepage.py", line 2045, in _on_select_model_helper
    self.model = form_factor()
  File "/Users/pkienzle/.sasview/plugin_models/polynomial5.py", line 39, in __init__
    Model1DPlugin.__init__(self, name=self.name) ##DO NOT CHANGE THIS LINE!!!
TypeError: expected string or buffer

This gives a blank FitPage.

The workaround is to request a new fit page, which then makes the old page accessible.

Change History (2)

comment:1 Changed 7 years ago by butler

  • Owner set to butler
  • Status changed from new to assigned

comment:2 Changed 7 years ago by butler

  • Description modified (diff)
Note: See TracTickets for help on using tickets.