Odoo Help


XSLTParseError during convert SXW to RML

Sahib Hasanov
on 10/23/13, 10:09 AM 1,664 views

I've installed module base_report_designer and want to convert sxw file into rml. But it gives error when I run openerp_sxw2rml.py . I don't understand what's the problem.

Traceback (most recent call last):
  File "openerp_sxw2rml.py", line 358, in <module>
    result = sxw2rml(f, xsl, output=opt.output, save_pict=False)
  File "openerp_sxw2rml.py", line 315, in sxw2rml
    style = etree.XSLT(styledoc)
  File "xslt.pxi", line 409, in lxml.etree.XSLT.__init__ (src\lxml\lxml.etree.c:
lxml.etree.XSLTParseError: Cannot parse stylesheet

have you used the command python openerp_sxw2rml.py your_sxw.sxw > your_rml.rml to convert the sxw file to rml file?

Abhishek H Menon
on 10/24/13, 10:30 AM

yes, I navigate into this py folder and run exactly this command python openerp_sxw2rml.py your_sxw.sxw > your_rml.rml

Sahib Hasanov
on 10/24/13, 10:40 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 10/23/13, 10:09 AM
Seen: 1664 times
Last updated: 3/16/15, 8:10 AM