OK, so now I get:
Model read finished. Duration 2.36704516411
Model validity check skipped
Traceback (most recent call last):
File
"/home/aherber2/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecViewMain.py", line 284, in
showEvent
self.setSpectra([spectrum,])
File
"/home/aherber2/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecViewMain.py", line 842, in
setSpectra
self.activePanel.setSpectra(spectra)
File
"/home/aherber2/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecPanel.py", line 266, in
setSpectra
self.redrawSpectra()
File
"/home/aherber2/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecPanel.py", line 281, in
redrawSpectra
self.glWidget.construct(doSpectra, doPeaks, doText, doDecorations)
File
"/home/aherber2/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecGlPanel.py", line 167, in
construct
self.glList = self.construct3dSurface(doSpectra, doPeaks, doText,
doDecorations)
File
"/home/aherber2/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecGlPanel.py", line 224, in
construct3dSurface
colorScheme = self._getFloatColors(spectrum)
File
"/home/aherber2/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecGlPanel.py", line 3135, in
_getFloatColors
bg = QtGui.QColor(*self._hexToRgba(bg))
File
"/home/aherber2/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/Gl3dWidget.py", line 386, in
_hexToRgba
r = int(rh, 16)
UnicodeEncodeError: 'decimal' codec can't encode character u'\x00' in
position 0: invalid decimal Unicode string
Best wishes
Andy
Quoting Wayne Boucher <[log in to unmask]> on Fri, 22 Feb 2013
11:59:32 +0000:
> Hello,
>
> I'm not sure why that variable isotopeScales is messed up but if
> there has been a previous save of settings then specView uses the
> value of isotopeScales stored in the settings file (which is
> somewhere in ~/.qt I think) and if that was saved incorrectly then
> one is stuffed when one tries to start up again. So my guess is
> that is what has gone wrong. For now I would recommend editing:
>
> /exports/nas/exports/cse/chem/groups/bionmr/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecViewMain.py
>
> And just comment out lines 1068,1069:
>
> #if isotopeScales:
> # self.isotopeScales = isotopeScales
>
> Mind you, if that variable has been stuffed perhaps others have as
> well. This is a problem I have hit once or twice with other
> variables and I think the program needs to be a lot more robust in
> this regard.
>
> Wayne
>
> On Fri, 22 Feb 2013, Dr Andy Herbert wrote:
>
>> Hi,
>>
>> I recently installed the latest version of specview and the
>> software seemed to open correctly. I then tried with no success to
>> open a spectrum - Bruker format if memory serves. Now when I try
>> and open specview I get the following traceback.
>>
>> specView
>> Model read finished. Duration 21.280381918
>> Model validity check skipped
>> Traceback (most recent call last):
>> File
>> "/exports/nas/exports/cse/chem/groups/bionmr/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecViewMain.py", line 284, in
>> showEvent
>> self.setSpectra([spectrum,])
>> File
>> "/exports/nas/exports/cse/chem/groups/bionmr/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecViewMain.py", line 842, in
>> setSpectra
>> self.activePanel.setSpectra(spectra)
>> File
>> "/exports/nas/exports/cse/chem/groups/bionmr/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecPanel.py", line 256, in
>> setSpectra
>> self.glWidget.navToCenter(False)
>> File
>> "/exports/nas/exports/cse/chem/groups/bionmr/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecGlPanel.py", line 2683, in
>> navToCenter
>> isoScales = self._getXyIsotopeScales()
>> File
>> "/exports/nas/exports/cse/chem/groups/bionmr/apps/ccpnmr/ccpnmr3.0/python/ccpnmr/specView/gui/SpecGlPanel.py", line 2496, in
>> _getXyIsotopeScales
>> defaultIso = isotopeScales['Other']
>> KeyError: 'Other'
>> Fatal Python error: PyEval_SaveThread: NULL tstate
>> /exports/nas/exports/cse/chem/groups/bionmr/apps/ccpnmr/ccpnmr3.0/bin/specView: line 5: 14289 Aborted ${CCPNMR_TOP_DIR}/python2.6/bin/python2.6 -O ${CCPNMR_TOP_DIR}/ccpnmr3.0/python/ccpnmr/specView/SpecView.py
>> $*
>>
>> I'm not sure what I did to mess this up.
>>
>> Hope you can help.
>>
>> Best wishes
>>
>> Andy
>>
>> --
>> Dr Andy Herbert
>> Department of Chemistry
>> University of Edinburgh
>> West Mains Road
>> Edinburgh
>> UK
>> EH9 3JJ
>> Tel: +44 (0)131 650 4704 or 650 4792
>> Email: [log in to unmask]
>>
>>
>> --
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>
>
--
Dr Andy Herbert
Department of Chemistry
University of Edinburgh
West Mains Road
Edinburgh
UK
EH9 3JJ
Tel: +44 (0)131 650 4704 or 650 4792
Email: [log in to unmask]
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
|