[Pkg-zope-developers] zope 2.8 package: ImportError: No module named tests

Rakotomandimby Mihamina mihamina.rakotomandimby at etu.univ-orleans.fr
Sun Aug 21 15:46:43 UTC 2005


Hi,
I installed the experimental zope 2.8 package.
I manually created an instance with the usual mkzopeinstance
the problem is when I launch the instance (directly with runzope,
because using init script fails):


root-debian>>>>./runzope
2005-08-21 17:25:38 INFO ZServer HTTP server started at Sun Aug 21
17:25:38 2005
        Hostname: 0.0.0.0
        Port: 9673
2005-08-21 17:25:38 INFO Zope Set effective user to "zope"
2005-08-21 17:25:39 ERROR Zope Could not import Products.Five
Traceback (most recent call last):
  File "/usr/lib/zope2.8/lib/python/OFS/Application.py", line 695, in
import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/lib/zope2.8/lib/python/Products/Five/__init__.py", line 25,
in ?
    from browser import BrowserView
  File "/usr/lib/zope2.8/lib/python/Products/Five/browser.py", line 41,
in ?
    from zope.app.form.browser.submit import Update
  File "/usr/lib/zope2.8/lib/python/zope/app/form/browser/__init__.py",
line 20, in ?
    from zope.app.form.browser.widget import BrowserWidget,
DisplayWidget
  File "/usr/lib/zope2.8/lib/python/zope/app/form/browser/widget.py",
line 29, in ?
    from zope.app.tests import ztapi
ImportError: No module named tests

Traceback (most recent call last):
  File "/usr/lib/zope2.8/lib/python/Zope2/Startup/run.py", line 56, in ?
    run()
  File "/usr/lib/zope2.8/lib/python/Zope2/Startup/run.py", line 21, in
run
    starter.prepare()
  File "/usr/lib/zope2.8/lib/python/Zope2/Startup/__init__.py", line 98,
in prepare
    self.startZope()
  File "/usr/lib/zope2.8/lib/python/Zope2/Startup/__init__.py", line
257, in startZope
    Zope2.startup()
  File "/usr/lib/zope2.8/lib/python/Zope2/__init__.py", line 47, in
startup
    _startup()
  File "/usr/lib/zope2.8/lib/python/Zope2/App/startup.py", line 44, in
startup
    OFS.Application.import_products()
  File "/usr/lib/zope2.8/lib/python/OFS/Application.py", line 672, in
import_products
    import_product(product_dir, product_name, raise_exc=debug_mode)
  File "/usr/lib/zope2.8/lib/python/OFS/Application.py", line 695, in
import_product
    product=__import__(pname, global_dict, global_dict, silly)
  File "/usr/lib/zope2.8/lib/python/Products/Five/__init__.py", line 25,
in ?
    from browser import BrowserView
  File "/usr/lib/zope2.8/lib/python/Products/Five/browser.py", line 41,
in ?
    from zope.app.form.browser.submit import Update
  File "/usr/lib/zope2.8/lib/python/zope/app/form/browser/__init__.py",
line 20, in ?
    from zope.app.form.browser.widget import BrowserWidget,
DisplayWidget
  File "/usr/lib/zope2.8/lib/python/zope/app/form/browser/widget.py",
line 29, in ?
    from zope.app.tests import ztapi
ImportError: No module named tests

-- 
Administration & Formation à l'administration
de serveurs dédiés:
http://www.google.fr/search?q=aspo+infogerance+serveur




More information about the Pkg-zope-developers mailing list