Print

Print


Hi,
release 17 & 18
I get very odd window behaviour when I open the edit spin system window and
select orphaned in the spin system status dropdown.  The window 'shakes'
continuously, and python uses all of one CPU.  I think the follwing was
displayed when it happened.

>>> Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1300, in __call__
    return apply(self.func, args)
  File "/home/andrewh/ccpnmr/ccpnmr1.0/python/memops/gui/PartitionedSelector.py"
, line 116, in <lambda>
    command = lambda n=i, s=self: s.selectButton(n)
  File "/home/andrewh/ccpnmr/ccpnmr1.0/python/memops/gui/PartitionedSelector.py"
, line 204, in selectButton
    self.callback(self.objects[i])
  File "/home/andrewh/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ViewAssignmentPopu
p.py", line 428, in toggleSpectrum
    self.updateConnections(spectrum)
  File "/home/andrewh/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ViewAssignmentPopu
p.py", line 555, in updateConnections
    self.drawConnection(hexColor, spectrum, atom1[0], atom2[0])
  File "/home/andrewh/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ViewAssignmentPopu
p.py", line 579, in drawConnection
    if self.canvasDict[residue1]['atm'][name1]:
UnboundLocalError: local variable 'name1' referenced before assignment
>>> Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1300, in __call__
    return apply(self.func, args)
  File
"/home/andrewh/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ViewAssignmentPopup.py",
line 735, in toggleResidue
    self.updateAllConnections()
  File
"/home/andrewh/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ViewAssignmentPopup.py",
line 990, in updateAllConnections
    self.updateConnections(spectrum)
  File
"/home/andrewh/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ViewAssignmentPopup.py",
line 555, in updateConnections
    self.drawConnection(hexColor, spectrum, atom1[0], atom2[0])
  File
"/home/andrewh/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ViewAssignmentPopup.py",
line 579, in drawConnection
    if self.canvasDict[residue1]['atm'][name1]:
UnboundLocalError: local variable 'name1' referenced before assignment
>>>


Cheers

Andy