[Erp5-users] Cannot Add 'ERP5 Site' to Zope

Pramono Tunggul pramono.tunggul at infi-nity.com
Wed Oct 7 13:50:34 CEST 2009


Hey guys,

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

Site Error

An error was encountered while publishing this resource.

*Error Type: AttributeError*
*Error Value: ERP5Form*
 ------------------------------

Troubleshooting Suggestions

   - The URL may be incorrect.
   - The parameters passed to this resource may be incorrect.
   - A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to the error
log.

If the error persists please contact the site maintainer. Thank you for your
patience.


and in the error log, I find it like thie


Traceback (most recent call last):
  File "/home/erp5/erp5-buildout/parts/zope2/lib/python/OFS/Application.py",
line 745, in install_product
    global_dict, global_dict, silly)
  File "/home/erp5/erp5-buildout/erp5/products/ERP5Form/__init__.py", line
43, in ?
    import Form, FSForm, ListBox, ReportBox, MatrixBox, SelectionTool
  File "/home/erp5/erp5-buildout/erp5/products/ERP5Form/Form.py", line 32,
in ?
    from Products.Formulator.Form import Form, BasicForm, ZMIForm
  File "/home/erp5/erp5-buildout/erp5/products/Formulator/__init__.py", line
2, in ?
    import Form
  File "/home/erp5/erp5-buildout/erp5/products/Formulator/Form.py", line 20,
in ?
    from FormToXML import formToXML
  File "/home/erp5/erp5-buildout/erp5/products/Formulator/FormToXML.py",
line 4, in ?
    from lxml.etree import Element, SubElement, CDATA
ImportError: cannot import name CDATA
------
2009-10-07T23:38:30 ERROR Zope Couldn't install ERP5OOo
Traceback (most recent call last):
  File "/home/erp5/erp5-buildout/parts/zope2/lib/python/OFS/Application.py",
line 745, in install_product
    global_dict, global_dict, silly)
  File "/home/erp5/erp5-buildout/erp5/products/ERP5OOo/__init__.py", line
48, in ?
    from FormPrintout import FormPrintout
  File "/home/erp5/erp5-buildout/erp5/products/ERP5OOo/FormPrintout.py",
line 31, in ?
    from Products.ERP5Form.ListBox import ListBox
  File "/home/erp5/erp5-buildout/erp5/products/ERP5Form/__init__.py", line
43, in ?
    import Form, FSForm, ListBox, ReportBox, MatrixBox, SelectionTool
  File "/home/erp5/erp5-buildout/erp5/products/ERP5Form/Form.py", line 32,
in ?
    from Products.Formulator.Form import Form, BasicForm, ZMIForm
  File "/home/erp5/erp5-buildout/erp5/products/Formulator/__init__.py", line
2, in ?
    import Form
  File "/home/erp5/erp5-buildout/erp5/products/Formulator/Form.py", line 20,
in ?
    from FormToXML import formToXML
  File "/home/erp5/erp5-buildout/erp5/products/Formulator/FormToXML.py",
line 4, in ?
    from lxml.etree import Element, SubElement, CDATA
ImportError: cannot import name CDATA
------
2009-10-07T23:38:38 ERROR Zope Couldn't install Formulator
Traceback (most recent call last):
  File "/home/erp5/erp5-buildout/parts/zope2/lib/python/OFS/Application.py",
line 745, in install_product
    global_dict, global_dict, silly)
  File "/home/erp5/erp5-buildout/erp5/products/Formulator/__init__.py", line
2, in ?
    import Form
  File "/home/erp5/erp5-buildout/erp5/products/Formulator/Form.py", line 20,
in ?
    from FormToXML import formToXML
  File "/home/erp5/erp5-buildout/erp5/products/Formulator/FormToXML.py",
line 4, in ?
    from lxml.etree import Element, SubElement, CDATA
ImportError: cannot import name CDATA
------
2009-10-07T23:38:38 INFO Zope Ready to handle requests
------
2009-10-07T23:38:40 INFO ZServer Timerserver ready, starting timer services.
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 WARNING Base._aq_dynamic unable to create methods for
PreferenceTool
cannot import name CDATA
------
2009-10-07T23:39:08 ERROR Zope.SiteErrorLog
http://localhost: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 92,
in manage_addERP5Site
    reindex=reindex)
  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 1257,
in create
    reindex=reindex, **kw)
  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 1661,
in setup
    self.setupTools(p, **kw)
  File "/home/erp5/erp5-buildout/erp5/products/ERP5/ERP5Site.py", line 1420,
in setupTools
    addTool = p.manage_addProduct['ERP5Form'].manage_addTool
  File
"/home/erp5/erp5-buildout/parts/zope2/lib/python/App/FactoryDispatcher.py",
line 26, in __getitem__
    return self.__bobo_traverse__(None, name)
  File
"/home/erp5/erp5-buildout/parts/zope2/lib/python/App/FactoryDispatcher.py",
line 29, in __bobo_traverse__
    product=self.aq_acquire('_getProducts')()._product(name)
  File "/home/erp5/erp5-buildout/parts/zope2/lib/python/App/Product.py",
line 69, in _product
    def _product(self, name): return getattr(self, name)
AttributeError: ERP5Form


is anyone has solution for this problem?

Thanks in advance.

Best regards,


Pramono Tunggul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20091007/9f90cb8c/attachment.htm>


More information about the Erp5-users mailing list