Have seen this sort of traceback and the progress bar dying in a few
places in 1.0.9
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
return self.func(*args)
File
"/usr/local/ccpnmr1.0.9/ccpnmr1.0/python/ccpnmr/analysis/CalcAmbigDistConstraintsPopup.py",
line 878, in testShiftMatch
progressBar = ProgressBar(self, text="Matching resonances to
peaks",total = len(self.peakList.peaks))
File
"/usr/local/ccpnmr1.0.9/ccpnmr1.0/python/memops/gui/ProgressBar.py", line
76, in __init__
transient=transient, *args, **kw)
File "/usr/local/ccpnmr1.0.9/ccpnmr1.0/python/memops/gui/BasePopup.py",
line 120, in __init__
self.initial_focus = self.body(frame)
File
"/usr/local/ccpnmr1.0.9/ccpnmr1.0/python/memops/gui/ProgressBar.py", line
91, in body
self.update()
File
"/usr/local/ccpnmr1.0.9/ccpnmr1.0/python/memops/gui/ProgressBar.py", line
95, in update
p = self.progress/self.total
ZeroDivisionError: float division
--
Dr. Brian O. Smith ---------------------- B Smith at bio gla ac uk
Division of Biochemistry & Molecular Biology,
Institute Biomedical & Life Sciences,
Joseph Black Building, University of Glasgow, Glasgow G12 8QQ, UK.
Tel: 0141 330 5167/6459/3089 Fax: 0141 330 8640
|