Odoo Help

1

How to get sale_report_html past RML is not available at specified location or not enough data to print! (None, None, None)

By
Dale E. Moore
on 3/9/13, 9:34 AM 2,742 views

I've installed sale_report_html, corrected encoding with "## -- encoding: utf-8 --", corrected the includes to "<%include file="mako_header.html"/>", corrected for "TemplateLookupException: Cant locate template for uri u'mako_header.html'" by removing the includes and now get:

RML is not available at specified location or not enough data to print (2)!

(None, None, None)

There are two "RML is not available at specified location or not enough data to print!" errors in ../service/web_services.py. I marked the one in exp_render_report() "(1)" and the one in exp_report() "(2)" so I'd know which was failing. There is more information in /var/log/openerp-server.log:

2013-03-09 13:30:10,694 18932 ERROR ? openerp.report.render.makohtml2html.makohtml2html: report : Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/openerp/report/render/makohtml2html/makohtml2html.py", line 127, in render final_html += self.format_body(etree_obj) File "/usr/lib/pymodules/python2.7/openerp/report/render/makohtml2html/makohtml2html.py", line 113, in format_body </body></html>'''%(body_list,body_list[0],footer,'1',len(body_list)) IndexError: list index out of range

list index out of range

2013-03-09 13:30:10,833 18932 ERROR ? openerp.netsvc: RML is not available at specified location or not enough data to print (2)! (None, None, None)

that module is very obsolete and probably never worked correctly. you can use sale_order_webkit from camptocamp instead: http://bazaar.launchpad.net/~sale-core-editors/sale-reports/6.1/files

Davide Corio
on 3/9/13, 11:28 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.

Register

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

2 follower(s)

Stats

Asked: 3/9/13, 9:34 AM
Seen: 2742 times
Last updated: 3/16/15, 8:10 AM