[Erp5-users] "AttributeError: portal_types" while adding ERP5 site
Chetan Kumar
chetankumar at vsnl.net
Thu Apr 14 19:23:34 CEST 2011
On 02/04/11 14:14, Chetan Kumar wrote:
> Hi all
> Following message is seen on adding a new ERP5 site.
>
> ------
> 2011-04-02T16:19:03 ERROR Zope.SiteErrorLog
> 1301732343.070.705080412817
> http://localhost:18080/manage_addProduct/ERP5/manage_addERP5Site
> Traceback (innermost last):
> Module ZPublisher.Publish, line 127, in publish
> Module ZPublisher.mapply, line 77, in mapply
> Module ZPublisher.Publish, line 47, in call_object
> Module Products.ERP5.ERP5Site, line 97, in manage_addERP5Site
> Module Products.ERP5.ERP5Site, line 1614, in create
> Module Products.ERP5.ERP5Site, line 2025, in setup
> Module Products.ERP5.ERP5Site, line 2042, in setupERP5Core
> Module Products.ERP5.Tool.TemplateTool, line 125, in
> getInstalledBusinessTemplate
> Module Products.ERP5Type.Core.Folder, line 1471, in contentValues
> Module Products.ERP5Type.Base, line 798, in _getTypesTool
> AttributeError: portal_types
>
It works fine after making a few changes in setupERP5Core function in
ERP5/ERP5Site.py . Not sure if that is the recommended way.
Chetan
More information about the Erp5-users
mailing list