[Zope] Re: Broke my Zope with external editor

Les Ferguson lhf at xtra.co.nz
Sun Sep 12 16:00:14 EDT 2004


I haven't got into setting debug mode yet.  Running under win2k.
Was all working fine until I did a restart while external editor 
sessions were still active.
It gives the following when I run C:\Zope-Instance\bin\runzope.bat ...

C:\Zope-Instance\bin>runzope.bat

C:\Zope-Instance\bin>"C:\usr\apps\Zope-2.7.2-0\bin\python.exe" 
"C:\usr\apps\Zope
-2.7.2-0\lib\python\Zope\Startup\run.py" -C "C:\Zope-Instance\etc\zope.conf"

Traceback (most recent call last):
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\Zope\Startup\run.py", line 
50, in ?
     run()
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\Zope\Startup\run.py", line 
18, in ru
n
     opts = _setconfig()
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\Zope\Startup\run.py", line 
42, in _s
etconfig
     opts.realize(doc="Sorry, no option docs yet.")
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\zdaemon\zdoptions.py", line 
271, in
realize
     self.load_schema()
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\zdaemon\zdoptions.py", line 
312, in
load_schema
     self.schema = ZConfig.loadSchema(self.schemafile)
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\ZConfig\loader.py", line 
37, in load
Schema
     return SchemaLoader().loadURL(url)
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\ZConfig\loader.py", line 
71, in load
URL
     return self.loadResource(r)
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\ZConfig\loader.py", line 
137, in loa
dResource
     schema = ZConfig.schema.parseResource(resource, self)
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\ZConfig\schema.py", line 
43, in pars
eResource
     xml.sax.parse(resource.file, parser)
   File "C:\usr\apps\Zope-2.7.2-0\bin\Lib\xml\sax\__init__.py", line 33, 
in parse

     parser.parse(source)
   File "C:\usr\apps\Zope-2.7.2-0\bin\Lib\xml\sax\expatreader.py", line 
107, in p
arse
     xmlreader.IncrementalParser.parse(self, source)
   File "C:\usr\apps\Zope-2.7.2-0\bin\Lib\xml\sax\xmlreader.py", line 
123, in par
se
     self.feed(buffer)
   File "C:\usr\apps\Zope-2.7.2-0\bin\Lib\xml\sax\expatreader.py", line 
207, in f
eed
     self._parser.Parse(data, isFinal)
   File "C:\usr\apps\Zope-2.7.2-0\bin\Lib\xml\sax\expatreader.py", line 
300, in s
tart_element
     self._cont_handler.startElement(name, AttributesImpl(attrs))
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\ZConfig\schema.py", line 
115, in sta
rtElement
     getattr(self, "start_" + name)(attrs)
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\ZConfig\schema.py", line 
469, in sta
rt_schema
     keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\ZConfig\schema.py", line 
207, in get
_sect_typeinfo
     datatype = self.get_datatype(attrs, "datatype", "null")
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\ZConfig\schema.py", line 
200, in get
_datatype
     return self._registry.get(dtname)
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\ZConfig\datatypes.py", line 
298, in
get
     t = self.search(name)
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\ZConfig\datatypes.py", line 
323, in
search
     package = __import__(n, g, g, component)
   File "C:\usr\apps\Zope-2.7.2-0\lib\python\Zope\Startup\datatypes.py", 
line 18,
  in ?
     from ZODB.config import ZODBDatabase
ImportError: No module named ZODB.config

C:\Zope-Instance\bin>




More information about the Zope mailing list