Hello,
It looks to me like Cing is running 2.0 CCPN code and Analysis is now 2.1
(so internally in terms of the data model, v2.1 is 2.0.b3, unfortunately).
So the best solution here is for Cing to upgrade. (The alternative for
you is to hack all the XML files to say release 2.0.b2 instead, but I
wouldn't recommend that.)
Wayne
On Sun, 27 Sep 2009, Vitaliy wrote:
> Hello,
>
> Well, I am not sure if this error should be posted here. So please forgive
> me for this post if it should go to a different address.
>
> I have converted my CCPN v1 project to v2 and now I want to validate the
> data with CING. I have tried to submit the project to CING validation from
> within Analysis and outside it, to CING webbased server, with no success.
> First, from Analysis I can not use https - it says unknown url. I can submit
> using http url. But the validation fails with the error bellow. The same
> error I got from the webserver:
>
> Traceback (most recent call last):
> File "/Users/jd/workspace34/cing/python/cing/main.py", line 739, in <module>
> main()
> File "/Users/jd/workspace34/cing/python/cing/main.py", line 602, in main
> project.initCcpn(ccpnFolder=options.initCcpn)
> File "/Users/jd/workspace34/cing/python/cing/PluginCode/Ccpn.py", line
> 2132, in initCcpn
> if not ccpn.importFromCcpn(modelCount=modelCount):
> File "/Users/jd/workspace34/cing/python/cing/PluginCode/Ccpn.py", line
> 330, in importFromCcpn
> if not self.readCcpnFolder():
> File "/Users/jd/workspace34/cing/python/cing/PluginCode/Ccpn.py", line
> 241, in readCcpnFolder
> self.ccpnProject = loadProject(ccpnFolder)
> File "/Users/jd/workspace34/ccpn/python/memops/general/Io.py", line 531,
> in loadProject
> project = XmlIO.loadProject(path, projectName, partialLoad=True)
> File "/Users/jd/workspace34/ccpn/python/memops/format/xml/XmlIO.py", line
> 205, in loadProject
> return loadProjectFile(filePath, partialLoad=partialLoad)
> File "/Users/jd/workspace34/ccpn/python/memops/format/xml/XmlIO.py", line
> 217, in loadProjectFile
> partialLoad=partialLoad)
> File "/Users/jd/workspace34/ccpn/python/memops/format/xml/XmlIO.py", line
> 267, in loadFromStream
> partialLoad=partialLoad)
> File "/Users/jd/workspace34/ccpn/python/memops/xml/Implementation.py",
> line 4831, in loadFromStream
> Converters1.minorPostProcess(fileVersion, result, delayDataDict,
> objectDict, mapping)
> File
> "/Users/jd/workspace34/ccpn/python/memops/format/compatibility/part1/Converters1.py",
> line 894, in minorPostProcess
> mod = getCompatibilityModule(fromVersionStr)
> File
> "/Users/jd/workspace34/ccpn/python/memops/format/compatibility/part1/Converters1.py",
> line 869, in getCompatibilityModule
> result = __import__(moduleDir, {}, {}, compModules)
> ImportError: No module named downgrade.v_2_0_b3
>
> I wonder if anybody could please help me with this.
>
> Thank you,
> Vitaliy
>
|