Hello,
That was an update from this afternoon. It seems that our update code
failed somehow, or the server failed somehow. So it updated the database
saying what files there were that had updates, but the file itself was not
saved on the server. I've just loaded it up again and it seems to have
arrived this time. To fix this on your computer, I think you should be
able to start up Analysis without any project and then get the update, or
you can instead just run:
ccpnmr/bin/updateAll
Wayne
On Thu, 11 Aug 2011, Ravi Pratap Barnwal wrote:
> Hi all,
> I recently installed and updated ccpn2.1.5 on my new Mac (10.6.8) with 2.8 Ghz
> Quad-Core intel Xeon and 3 Gb memory. The analysis window opens fine but gives
> following error while creating a new project or while loading new spectra,
>
>
> Project invalid, please quit, fix and re-start: SyntaxError: Valid syntax
> (_init_.py,line1_)
>
>
> >>> Error loading file for: None
> Reading: <open file'/Users/ravi/.ccpn/data/ccpnmr/AnalysisProfile/MyulA00212+MyulA00212_ravi_2011-08-11-13
> -11-18-543_00001.xml', mode 'r' at 0x106ecf030>
> Last xml tag read: _StorageUnit
> Parser state was: starting
> Object stack was empty
> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/Users/ravi/program/ccpnmr/python2.6/lib/python2.6/lib-tk/Tkinter.py",
> line 1410, in __call__
> return self.func(*args)
> File
> "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/AnalysisPopup.py",
> line 1662, in newProject
> self.initProject(project)
> File
> "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/AnalysisPopup.py",
> line 1516, in initProject
> Analysis.initProject(self, project)
> File
> "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/Analysis.py", line
> 280, in initProject
> self.initTopObjects(project)
> File
> "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/Analysis.py", line
> 239, in initTopObjects
> if not project.currentAnalysisProfile:
> File
> "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/api/Implementation.py", line
> 15275, in getCurrentAnalysisProfile
> self.findFirstAnalysisProfile()
> File
> "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/api/Implementation.py", line
> 11274, in findFirstAnalysisProfile
> root.refreshTopObjects('ccpnmr.AnalysisProfile')
> File
> "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/api/Implementation.py", line
> 16727, in refreshTopObjects
> topObject = XmlIO.loadFromFile(self, filePath, partialLoad=True)
> File "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/format/xml/XmlIO.py",
> line 251, in loadFromFile
> partialLoad=partialLoad)
> File "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/format/xml/XmlIO.py",
> line 267, in loadFromStream
> partialLoad=partialLoad)
> File
> "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/xml/Implementation.py", line
> 4639, in loadFromStream
> lm = getLoadingMaps(packageGuid, fileVersion)
> File
> "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/xml/Implementation.py", line
> 4977, in getLoadingMaps
> globalMapping = getGlobalMap(fileVersion)
> File
> "/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/xml/Implementation.py", line
> 238, in getGlobalMap
> modifyIoMap(oldVersionStr, versionMapping)
> File"/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/format/compatibility/part1/Converte
> rs1.py", line 529, in modifyIoMap
> compatibilityModule = getCompatibilityModule(oldVersionStr)
> File"/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/format/compatibility/part1/Converte
> rs1.py", line 882, in getCompatibilityModule
> result = __import__(moduleDir, {}, {}, compModules)
> File"/Users/ravi/program/ccpnmr/ccpnmr2.1/python/memops/format/compatibility/downgrade/__in
> it__.py", line 1
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> ^
> SyntaxError: invalid syntax
>
>
> Any help is highly appreciated.
>
>
> regards
> ravi
>
>
>
|