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

Printing Delivery Order error

By
Suhendri
on 7/18/13, 7:33 AM 1,339 views

When I try to print Delivery Order it appears this error :

From web interface:

Premature end of data in tag pageTemplate line 2, line 30, column 11

(<class 'lxml.etree.xmlsyntaxerror'="">, XMLSyntaxError(u'Premature end of data in tag pageTemplate line 2, line 30, column 11',), <traceback object="" at="" 0x7f6c28921ab8="">)

From Server interface:

2013-07-18 09:26:30,482 64043 ERROR MKTDB openerp.service.web_services: Exception: Premature end of data in tag pageTemplate line 2, line 30, column 11

Traceback (most recent call last):

File "/home/hok/OpenObject/OpenERP/server/7.0/openerp/service/web_services.py", line 712, in go (result, format) = obj.create(cr, uid, ids, datas, context)

File "/home/hok/OpenObject/OpenERP/server/7.0/openerp/report/report_sxw.py", line 444, in create fnct_ret = fnct(cr, uid, ids, data, report_xml, context)

File "/home/hok/OpenObject/OpenERP/server/7.0/openerp/report/report_sxw.py", line 513, in create_source_pdf return self.create_single_pdf(cr, uid, ids, data, report_xml, context)

File "/home/hok/OpenObject/OpenERP/server/7.0/openerp/report/report_sxw.py", line 530, in create_single_pdf rml_parser._add_header(processed_rml, self.header)

File "/home/hok/OpenObject/OpenERP/server/7.0/openerp/report/report_sxw.py", line 357, in _add_header head_dom = etree.XML(rml_head)

File "lxml.etree.pyx", line 2734, in lxml.etree.XML (src/lxml/lxml.etree.c:54411)

File "parser.pxi", line 1578, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:82748)

File "parser.pxi", line 1450, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:81481)

File "parser.pxi", line 925, in lxml.etree._BaseParser._parseUnicodeDoc (src/lxml/lxml.etree.c:77905)

File "parser.pxi", line 569, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:74472)

File "parser.pxi", line 650, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:75363)

File "parser.pxi", line 590, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:74696)

XMLSyntaxError: Premature end of data in tag pageTemplate line 2, line 30, column 11

2013-07-18 09:26:30,697 64043 ERROR MKTDB openerp.netsvc: Premature end of data in tag pageTemplate line 2, line 30, column 11 (<class 'lxml.etree.xmlsyntaxerror'="">, XMLSyntaxError(u'Premature end of data in tag pageTemplate line 2, line 30, column 11',), <traceback object="" at="" 0x7f6c28921ab8="">)

Traceback (most recent call last):

File "/home/hok/OpenObject/OpenERP/server/7.0/openerp/netsvc.py", line 292, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params)

File "/home/hok/OpenObject/OpenERP/server/7.0/openerp/service/web_services.py", line 654, in dispatch res = fn(db, uid, *params)

File "/home/hok/OpenObject/OpenERP/server/7.0/openerp/service/web_services.py", line 760, in exp_report_get return self._check_report(report_id)

File "/home/hok/OpenObject/OpenERP/server/7.0/openerp/service/web_services.py", line 738, in _check_report netsvc.abort_response(exc, exc.message, 'warning', exc.traceback)

File "/home/hok/OpenObject/OpenERP/server/7.0/openerp/netsvc.py", line 71, in abort_response raise openerp.osv.osv.except_osv(description, details)

except_osv: (u'Premature end of data in tag pageTemplate line 2, line 30, column 11', (<class 'lxml.etree.xmlsyntaxerror'="">, XMLSyntaxError(u'Premature end of data in tag pageTemplate line 2, line 30, column 11',), <traceback object="" at="" 0x7f6c28921ab8="">))

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

1 follower(s)

Stats

Asked: 7/18/13, 7:33 AM
Seen: 1339 times
Last updated: 3/16/15, 8:10 AM