[Erp5-dev] manage_add_ERP5Site: AttributeError on getIdGenerator

Muhamad Reza muhamad.reza at infi-nity.com
Wed Sep 9 19:20:45 CEST 2009


On Wed, Sep 9, 2009 at 10:44 PM, Mauro Ziliani <mauro.ziliani at ngi.it> wrote:

> Hi all.
> Adding an ERP5 Site from zope ZMI the following error will generate:
> Any advice?
>
> I'm working on Debian Lenny and I have followed erp5.raskon.ruistructions.
>
> Best regards.
>  Mauro
>
> 2009-09-09 17:42:47 ERROR Zope.SiteErrorLog
> http://mazisystem.selfip.com:8080/manage_addProduct/ERP5/manage_addERP5Site
> Traceback (most recent call last):
>  File
> "/home/erp5/erp5-buildout/parts/zope2/lib/python/ZPublisher/Publish.py",
> line 114, in publish
>    request, bind=1)
>  File
> "/home/erp5/erp5-buildout/parts/zope2/lib/python/ZPublisher/mapply.py",
> line 88, in mapply
>    if debug is not None: return debug(object,args,context)
>  File
> "/home/erp5/erp5-buildout/parts/zope2/lib/python/ZPublisher/Publish.py",
> line 40, in call_object
>    result=apply(object,args) # Type s<cr> to step into published object.
>  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line
> 94, in manage_addERP5Site
>    reindex=reindex)
>  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line
> 1258, in create
>    reindex=reindex, **kw)
>  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line
> 1702, in setup
>    self.setupERP5Core(p,**kw)
>  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line
> 1744, in setupERP5Core
>    id = template_tool.generateNewId()
>  File "/home/erp5/erp5-buildout/erp5/products/ERP5Type/Core/Folder.py",
> line 242, in generateNewId
>    id_generator = self.getIdGenerator()
> AttributeError: getIdGenerator
>
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-dev
>


Hi Mauro,

I know that your problem because I got almost same problem when created ERP5
site. Perhaps, that's problem was occurred because your ERP5 buildout failed
to install.

However, Could you please print the ERP5 buildout result ?.
Make sure that all buildout packages are complete installed.

Best Regards,

Reza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20090910/242db023/attachment.htm>


More information about the Erp5-dev mailing list