[Zope] Help on installing zope and some products.

Steve Plant s.plant at paradise.net.nz
Tue Oct 12 05:20:17 EDT 2004


Hi All,

A newbie to all this, I'm trying to install ERP5 on my WinXP system, and everything was going well..... until zope stopped loading and came up with the following message...

NameError: name 'get_abspath' is not defined

 

The weird thing is that File "C:\Program Files\Zope-2.7.2-0\lib\python\Zope\Startup\__init__.py", line 33, in ? check_python_version()  does not even mention the 'get_abspath'

 
I have the following products installed (amongst others), but the system won't run.

Package  Version

iHotfix        0.4.0

itools        0.4.6

Localizer    1.1.0a4


The error message is:

C:\Zope-Instance\bin>runzope.bat

 

C:\Zope-Instance\bin>"C:\Program Files\Zope-2.7.2-0\bin\python.exe" "C:\Program Files\Zope-2.7.2-0\lib\python\Zope\Startup\run.py" -C "C:\Zope-Instanc

e\etc\zope.conf"

------

2004-10-12T21:51:45 INFO(0) ZServer HTTP server started at Tue Oct 12 21:51:45 2004

        Hostname: 2400Steve

        Port: 8080

------

2004-10-12T21:51:45 INFO(0) ZServer FTP server started at Tue Oct 12 21:51:45 2004

        Hostname: 2400Steve

        Port: 8021

------

2004-10-12T21:51:46 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:\Zope-Instance\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 33, in ?

    check_python_version()

NameError: name 'get_abspath' is not defined

Traceback (most recent call last):

  File "C:\Program Files\Zope-2.7.2-0\lib\python\Zope\Startup\run.py", line 50, in ?

    run()

  File "C:\Program Files\Zope-2.7.2-0\lib\python\Zope\Startup\run.py", line 19, in run

    start_zope(opts.configroot)

  File "C:\Program Files\Zope-2.7.2-0\lib\python\Zope\Startup\__init__.py", line 51, in start_zope

    starter.startZope()

  File "C:\Program Files\Zope-2.7.2-0\lib\python\Zope\Startup\__init__.py", line 230, in startZope

    Zope.startup()

  File "C:\Program Files\Zope-2.7.2-0\lib\python\Zope\__init__.py", line 47, in startup

    _startup()

  File "C:\Program Files\Zope-2.7.2-0\lib\python\Zope\App\startup.py", line 45, in startup

    OFS.Application.import_products()

  File "C:\Program Files\Zope-2.7.2-0\lib\python\OFS\Application.py", line 637, in import_products

    import_product(product_dir, product_name, raise_exc=debug_mode)

  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:\Zope-Instance\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\Zope\Startup\__init__.py", line 33, in ?

    check_python_version()

NameError: name 'get_abspath' is not defined

 

C:\Zope-Instance\bin>


Any help would be appreciated.

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20041012/ab6d3ec9/attachment-0001.htm


More information about the Zope mailing list