[Zope] Re: ImportError: DBTab.ClassFactories.autoClassFactory

Olivier Laurent oli at aragne.com
Wed Oct 20 12:05:46 EDT 2004


On mer, 20 oct 2004, at 10:55, Tres Seaver wrote:
> Olivier Laurent wrote:
> >Hi,
> >
> >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
> 
> The DBTab product was an early cut at mounting multiple ZODB storages 
> within a single database.  It has been supplanted by the support for 
> mounting within the core.  You will need to remove the product from your 
> appserver and change your zope.conf to create the equivalent mounting 
> configuration.

I think the error is somewhere else. If I remove 'lib/python/DBTab' and
remove that section in 'zopeschema.xml', I have this error:

Error: The object named by "Products.TemporaryFolder.TemporaryContainer"
could not be imported
(line 874 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


I think the main problem come from this:

%> python /usr/local/lib/zope2.7/lib/python/Zope/Startup/run.py -h

Traceback (most recent call last):
  File "/usr/local/lib/zope2.7/lib/python/Zope/Startup/run.py", line 50, in ?
    run()
  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

-- 
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