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.

3

document is empty error

By
Vasanth
on 4/30/14, 8:42 AM 3,098 views

while i click the print button i got the following error

I/O error : Is a directory 2014-04-30 10:39:59,481 5594 ERROR test openerp.service.web_services: Exception: Document is empty, line 1, column 1 Traceback (most recent call last): File "/opt/openerp/server/openerp/service/web_services.py", line 712, in go (result, format) = obj.create(cr, uid, ids, datas, context) File "/opt/openerp/addons/jasper_reports_7/jasper_report.py", line 257, in create return r.execute() File "/opt/openerp/addons/jasper_reports_7/jasper_report.py", line 90, in execute self.report = JasperReport( self.reportPath ) File "/opt/openerp/addons/jasper_reports_7/JasperReports/JasperReport.py", line 54, in __init__ self.extractProperties() File "/opt/openerp/addons/jasper_reports_7/JasperReports/JasperReport.py", line 128, in extractProperties doc = etree.parse( self._reportPath ) File "lxml.etree.pyx", line 3197, in lxml.etree.parse (src/lxml/lxml.etree.c:64726) File "parser.pxi", line 1571, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:92363) File "parser.pxi", line 1600, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:92647) File "parser.pxi", line 1500, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:91710) File "parser.pxi", line 1047, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:88610) File "parser.pxi", line 577, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:84019) File "parser.pxi", line 676, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:85122) File "parser.pxi", line 616, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:84445) XMLSyntaxError: Document is empty, line 1, column 1 2014-04-30 10:39:59,728 5594 ERROR test openerp.netsvc: Document is empty, line 1, column 1 (<class 'lxml.etree.xmlsyntaxerror'="">, XMLSyntaxError(u'Document is empty, line 1, column 1',), <traceback object="" at="" 0x7fa4d53a7e18="">) Traceback (most recent call last): File "/opt/openerp/server/openerp/netsvc.py", line 296, in dispatch_rpc result = ExportService.getService(service_name).dispatch(method, params) File "/opt/openerp/server/openerp/service/web_services.py", line 654, in dispatch res = fn(db, uid, *params) File "/opt/openerp/server/openerp/service/web_services.py", line 760, in exp_report_get return self._check_report(report_id) File "/opt/openerp/server/openerp/service/web_services.py", line 738, in _check_report netsvc.abort_response(exc, exc.message, 'warning', exc.traceback) File "/opt/openerp/server/openerp/netsvc.py", line 71, in abort_response raise openerp.osv.osv.except_osv(description, details) except_osv: (u'Document is empty, line 1, column 1', (<class 'lxml.etree.xmlsyntaxerror'="">, XMLSyntaxError(u'Document is empty, line 1, column 1',), <traceback object="" at="" 0x7fa4d53a7e18="">)) 2014-04-30 10:39:59,733 5594 INFO test werkzeug: 127.0.0.1 - - [30/Apr/2014 10:39:59] "POST /web/report HTTP/1.1" 500 -

what is the way that i cleared this error?

0
Ganesan
On 10/14/16, 4:02 AM

i have faced same problem. if you know solutions plz help me

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: 4/30/14, 8:42 AM
Seen: 3098 times
Last updated: 10/14/16, 4:02 AM