[Erp5-users] Buildout-based installation?

Alex Clark aclark at aclark.net
Fri Feb 27 00:25:49 CET 2009


Hi all,

I've created a buildout to run ERP5 (based on http://www.erp5.org/DownloadSourceCode) 
and I'm having trouble adding an 'ERP5 Site' in the ZMI. Does this error mean anything
to anyone?

2009-02-26 18:22:09 ERROR Zope.SiteErrorLog http://localhost:8080/manage_addProduct/ERP5/manage_addERP5Site
Traceback (most recent call last):
  File "/Users/aclark/Developer/erp5/buildout/parts/zope2/lib/python/ZPublisher/Publish.py", line 114, in publish
    request, bind=1)
  File "/Users/aclark/Developer/erp5/buildout/parts/zope2/lib/python/ZPublisher/mapply.py", line 88, in mapply
    if debug is not None: return debug(object,args,context)
  File "/Users/aclark/Developer/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 "/Users/aclark/Developer/erp5/buildout/products/ERP5/ERP5Site.py", line 94, in manage_addERP5Site
    reindex=reindex)
  File "/Users/aclark/Developer/erp5/buildout/products/ERP5/ERP5Site.py", line 1206, in create
    reindex=reindex, **kw)
  File "/Users/aclark/Developer/erp5/buildout/products/ERP5/ERP5Site.py", line 1648, in setup
    self.setupERP5Core(p,**kw)
  File "/Users/aclark/Developer/erp5/buildout/products/ERP5/ERP5Site.py", line 1691, in setupERP5Core
    template_tool.download(template, id=id)
  File "/Users/aclark/Developer/erp5/buildout/products/ERP5/Tool/TemplateTool.py", line 379, in download
    bt = self._download_local(name, id)
  File "/Users/aclark/Developer/erp5/buildout/products/ERP5/Tool/TemplateTool.py", line 323, in _download_local
    bt.edit(**prop_dict)
  File "/Users/aclark/Developer/erp5/buildout/products/ERP5Type/Base.py", line 214, in __call__
    result = apply(self.__dict__['_m'], (instance,) + args, kw)
  File "/Users/aclark/Developer/erp5/buildout/products/ERP5Type/Base.py", line 1700, in edit
    reindex_object=reindex_object, restricted=1, **kw)
  File "/Users/aclark/Developer/erp5/buildout/products/ERP5Type/Base.py", line 1667, in _edit
    unmodified_key_list = setChangedPropertyList(unordered_key_list)
  File "/Users/aclark/Developer/erp5/buildout/products/ERP5Type/Base.py", line 1633, in setChangedPropertyList
    old_value = self.getProperty(key, evaluate=0)
  File "/Users/aclark/Developer/erp5/buildout/products/ERP5Type/Base.py", line 1357, in getProperty
    method = getattr(self, accessor_name)
AttributeError: getComment

I've patched _Acquisition.c, so I'm not sure why I get this failure.

Any thoughts appreciated.

Thanks,

Alex

-- 
Alex Clark · http://aclark.net
Buy Practical Plone 3: http://tinyurl.com/practical-plone




More information about the Erp5-users mailing list