Odoo Help

Welcome!

This community 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.

0

XSLTParseError during convert SXW to RML

By
Sahib Hasanov
on 10/23/13, 10:09 AM 1,079 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:
139421)
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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

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