>Thanks, that ndiagonal_exclusions should definitely be initialised to 0
>(the nexcluded_regions was set to 0 at the bottom of that if block in the
>else statement). This could definitely throw some compilers, you should
>definitely always initialise everything. So I've fixed that already.
Well, as you suspected, that wasn't the cause of the problem I reported.
I edited py_peak_list.c to add new lines 441-444 as:
>
> else {
> ndiagonal_exclusions = 0;
> }
Then I compiled as before and I still have the same error on command line opening
of a project. It appears that the abort takes place right at the opening of
window 2 which is the 3D spectra window that serves both the hsqc-noesy and hsqc-tocsy
for the tutorial and is set to display strips. The message reads:
>>> Fatal Python error: PyEval_RestoreThread: NULL tstate
/new-ccpnmr/ccpnmr/bin/analysis: line 1: 1282 Abort trap $CCPNMR_TOP_DIR/bin/python -i -O $CCPNMR_TOP_DIR/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py $1
Now, to me that looks like a Python error in which something, called PyEval_RestoreThread
is being given a thread state that is NULL. I'm skeptical of the problem being in the c
code.
Sincerely,
--
Bruce D. Ray, Ph.D.
Associate Scientist, and Operations Director
NMR Center
IUPUI
Physics Dept.
402 N. Blackford St.
Indianapolis, IN 46202-3273
|