Hey guys,<br><br>I'm trying to install ERP5 on hardy, everything work fine until it come to moment when I have to add Erp5 site to Zope and it end in error like this<br><br><h2>Site Error</h2>
<p>An error was encountered while publishing this resource.
</p>
<p>
<strong>Error Type: AttributeError</strong><br>
<strong>Error Value: ERP5Form</strong><br>
</p>
<hr noshade>
<p>Troubleshooting Suggestions</p>
<ul><li>The URL may be incorrect.</li><li>The parameters passed to this resource may be incorrect.</li><li>A resource that this resource relies on may be encountering
an error.</li></ul>
<p>For more detailed information about the error, please
refer to the error log.
</p>
<p>If the error persists please contact the site maintainer.
Thank you for your patience. <br></p><p><br></p><p>and in the error log, I find it like thie</p><p><br></p><p>Traceback (most recent call last):<br> File "/home/erp5/erp5-buildout/parts/zope2/lib/python/OFS/Application.py", line 745, in install_product<br>
global_dict, global_dict, silly)<br> File "/home/erp5/erp5-buildout/erp5/products/ERP5Form/__init__.py", line 43, in ?<br> import Form, FSForm, ListBox, ReportBox, MatrixBox, SelectionTool<br> File "/home/erp5/erp5-buildout/erp5/products/ERP5Form/Form.py", line 32, in ?<br>
from Products.Formulator.Form import Form, BasicForm, ZMIForm<br> File "/home/erp5/erp5-buildout/erp5/products/Formulator/__init__.py", line 2, in ?<br> import Form<br> File "/home/erp5/erp5-buildout/erp5/products/Formulator/Form.py", line 20, in ?<br>
from FormToXML import formToXML<br> File "/home/erp5/erp5-buildout/erp5/products/Formulator/FormToXML.py", line 4, in ?<br> from lxml.etree import Element, SubElement, CDATA<br>ImportError: cannot import name CDATA<br>
------<br>2009-10-07T23:38:30 ERROR Zope Couldn't install ERP5OOo<br>Traceback (most recent call last):<br> File "/home/erp5/erp5-buildout/parts/zope2/lib/python/OFS/Application.py", line 745, in install_product<br>
global_dict, global_dict, silly)<br> File "/home/erp5/erp5-buildout/erp5/products/ERP5OOo/__init__.py", line 48, in ?<br> from FormPrintout import FormPrintout<br> File "/home/erp5/erp5-buildout/erp5/products/ERP5OOo/FormPrintout.py", line 31, in ?<br>
from Products.ERP5Form.ListBox import ListBox<br> File "/home/erp5/erp5-buildout/erp5/products/ERP5Form/__init__.py", line 43, in ?<br> import Form, FSForm, ListBox, ReportBox, MatrixBox, SelectionTool<br>
File "/home/erp5/erp5-buildout/erp5/products/ERP5Form/Form.py", line 32, in ?<br> from Products.Formulator.Form import Form, BasicForm, ZMIForm<br> File "/home/erp5/erp5-buildout/erp5/products/Formulator/__init__.py", line 2, in ?<br>
import Form<br> File "/home/erp5/erp5-buildout/erp5/products/Formulator/Form.py", line 20, in ?<br> from FormToXML import formToXML<br> File "/home/erp5/erp5-buildout/erp5/products/Formulator/FormToXML.py", line 4, in ?<br>
from lxml.etree import Element, SubElement, CDATA<br>ImportError: cannot import name CDATA<br>------<br>2009-10-07T23:38:38 ERROR Zope Couldn't install Formulator<br>Traceback (most recent call last):<br> File "/home/erp5/erp5-buildout/parts/zope2/lib/python/OFS/Application.py", line 745, in install_product<br>
global_dict, global_dict, silly)<br> File "/home/erp5/erp5-buildout/erp5/products/Formulator/__init__.py", line 2, in ?<br> import Form<br> File "/home/erp5/erp5-buildout/erp5/products/Formulator/Form.py", line 20, in ?<br>
from FormToXML import formToXML<br> File "/home/erp5/erp5-buildout/erp5/products/Formulator/FormToXML.py", line 4, in ?<br> from lxml.etree import Element, SubElement, CDATA<br>ImportError: cannot import name CDATA<br>
------<br>2009-10-07T23:38:38 INFO Zope Ready to handle requests<br>------<br>2009-10-07T23:38:40 INFO ZServer Timerserver ready, starting timer services.<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>
cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>
cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>
cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>
cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>
cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>
cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>
cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>
cannot import name CDATA<br>------<br>2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for PreferenceTool<br>cannot import name CDATA<br>------<br>2009-10-07T23:39:08 ERROR Zope.SiteErrorLog <a href="http://localhost:8080/manage_addProduct/ERP5/manage_addERP5Site">http://localhost:8080/manage_addProduct/ERP5/manage_addERP5Site</a><br>
Traceback (most recent call last):<br> File "/home/erp5/erp5-buildout/parts/zope2/lib/python/ZPublisher/Publish.py", line 114, in publish<br> request, bind=1)<br> File "/home/erp5/erp5-buildout/parts/zope2/lib/python/ZPublisher/mapply.py", line 88, in mapply<br>
if debug is not None: return debug(object,args,context)<br> File "/home/erp5/erp5-buildout/parts/zope2/lib/python/ZPublisher/Publish.py", line 40, in call_object<br> result=apply(object,args) # Type s<cr> to step into published object.<br>
File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 92, in manage_addERP5Site<br> reindex=reindex)<br> File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 1257, in create<br>
reindex=reindex, **kw)<br> File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 1661, in setup<br> self.setupTools(p, **kw)<br> File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 1420, in setupTools<br>
addTool = p.manage_addProduct['ERP5Form'].manage_addTool<br> File "/home/erp5/erp5-buildout/parts/zope2/lib/python/App/FactoryDispatcher.py", line 26, in __getitem__<br> return self.__bobo_traverse__(None, name)<br>
File "/home/erp5/erp5-buildout/parts/zope2/lib/python/App/FactoryDispatcher.py", line 29, in __bobo_traverse__<br> product=self.aq_acquire('_getProducts')()._product(name)<br> File "/home/erp5/erp5-buildout/parts/zope2/lib/python/App/Product.py", line 69, in _product<br>
def _product(self, name): return getattr(self, name)<br>AttributeError: ERP5Form</p><p><br></p>is anyone has solution for this problem?<br><br>Thanks in advance.<br><br>Best regards,<br><br><br>Pramono Tunggul<br>