Hello,
That looks like your chemElement data is pointing to older CCPN release
reference data.
In fact, even worse, it's a bit worrying to see both these paths mentioned
(because this is the Python code, not the data):
/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py
/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/memops/api/Implementation.py
So unless /usr/local/ccpnmr is a symbolic link to /usr/local/ccpnmr1.0.13,
or vice versa, this looks like you could have Analysis trying to run code
from two releases, which itself is bound to lead to grief. What is your
PYTHONPATH?
Wayne
On Fri, 2 Feb 2007, Mark Pfuhl wrote:
> This happens with approx. half of my projects:
> An error window appears:
> "Project invalid, please quit, fix and re-start:
> ccp.molecule.ChemElement.Isotope.setAbundance:FloatRatio constraint
> value_le_1 violated by value:100.0"
>
> And then all of this in the shell:
>
> parser state was:
> reading
>
> ERROR loading xml ccp.molecule.ChemElement chemElements.xml
> Traceback (most recent call last):
> File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py",
> line 212, in ?
> main(filename, max_size, glDirect)
> File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisGui.py",
> line 105, in main
> top.initProject(project)
> File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/AnalysisPopup.py", line
> 920, in initProject
> Analysis.initProject(self, project)
> File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Analysis.py",
> line 404, in initProject
> Util.defaultIsotopes(project)
> File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Util.py", line
> 1014,in defaultIsotopes
> if (not loadChemElementRefData(project)):
> File "/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/ccp/general/Io.py", line
> 130, in loadChemElementRefData
> File
> "/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/memops/api/Implementation.py",line
> 18800, in getCurrentChemElementStore
> File
> "/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/memops/api/Implementation.py",line
> 10631, in findFirstChemElementStore
> File
> "/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/memops/api/Implementation.py",line
> 9066, in load
> File "/usr/local/ccpnmr/ccpnmr1.0/python/ccp/xml/molecule/ChemElement.py",
> line 98, in load
> return GeneralXmlIO.load(stream, mapping, parentObject)
> File
> "/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/memops/format/xml/XmlIO.py", line
> 425, in load
> File
> "/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/memops/format/xml/XmlIO.py", line
> 907, in doLoad
> File
> "/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/ccp/api/molecule/ChemElement.py",
> line 2198, in __init__
> File
> "/usr/local/ccpnmr1.0.13/ccpnmr1.0/python/ccp/api/molecule/ChemElement.py",
> line 2276, in setAbundance
> memops.general.Implementation.ApiError:
> ccp.molecule.ChemElement.Isotope.setAbundance:FloatRatio constraint
> value_le_1 violated by value:100.0
> >>>
>
> Similar but not identical to the previous problem.
>
|