[Erp5-dev] manage_add_ERP5Site: AttributeError on getIdGenerator

Boris Kocherov bk at raskon.org
Wed Sep 9 20:18:25 CEST 2009


As i see you use not patched version Zope.
If you remark two lines try again run commands:

cd /home/erp5/erp5-buildout
sudo -u erp5 hg revert buildout.cfg # warning revertig you changes
sudo -u erp5 hg pull
sudo -u erp5 hg up
sudo -u erp5 bin/buildout -v
sudo /etc/init.d/erp5-buildout stop
sudo /etc/init.d/erp5-buildout start

and add site it would be worked now.




On 09/09/09 17:44, Mauro Ziliani 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.ru istructions.
> 
> 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

-- 
Crisis had come unexpectedly, just as winter comes unexpectedly to
Russia every year.



More information about the Erp5-dev mailing list