Hello,
There seems to be a bug in the error handling (!). Worse, not only is
there a bug in the error handling but there is a bug which triggered the
error when it is likely there is no error (so another bug). We will fix
those but for now it looks like the NMRPipe reading will not work. If you
want to fix by hand the bug that caused the error handling to be triggered
(and then the bug in the error handling will not be hit) then in
/home/mkc9/Programs/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/io/spectra/NmrPipe.py
in line 42 change:
if floatVals != 0.0:
to
if floatVals[0] != 0.0:
(there might be further bugs downstream of course).
Wayne
On Fri, 9 Nov 2012, Min-Kyu Cho wrote:
> Hi,
>
> I got the following error message on my linux machine (Fedora Core 16).
>
> -----------------
> Model read finished. Duration 0.796848058701
> Model validity check skipped
> Traceback (most recent call last):
> File "/home/mkc9/Programs/ccpnmr/ccpnmr3.0/python/memops/qtgui/Tree.py", line 91, in
> mouseDoubleClickEvent
> self.doubleCallback(self.currentIndex(), False)
> File "/home/mkc9/Programs/ccpnmr/ccpnmr3.0/python/memops/qtgui/Tree.py", line 511, in _callback
> self.callback(filePath, haveModKey)
> File "/home/mkc9/Programs/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/FileSystemPanel.py", line 103, in
> openFilePath
> self.openSpectrum(filePath, haveModKey)
> File "/home/mkc9/Programs/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/FileSystemPanel.py", line 124, in
> openSpectrum
> self.specView.openSpectrum(filePath, replace)
> File "/home/mkc9/Programs/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecViewMain.py", line 401, in
> openSpectrum
> openedSpectra = self.openSpectra([filePath,], replace)
> File "/home/mkc9/Programs/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecViewMain.py", line 597, in
> openSpectra
> spectrum = openSpectrum(filePath)
> File "/home/mkc9/Programs/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/io/OpenSpectrum.py", line 38, in
> openSpectrum
> formatData = paramModules[dataFileFormat].readParams(filePath)
> File "/home/mkc9/Programs/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/io/spectra/NmrPipe.py", line 44, in
> readParams
> showError('Error', msg % filePath)
> ValueError: unsupported format character 'a' (0x61) at index 15
> -----------
>
> Min-Kyu
>
>
|