[Zope] Nuked Installations! Problem w/ Rebuild!

robert rottermann robert at redcor.ch
Wed Nov 29 13:32:50 EST 2006


you probably have to reinstall (rebuild) zope.
i *assume* that your zope is not using the python it was built with.

robert

Nancy Donnelly schrieb:
> 102
> Hi;
> I just went to copy my main HD on my server to my new 1/2 teraflop HD
> and it wiped out the zopecltsockets and the var directories! Luckly I
> have backups of the Data.fs that are recent. So, I'm rebuilding with
> Z29, but when I go to crank up an instance with runzope, I get this:
> 
> Traceback (most recent call last):
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py", line
> 56, in ?
>     run()
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py", line
> 19, in run
>     opts = _setconfig()
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/run.py", line
> 48, in _setconfig
>     opts.realize(doc="Sorry, no option docs yet.")
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/zdaemon/zdoptions.py", line
> 273, in realize
>     self.load_schema()
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/zdaemon/zdoptions.py", line
> 321, in load_schema
>     self.schema = ZConfig.loadSchema(self.schemafile)
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZConfig/loader.py",
> line 31, in loadSchema
>     return SchemaLoader().loadURL(url)
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZConfig/loader.py",
> line 65, in loadURL
>     return self.loadResource(r)
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZConfig/loader.py",
> line 159, in loadResource
>     schema = ZConfig.schema.parseResource(resource, self)
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZConfig/schema.py",
> line 27, in parseResource
>     xml.sax.parse(resource.file, parser)
>   File "/usr/local/lib/python2.4/xml/sax/__init__.py", line 33, in parse
>     parser.parse(source)
>   File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 107, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "/usr/local/lib/python2.4/xml/sax/xmlreader.py", line 123, in parse
>     self.feed(buffer)
>   File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 207, in feed
>     self._parser.Parse(data, isFinal)
>   File "/usr/local/lib/python2.4/xml/sax/expatreader.py", line 300, in
> start_element
>     self._cont_handler.startElement(name, AttributesImpl(attrs))
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZConfig/schema.py",
> line 99, in startElement
>     getattr(self, "start_" + name)(attrs)
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZConfig/schema.py",
> line 475, in start_schema
>     keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZConfig/schema.py",
> line 201, in get_sect_typeinfo
>     datatype = self.get_datatype(attrs, "datatype", "null", base)
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZConfig/schema.py",
> line 194, in get_datatype
>     return self._registry.get(dtname)
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/ZConfig/datatypes.py", line
> 398, in get
>     t = self.search(name)
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/ZConfig/datatypes.py", line
> 423, in search
>     package = __import__(n, g, g, component)
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/Zope2/Startup/datatypes.py",
> line 20, in ?
>     from ZODB.config import ZODBDatabase
>   File "/usr/local/src/Zope-2.9.6-final/lib/python/ZODB/__init__.py",
> line 20, in ?
>     from persistent import TimeStamp
>   File
> "/usr/local/src/Zope-2.9.6-final/lib/python/persistent/__init__.py",
> line 19, in ?
>     from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY
> ImportError: No module named cPersistence
> 
> What do I do? Please help...under pressure.
> Nancy
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )

-------------- next part --------------
A non-text attachment was scrubbed...
Name: robert.vcf
Type: text/x-vcard
Size: 200 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20061129/16eed384/robert.vcf


More information about the Zope mailing list