openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #09842
[Bug 972526] [NEW] Adding report in Openoffice Report designer fails
Public bug reported:
Hi all,
I have installed OpenERP 6.1 on a Ubuntu 11.10 (oneiric) system using
the debian package offered on the download page. On the client side I've
tried both Openoffice 3.3 and LibreOffice 3.5 and both gave me the same
result.
Using the Openoffice report designer extension I cannot add new reports.
Instead I found the error message below in the log:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/base_report_designer/base_report_designer.py", line 56, in upload_report
'report_rml_content': str(sxw2rml(sxwval, xsl=fp.read())),
File "/usr/lib/pymodules/python2.7/openerp/addons/base_report_designer/openerp_sxw2rml/openerp_sxw2rml.py", line 318, in sxw2rml
root = etree.XPathEvaluator(result)("/document/stylesheet")
File "xpath.pxi", line 406, in lxml.etree.XPathEvaluator (src/lxml/lxml.etree.c:114664)
File "xpath.pxi", line 345, in lxml.etree.XPathDocumentEvaluator.__init__ (src/lxml/lxml.etree.c:114128)
File "xpath.pxi", line 267, in lxml.etree.XPathElementEvaluator.__init__ (src/lxml/lxml.etree.c:113282)
TypeError: Argument 'element' has incorrect type (expected lxml.etree._Element, got NoneType)
** Affects: openobject-addons
Importance: Undecided
Status: New
** Tags: base-report-designer report-designer
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/972526
Title:
Adding report in Openoffice Report designer fails
Status in OpenERP Addons (modules):
New
Bug description:
Hi all,
I have installed OpenERP 6.1 on a Ubuntu 11.10 (oneiric) system using
the debian package offered on the download page. On the client side
I've tried both Openoffice 3.3 and LibreOffice 3.5 and both gave me
the same result.
Using the Openoffice report designer extension I cannot add new
reports. Instead I found the error message below in the log:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/lib/pymodules/python2.7/openerp/addons/base_report_designer/base_report_designer.py", line 56, in upload_report
'report_rml_content': str(sxw2rml(sxwval, xsl=fp.read())),
File "/usr/lib/pymodules/python2.7/openerp/addons/base_report_designer/openerp_sxw2rml/openerp_sxw2rml.py", line 318, in sxw2rml
root = etree.XPathEvaluator(result)("/document/stylesheet")
File "xpath.pxi", line 406, in lxml.etree.XPathEvaluator (src/lxml/lxml.etree.c:114664)
File "xpath.pxi", line 345, in lxml.etree.XPathDocumentEvaluator.__init__ (src/lxml/lxml.etree.c:114128)
File "xpath.pxi", line 267, in lxml.etree.XPathElementEvaluator.__init__ (src/lxml/lxml.etree.c:113282)
TypeError: Argument 'element' has incorrect type (expected lxml.etree._Element, got NoneType)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/972526/+subscriptions
Follow ups
References