[Zope] Re: Broke my Zope with external editor

Dieter Maurer dieter at handshake.de
Mon Sep 13 15:09:06 EDT 2004


Les Ferguson wrote at 2004-9-13 08:00 +1200:
>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 ...
> ...
>     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

Looks like your Zope installation has been corrupted:

  Usually "C:\usr\apps\Zope-2.7.2-0\lib\python\ZODB"
  should contain a "config.py".

  Apparently, this is no longer the case.

It is very unlikely that "ExternalEditor" is responsible for
this. Apparently, something bad happened on your file system.


The easiest way would probably be to reinstall Zope (you know
that from Windows, I expect). This would take care of this
and potential other places where something may have been lost.

Alternatively, you could just try to restore "config.py" (copying
it from some Zope 2.7.2 installation).

-- 
Dieter


More information about the Zope mailing list