Menu

#189 spectrum toggling bug

3.0.0
closed
nobody
None
3
2017-07-28
2016-12-21
wb104
No

Was going through tutorial with Sec5Part3 and somehow got into a state where one of the windows cannot have spectra toggled on or off because of following exception:

Traceback (most recent call last):
File "/Users/wb104/svnsf/trunk/ccpnv3/src/python/ccpn/ui/gui/modules/GuiSpectrumViewNd.py", line 136, in setVisible
GuiSpectrumView.setVisible(self, visible)
File "/Users/wb104/svnsf/trunk/ccpnv3/src/python/ccpn/ui/gui/modules/GuiSpectrumView.py", line 92, in setVisible
for peakListView in self.peakListViews:
File "/Users/wb104/svnsf/trunk/ccpnv3/src/python/ccpn/core/_implementation/AbstractWrapperObject.py", line 450, in _allDescendants
ll = itertools.chain((func(x) for x in objects))
File "/Users/wb104/svnsf/trunk/ccpnv3/src/python/ccpn/core/_implementation/AbstractWrapperObject.py", line 450, in <genexpr>
ll = itertools.chain(</genexpr>
(func(x) for x in objects))
File "/Users/wb104/svnsf/trunk/ccpnv3/src/python/ccpn/ui/_implementation/PeakListView.py", line 151, in _getAllWrappedData
return sorted(parent._wrappedData.stripPeakListViews,
AttributeError: 'NoneType' object has no attribute 'stripPeakListViews'

Discussion

  • wb104

    wb104 - 2017-07-28
    • status: open --> closed
     
  • wb104

    wb104 - 2017-07-28

    Closed since not reproduced.

     

Log in to post a comment.