[Erp5-users] "ImportError: cannot import name expandpath" Error on startup on a fresh installation

Leonardo Rochael Almeida leonardo at nexedi.com
Tue Apr 24 15:02:49 CEST 2012


Hi Chetan,

 From your traceback, it's clear you're using Zope 2.13. You're also 
likely using CMFCore later than version 2.2, where expandpath has been 
removed.

ERP5 has not yet been ported to Zope 2.13 or CMF packages later than 2.2.

Regards,

Leo

Em 23-04-2012 20:32, Chetan Kumar escreveu:
> Hi all
>
> I am going to investigate it later.
> Ready solutions are welcome
>
> Regards,
> Chetan
>
> =================Error==============
> 2012-04-23T18:34:31 INFO ZServer HTTP server started at Mon Apr 23
> 18:34:31 2012
> Hostname: 0.0.0.0
> Port: 18080
> ------
> 2012-04-23T18:34:31 INFO ZServer Timer server started at Mon Apr 23
> 18:34:31 2012
> Interval: 5 seconds.
>
> ------
> 2012-04-23T18:34:31 INFO Localizer Install "Globals.get_request".
> ------
> 2012-04-23T18:34:31 WARNING
> /home/crm/Project/crm.buildout/parts/products-erp5/ZSQLCatalog/ZSQLCatalog.py:29
> DeprecationWarning: RestrictedDTML is deprecated. Please import from
> DocumentTemplate.security
> ------
> 2012-04-23T18:34:31 ERROR Application Could not import Products.CMFActivity
> Traceback (most recent call last):
> File
> "/home/crm/Project/crm.buildout/eggs/Zope2-2.13.12-py2.6.egg/OFS/Application.py",
> line 606, in import_product
> product=__import__(pname, global_dict, global_dict, silly)
> File
> "/home/crm/Project/crm.buildout/parts/products-erp5/CMFActivity/__init__.py",
> line 34, in <module>
> from Products.ERP5Type.Utils import initializeProduct, updateGlobals
> File
> "/home/crm/Project/crm.buildout/parts/products-erp5/ERP5Type/__init__.py",
> line 74, in <module>
> from Products.ERP5Type.Utils import initializeProduct, updateGlobals
> File
> "/home/crm/Project/crm.buildout/parts/products-erp5/ERP5Type/Utils.py",
> line 1276, in <module>
> from Products.ERP5Type.Base import Base as BaseClass
> File
> "/home/crm/Project/crm.buildout/parts/products-erp5/ERP5Type/Base.py",
> line 48, in <module>
> from ZopePatch import ERP5PropertyManager
> File
> "/home/crm/Project/crm.buildout/parts/products-erp5/ERP5Type/ZopePatch.py",
> line 42, in <module>
> from Products.ERP5Type.patches import FSZSQLMethod
> File
> "/home/crm/Project/crm.buildout/parts/products-erp5/ERP5Type/patches/FSZSQLMethod.py",
> line 10, in <module>
> from Products.CMFCore.utils import expandpath
> ImportError: cannot import name expandpath
>
>
>
> _______________________________________________
> Erp5-users mailing list
> Erp5-users at erp5.org
> https://mail.tiolive.com/mailman/listinfo/erp5-users



More information about the Erp5-users mailing list