Dear Magnus,
No apologies needed. We ought to provide better error messages than this -
and in this case we soon will.
Yours,
Rasmus
---------------------------------------------------------------------------
Dr. Rasmus H. Fogh Email: [log in to unmask]
Dept. of Biochemistry, University of Cambridge,
80 Tennis Court Road, Cambridge CB2 1GA, UK. FAX (01223)766002
On Mon, 2 Mar 2009, Magnus [iso-8859-1] Kjærgaard wrote:
> It is a NMRpipe file that I've been trying to open. It opens nicely, when
> I set it to NMRPipe in the drop down.... Sorry for being retarded...
>
> Magnus
>
> Rasmus Fogh wrote:
> > Dear Magbus,
> >
> > I cam across this one as well. it happened when I tried to open a Bruker
> > file with an Azara setting, so I suspect that is what you did too. A fix
> > will be checked in soon - meanwhile could you double-check the file type
> > before opening? If you get that error on a proper Azara file we woudl want
> > ot know about it.
> >
> > Yours,
> >
> > Rasmus
> >
> > ---------------------------------------------------------------------------
> > Dr. Rasmus H. Fogh Email: [log in to unmask]
> > Dept. of Biochemistry, University of Cambridge,
> > 80 Tennis Court Road, Cambridge CB2 1GA, UK. FAX (01223)766002
> >
> > On Mon, 2 Mar 2009, Magnus [iso-8859-1] Kjærgaard wrote:
> >
> >> When I try to open a spectrum I get the following error:
> >>
> >> Exception in Tkinter callback
> >> Traceback (most recent call last):
> >> File "/usr/local/ccpnmr/python2.5/lib/python2.5/lib-tk/Tkinter.py", line
> >> 1403, in __call__
> >> return self.func(*args)
> >> File
> >> "/usr/local/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/popups/OpenSpectrum.py",
> >> line 204, in openSpectra
> >> spectrum = self.openSpectrum(exptName, specName, fileName, windowOpt,
> >> shiftList)
> >> File
> >> "/usr/local/ccpnmr/ccpnmr2.0/python/ccpnmr/analysis/popups/OpenSpectrum.py",
> >> line 454, in openSpectrum
> >> params = clazz(file)
> >> File
> >> "/usr/local/ccpnmr/ccpnmr2.0/python/ccp/format/spectra/params/AzaraParams.py",
> >> line 16, in __init__
> >> ExternalParams.__init__(self, externalParams)
> >> File
> >> "/usr/local/ccpnmr/ccpnmr2.0/python/ccp/format/spectra/params/ExternalParams.py",
> >> line 79, in __init__
> >> self.makeNewParams()
> >> File
> >> "/usr/local/ccpnmr/ccpnmr2.0/python/ccp/format/spectra/params/ExternalParams.py",
> >> line 144, in makeNewParams
> >> self.parseFile()
> >> File
> >> "/usr/local/ccpnmr/ccpnmr2.0/python/ccp/format/spectra/params/AzaraParams.py",
> >> line 23, in parseFile
> >> procParData.read()
> >> File
> >> "/usr/local/ccpnmr/ccpnmr2.0/python/ccp/format/azara/processingParsIO.py",
> >> line 137, in read
> >> self.parseFields(fields)
> >> File
> >> "/usr/local/ccpnmr/ccpnmr2.0/python/ccp/format/azara/processingParsIO.py",
> >> line 161, in parseFields
> >> if not numFields:
> >> UnboundLocalError: local variable 'numFields' referenced before assignment
> >>
> >>
> >> It has worked for me before, and I'm not aware that I have changed any
> >> settings. Also the problem is independent of the spectrum I try to open
> >> and the project that I'm in...
> >>
> >> Magnus
> >>
> >
>
|