[Erp5-users] Cannot run Zope instance - ImportError: No module named itools

Steve Plant s.plant at paradise.net.nz
Sun Oct 10 02:31:35 CEST 2004


Hi All,

I have a problem installing ERP5

When running runzope.bat it hangs on the following...

2004-10-10T13:05:30 ERROR(200) Zope Could not import Products.CMFActivity

Traceback (most recent call last):

  File "C:\Program Files\Zope-2.7.2-0\lib\python\OFS\Application.py", line 660, in import_product product=__import__(pname, global_dict, global_dict, silly)

  File "C:\Program Files\Zope-2.7.2-0\lib\python\Products\CMFActivity\__init__.py", line 34, in ?

    from Products.ERP5Type.Utils import initializeProduct, updateGlobals

  File "C:\Zope-Instance/ERP5\ERP5Type\__init__.py", line 44, in ?

    import Products.Localizer # So that we make sure Globals.get_request is available

  File "C:\Program Files\Zope-2.7.2-0\lib\python\Products\Localizer\__init__.py", line 28, in ?

    import Localizer, LocalContent, MessageCatalog, LocalFolder

  File "C:\Program Files\Zope-2.7.2-0\lib\python\Products\Localizer\Localizer.py", line 28, in ?

    from itools import i18n

  File "C:\Program Files\Zope-2.7.2-0\lib\python\Products\Localizer\itools\i18n\__init__.py", line 21, in ?

    from itools import get_abspath

ImportError: No module named itools


As you can see in the path I do have itools loaded, but its in the localizer directory, and doesn't contain a file called get_abspath.

Why is it looking in the wrong directory??

Have I not compiled something??

In the localizer/itools ___init___.py file there is the following which seem to define get_abspath....... help I'm lost!!

        def get_abspath(globals_namespace, local_path):
        """
        Returns the absolute path to the required file.
        """
        mname = globals_namespace['__name__']



Steve.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20041010/443357a6/attachment.htm>


More information about the Erp5-users mailing list