That's a strange one. That error message is a bit worrying but it's
possible a timing issue means that by accident that function is called
before the so-called SpectrumWindowView has been set up for that spectrum.
Is that error message being repeated while you are doing this zooming? If
not then it's possible it is just a timing issue. But if it does happen
while you are zooming then it's a lot more worrying and would tend to
indicate a broken SpectrumWindowView (and I haven't a clue why that would
happen).
My guess is that there is another error happening, but that the real error
message is going down a black hole (the drawing is effectively done in a
separate thread, and that causes problems for error messages). Can you
send me the project without the spectra? (So the project directory as a
gzipped tar file.) It's possible (and perhaps even likely) that this
problem will only manifest itself with the spectra, but let's try it
without them first time around.
Wayne
On Wed, 26 Nov 2008, Marco Roeben wrote:
> Hi,
>
> today I recognized a strange behaviour of my 13C correlation spectra (HMQC). I
> tried to zoom or move the spectra and normally I can see the spectra during
> this. Now the spectra disappears when I move it and it comes back when I
> release the middle mouse button. This strange behaviour doesn't appear in my
> 15N correlation of 1H homonuclear spectra in the same project.
>
> There's also an error message on the console:
>
> Traceback (most recent call last):
> File "/usr/lib64/python2.5/lib-tk/Tkinter.py", line 1403, in __call__
> return self.func(*args)
> File "/usr/lib64/python2.5/lib-tk/Tkinter.py", line 498, in callit
> func(*args)
> File "/opt/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/popups/WindowPopup.py",
> line 4461, in <lambda>
> self.after_idle(lambda: self.drawCanvasReal(canvas, row, col))
> File "/opt/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/popups/WindowPopup.py",
> line 4521, in drawCanvasReal
> self.doCanvas(handler, canvas, row, col)
> File "/opt/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/core/WindowDraw.py", line
> 1328, in doCanvas
> self.drawViewPeaks(handler, view, row, col)
> File "/opt/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/core/WindowDraw.py", line
> 1050, in drawViewPeaks
> (xscale, yscale) = self.getPeakScale(view, xAxisRegion, yAxisRegion)
> File "/opt/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/core/WindowDraw.py", line
> 858, in getPeakScale
> xscale = self.calcPeakScale(xaxisPanel, xaxisMapping, px, xFromUnit)
> File "/opt/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/core/WindowDraw.py", line
> 809, in calcPeakScale
> dataDimRef =
> ExperimentBasic.getPrimaryDataDimRef(axisMapping.analysisDataDim.dataDim)
> AttributeError: 'NoneType' object has no attribute 'analysisDataDim'
>
>
> best regards
> Marco
>
> --
> Dipl. Chem. Marco Röben
> Leibniz Institute of Molecular Pharmacology (FMP)
> dep.: Solution NMR
> Robert-Rössle-Str. 10
> D-13125 Berlin
> +49-30-94793224 (phone)
> +49-030-94793169 (fax)
>
|