Opened 10 years ago

Closed 10 years ago

#28 closed defect (fixed)

HLSVD filter raises error

Reported by: flip Owned by:
Priority: major Milestone:
Component: processing Version:
Keywords: Cc: bsoher

Description

  1. Open press_cp0.rsd
  2. Change water filter to HLSVD
  3. Boom!
Traceback (most recent call last):
  File "/Users/me/w/duke/src/vespa/analysis/src/pane_spectral_processing.py", line 1096, in onChoiceWater
    self.info.plot(is_replot=True)
  File "/Users/me/w/duke/src/vespa/analysis/src/processing_view.py", line 471, in plot
    self.time2freq((0,1))
  File "/Users/me/w/duke/src/vespa/analysis/src/processing_view.py", line 381, in time2freq
    time = self._h2o_removal(time, plot, pre_roll_time, lshape)
  File "/Users/me/w/duke/src/vespa/analysis/src/processing_view.py", line 720, in _h2o_removal
    pubsub.Publisher().sendMessage("svd_update", plot)
  File "//usr/local/lib/wxPython-unicode-2.8.9.2/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/lib/pubsub.py", line 799, in sendMessage
    self.__topicTree.sendMessage(aTopic, message, onTopicNeverCreated)
  File "//usr/local/lib/wxPython-unicode-2.8.9.2/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/lib/pubsub.py", line 486, in sendMessage
    deliveryCount += node.sendMessage(message)
  File "//usr/local/lib/wxPython-unicode-2.8.9.2/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/lib/pubsub.py", line 324, in sendMessage
    listener(message)
  File "/Users/me/w/duke/src/vespa/analysis/src/pane_svd_filter.py", line 75, in on_notification
    if len(self.svdinfo.svd_indx[which]) != len(self.checkboxSignals[which]):
AttributeError: 'SvdFilterPane' object has no attribute 'checkboxSignals'

Change History (1)

comment:1 Changed 10 years ago by bsoher

  • Resolution set to fixed
  • Status changed from new to closed

The original gui_svd_filter.py file created by Jeff Steinberg had non-wxGlade code in wxGlade sections. Thus when I moved the gui files to auto_gui, renamed and recreated all these files, that code went bye-bye. Temporary fix is to restore the old file and rename that into auto_gui and it seems to work. But, the purpose of wxGlade and auto_gui and inheritance is now broken for this file.

Note: See TracTickets for help on using tickets.