Boy, you are having trouble up there! I went back and looked at some of
the previous comments on the mailing list about null tstates and the most
relevant was this:
http://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind0506&L=CCPNMR&P=R3563&I=-3&X=14BB0345401E16B573&Y=wb104%40bioc.cam.ac.uk
so it's possible there is some other "after_idle" we need to stick in
somewhere on start-up. I also did some googling but that didn't help very
much. There is a flag WITH_THREADS which Python can be compiled with, and
I think this is probably the key to the problem. (Tcl is not
thread-safe.) I think WITH_THREADS is turned off by default but it's
possible on some systems it's turned on by default?? (And the problem is
probably when it's turned on, although not guaranteed, since I'm only
guessing who called the function which crashed.) Hopefully we'll have some
time when we're up in Edinburgh to try and figure this out, because it
looks not good from here.
Wayne
On Tue, 24 Jan 2006, Dr Andy Herbert wrote:
> Hi,
>
> I just tried to open my project from the command line, now using Tk
> graphics and got the following error messages on two different
> occasions:
>
> CCPNMR Analysis Version 1.0. Release 8 (Copyright 2003-2004 CCPN)
> Distribution created Tue Jan 24 11:13:48 2006
> >>> Fatal Python error: PyEval_RestoreThread: NULL tstate
> /usr/progs/ccpnmr_floyd/bin/analysis: line 1: 28572 Aborted
> $CCPNMR_TOP_DIR/bin/python -i -O
> $CCPNMR_TOP_DIR/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py $1 $2 $3
>
>
>
> CCPNMR Analysis Version 1.0. Release 8 (Copyright 2003-2004 CCPN)
> Distribution created Tue Jan 24 13:11:04 2006
> >>> Fatal Python error: PyEval_RestoreThread: NULL tstate
> /usr/progs/ccpnmr_floyd/bin/analysis: line 1: 31287 Aborted
> $CCPNMR_TOP_DIR/bin/python -i -O
> $CCPNMR_TOP_DIR/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py $1 $2 $3
>
>
>
> When I opened analysis first, then opened my project from within
> analysis, the project opened without incident.
>
>
> Cheers
>
> Andy
>
> --
> Dr Andy Herbert
> Department of Chemistry
> University of Edinburgh
> West Mains Road
> Edinburgh
> UK
> EH9 3JJ
> Tel: +44 (0)131 650 4704 or 650 7372
> Email: [log in to unmask]
>
|