[Zope] ImportError: DBTab.ClassFactories.autoClassFactory

Olivier Laurent oli at aragne.com
Wed Oct 20 05:51:02 EDT 2004


I installed Python 2.3.4 and Zope 2.7.2 on a Suse system.

When trying to launch ./bin/runzope, I keep getting this error:

Error: The object named by "DBTab.ClassFactories.autoClassFactory" could
not be imported
(line 865 in file:///var/local/lib/zope2.7/instances/mysite/etc/zope.conf)
For help, use /usr/local/lib/zope2.7/lib/python/Zope/Startup/run.py -h

Zope is installed from source and the Python installation come from:
  rpmbuild --rebuild python2.3-2.3.4-3pydotorg.src.rpm

Here is the etc/zope.conf section that appear to cause the problem:

<zodb_db main>
    # Main FileStorage database
      path $INSTANCE/var/Data.fs
    mount-point /

<zodb_db temporary>
    # Temporary storage database (for sessions)
      name temporary storage for sessioning
    mount-point /temp_folder
    container-class Products.TemporaryFolder.TemporaryContainer

When I follow what the error message asks me:
  python /usr/local/lib/zope2.7/lib/python/Zope/Startup/run.py -h

I get this:

Traceback (most recent call last):
  File "/usr/local/lib/zope2.7/lib/python/Zope/Startup/run.py", line 50, in ?
  File "/usr/local/lib/zope2.7/lib/python/Zope/Startup/run.py", line 17, in run
    from Zope.Startup import start_zope
ImportError: No module named Zope.Startup

I don't have a clue on what's going on. Can someone help me ?

Olivier Laurent.
P3B    : Club Python(-Zope) Belge ---------- http://www.p3b.org
OS3B   : Club Open-Software(-Linux) Carolo   http://www.os3b.org
Aragne : Python-Zope Solutions & Formations  http://www.aragne.com

More information about the Zope mailing list