Hello,
I've put some patches on the update server which will I hope protect
against the immediate problem but I wouldn't be surprised if something
else goes wrong further downstream.
Wayne
On Fri, 13 Nov 2009, Wayne Boucher wrote:
> Hello,
>
> I'm not quite sure what is going wrong but I don't like the code in
> WindowDraw which is calling that setupCWinPeakList function. So I'll ask Tim
> and see if we can figure out / remember why it is doing what it is doing.
> What it looks like after the C world peak list has been destroyed it is
> trying to redraw the window and that is causing some of the C world
> functionality to be re-initialised, but not in the proper way, so it is
> falling over. (And it should really not e trying to re-initialise it at all,
> it's exiting after all.)
>
> Wayne
>
> On Fri, 13 Nov 2009, Tozawa, Kaeko wrote:
>
>> Dear Wayne,
>>
>> I have the same problem to quit Analysis v.2.1.2 last night and still have
>> it now (although I updated today).
>> The Traceback I get today may be different to yesterday's and it appears
>> endlessly (probably 100 times by now).
>>
>> Exception in Tkinter callback
>> Traceback (most recent call last):
>> File "ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1403, in
>> __call__
>> return self.func(*args)
>> File "ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 498, in
>> callit
>> func(*args)
>> File "ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py", line
>> 3995, in <lambda>
>> File "ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/frames/WindowFrame.py", line
>> 4064, in drawCanvasReal
>> File "ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/WindowDraw.py", line
>> 1452, in doCanvas
>> File "ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/WindowDraw.py", line
>> 1211, in drawViewPeaks
>> File "ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/core/WindowDraw.py", line
>> 822, in drawViewTilePeaks
>> File "ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/Analysis.py", line 827, in
>> setupCWinPeakList
>> windowPeakList.cWinPeakList = CWinPeakList(peakList.cPeakList,
>> valueAxis)
>> AttributeError: 'PeakList' object has no attribute 'cPeakList'
>>
>> Thank you for your help!
>>
>> Kaeko
>>
>>
>>
>>
>> ________________________________________
>> From: CcpNmr software mailing list [[log in to unmask]] On Behalf Of
>> Wayne Boucher [[log in to unmask]]
>> Sent: 13 November 2009 08:48
>> To: [log in to unmask]
>> Subject: Re: Analysis bug on quitting
>>
>> Hello,
>>
>> Thanks, a dumb typo. Fixed now.
>>
>> Wayne
>>
>> On Fri, 13 Nov 2009, Olivier Serve wrote:
>>
>>> Hi,
>>> I have updated yesterday to version 2.1.2, and I have encountered
>>> the following bug twice. When I want to quit Analysis, some windows do not
>>> want to quit, including the main menu window which simplifies itself only
>>> to the titlebar and I have a python exception (see traceback at the end of
>>> the mail). Note that this happened only if I work for "some" time on a
>>> project, not just simply open and then close a project.
>>> Then I have to use the old 'ctr+d' to force quitting. It is not a
>>> big deal but in itself, but maybe hiding something else. I am using MacOS
>>> 10.6.2, with Tk and python from fink.
>>>
>>> Good luck and thank you,
>>> Olivier Serve, PhD
>>> Postdoc
>>> Okazaki Institute for Integrative Bioscience
>>> National Institutes of Natural Sciences
>>> 5-1 Higashiyama, Myodaiji, Okazaki 444-8787
>>> Japan
>>> [log in to unmask]
>>>
>>> Exception in Tkinter callback
>>> Traceback (most recent call last):
>>> File "ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1403, in
>>> __call__
>>> return self.func(*args)
>>> File "ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/AnalysisPopup.py", line
>>> 2288, in quit
>>> self.destroy()
>>> File "ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/AnalysisPopup.py", line
>>> 2275, in destroy
>>> BasePopup.destroy(self)
>>> File "ccpnmr/ccpnmr2.1/python/memops/editor/BasePopup.py", line 225, in
>>> destroy
>>> File "ccpnmr/ccpnmr2.1/python/memops/gui/BasePopup.py", line 375, in
>>> destroy
>>> File "ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1935, in
>>> destroy
>>> for c in self.children.values(): c.destroy()
>>> File
>>> "ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/popups/BrowseReferenceShifts.py",
>>> line 348, in destroy
>>> File "ccpnmr/ccpnmr2.1/python/memops/editor/BasePopup.py", line 225, in
>>> destroy
>>> File "ccpnmr/ccpnmr2.1/python/memops/gui/BasePopup.py", line 375, in
>>> destroy
>>> File "ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1935, in
>>> destroy
>>> for c in self.children.values(): c.destroy()
>>> File "ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1935, in
>>> destroy
>>> for c in self.children.values(): c.destroy()
>>> File "ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1935, in
>>> destroy
>>> for c in self.children.values(): c.destroy()
>>> File "ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1935, in
>>> destroy
>>> for c in self.children.values(): c.destroy()
>>> File "ccpnmr/ccpnmr2.1/python/memops/gui/ScrolledGraph.py", line 376, in
>>> destroy
>>> NameError: global name 'canvas' is not defined
>>>
>>
>
|