Hi Chris,
Unfortunately this isn't a fix that CCPN can make in our code, as the bug appears to be in Tcl/Tk / Python implementation and your OS. We have found that using Tcl/Tk (and Python) which is thread-safe, ie has been compiled with --enable-threads, removes occurrences of this problem (and similar freeze / crashes).
You can either recompile this code yourself (it's C code not Python), if you use Wayne's source release it is very easy to do. If you use fink then it is similarly very easy (and I think that the fink libraries are already thread-safe).
Wayne has said that he will start releasing the pre-compiled code with this flag enabled, so if you can wait for the next release then that should fix it.
Sorry we can't be of more help, but this should be very simple for you fix your end.
Dan
On 21 Dec 2009, at 14:08, Chris Spronk wrote:
> Hi Dan,
>
> Akvile and I had this problem only once, although we have seen as well that sometimes the program froze after closing a popup (sorry for not checking any traceback before). But I must say we didn't test too much lately.
> The version we are running is the latest updated version of V2.1.2, precompiled for 64bit Mac Intel, OS X 10.5.8.
> I would rather not go into all the compiling stuff.
>
> Hope this helps,
>
> Chris
>
> **********************************************************
>
> Dr. Chris Spronk
> Director - UAB "Spronk NMR Consultancy"
> Subačiaus gatvė 15-4
> LT-01126, Vilnius
> Vilnius, Lithuania
>
> [log in to unmask]
> www.spronknmr.eu
>
> **********************************************************
>
> On Dec 21, 2009, at 2:37 PM, Daniel O'Donovan wrote:
>
>> Hi Akvilė,
>>
>> We've seen this error once before and it was pretty tricky to track down. The bug comes from somewhere in Python / Tcl and your OS. (You can tell as you can trace the error all the way up through python system files - no CCPN files).
>>
>> I suspect that this could be fixed by recompiling Tcl/Tk with --enable-threads, but then you'd have to recompile Python and then Analysis. Before you do that, and so that we can check that this really needs to be done, could you
>>
>> 1) Tell us which Analysis you are running? (Which version, pre-compiled or compiled yourself)
>>
>> 2) Which OS this is happening on (Linux/Mac/Windows) and is that 32 bit / 64 bit etc
>>
>> 3) How often this occurs - has this only happened once, or does it happen every 30 mins (much more serious).
>>
>> Without this extra info we really can't tell guess what's really going on!
>>
>> Thanks,
>>
>> Dan
>>
>> On 21 Dec 2009, at 12:10, Akvile Gaidelyte wrote:
>>
>>> Hello,
>>>
>>> We ran into the following error, after deleting a molecular chain and molecular system using the Molecule: Molecules popup:
>>>
>>> Exception in Tkinter callback
>>> Traceback (most recent call last):
>>> Traceback (most recent call last):
>>> File "/Applications/ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1407, in __call__
>>> self.widget._report_exception()
>>> File "/Applications/ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1171, in _report_exception
>>> root.report_callback_exception(exc, val, tb)
>>> File "/Applications/ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line 1718, in report_callback_exception
>>> traceback.print_exception(exc, val, tb)
>>> File "/Applications/ccpnmr/python2.5/lib/python2.5/traceback.py", line 125, in print_exception
>>> print_tb(tb, limit, file)
>>> File "/Applications/ccpnmr/python2.5/lib/python2.5/traceback.py", line 67, in print_tb
>>> ' File "%s", line %d, in %s' % (filename,lineno,name))
>>> RuntimeError: maximum recursion depth exceeded
>>>
>>> It completely freezes the whole program.
>>>
>>> Best regards,
>>> Akvile
>>>
>>> **********************************************************
>>>
>>> Akvilė Gaidelytė
>>> Spronk NMR Consultancy
>>> Subačiaus gatvė 15-4
>>> LT-01126, Vilnius
>>> Vilnius, Lithuania
>>>
>>> [log in to unmask]
>>> www.spronknmr.eu
>>>
>>> **********************************************************
>>>
>>
>> Daniel O'Donovan
>> [log in to unmask]
>>
>>
>>
>
Daniel O'Donovan
[log in to unmask]
|