Right, I think I know what the problem is. This change which led to that
error message below is in one of the updates which have happened since the
1.0.14 release (which is the current one).
I just downloaded the 1.0.14 Analysis release and installed that and then
did the updates. It worked fine (in particular it compiled the C code).
Then I downloaded the 1.0.12 Analysis release and installed that and then
did the upgrades without first exiting the program (and the instructions
on the screen pretty much lead you down that route). In this case the C
code was not automatically recompiled, because it was still using the
1.0.12 version of the update script, which did not have this facility in
it. So people with 1.0.12 releases or earlier will need to do one of:
(1) Do the 1.0.14 upgrade but do not do the more recent updates
immediately but instead exit Analysis. Then restart Analysis and get the
more recent updates, which should now do the automatic recompilation.
OR
(2) Do the 1.0.14 upgrade and get the more recent updates at the same time
(and like I said above, the script pretty much leads you down that path).
Then quit Analysis and do the recompilation yourself:
cd ccpnmr1.0/c
make clean
make
And hopefully you will then be ok.
People with 1.0.13 may or may not experience another problem since there
was a bug in the update script itself for about a week or two after the
release, so if you haven't upgraded at all between 1.0.13 and 1.0.14
you'll need a fix for that first (contact me offline).
Wayne
On Mon, 14 May 2007, Tim Stevens wrote:
> Hi Marcos,
>
> I think we've seen and fixed this. If you still get problems after having
> installed all the updates then you could try recompiling the C code.
>
> To recompile, with root access as appropriate, at the command line do:
>
> cd /usr/local/ccpnmr/ccpnmr1.0/c/
> make clean
> make
>
> If this doesn't help, maybe Wayne has asome suggestions.
>
> T.
>
> > I've been using analysis without any problems until today. When I try to
> > mark a peak (either using the shortcut "m" or right click and then
> > mark), it doesn't display the mark and the error message appears:
> >
> > >>> Exception in Tkinter callback
> > Traceback (most recent call last):
> > File "/usr/local/ccpnmr/python2.4/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
> > return self.func(*args)
> > File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py", line 4068, in keypress
> > Util.runMacro(macro, self.parent.argumentServer)
> > File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Util.py", line 1336, in runMacro
> > command.run()
> > File "/usr/local/ccpnmr/ccpnmr1.0/python/ccp/general/Command.py", line 83, in run
> > self.func(argServer=self.argumentServer)
> > File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowBasic.py", line 881, in createMark
> > windowPopup.doCreateMark(canvas, x, y)
> > File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py", line 3867, in doCreateMark
> > result = self.findNearbyPeak(peakList, spectrum_region, xdim, ydim, xscale, yscale)
> > File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowDraw.py", line 415, in findNearbyPeak
> > (peakInd, d2Min) = peakList.cPeakList.nearestPeak(xdim, ydim, xscale, yscale, first, last)
> > TypeError: unpack non-sequence
>
>
> -------------------------------------------------------------------------------
> Dr Tim Stevens Email: [log in to unmask]
> Department of Biochemistry [log in to unmask]
> University of Cambridge Phone: +44 1223 766018 (office)
> 80 Tennis Court Road +44 7816 338275 (mobile)
> Old Addenbrooke's Site +44 1223 364613 (home)
> Cambridge CB2 1GA WWWeb: http://www.bio.cam.ac.uk/~tjs23
> United Kingdom http://www.pantonia.co.uk
> -------------------------------------------------------------------------------
> ------ +NH3CH(CH(CH3)OH)C(O)NHCH(CH(CH3)CH2CH3)C(O)NHCH(CH2CH2SCH3)CO2- -------
> -------------------------------------------------------------------------------
>
|