Don't know if it is the same problem, but looks like.
Make module with report_openoffice report.
Module works well, print report is ok.
but when i try to make translation in french and obtain (from export translation wizard) :
Traceback (most recent call last):
File "/opt/openerp/istf/openerp-server-5.0.12/bin/netsvc.py", line 247, in dispatch
result = LocalService(service_name)(method, *params)
File "/opt/openerp/istf/openerp-server-5.0.12/bin/netsvc.py", line 76, in __call__
return getattr(self, method)(*params)
File "/opt/openerp/istf/openerp-server-5.0.12/bin/service/web_services.py", line 577, in execute
res = service.execute(db, uid, object, method, *args)
File "/opt/openerp/istf/openerp-server-5.0.12/bin/osv/osv.py", line 58, in wrapper
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/istf/openerp-server-5.0.12/bin/osv/osv.py", line 119, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/istf/openerp-server-5.0.12/bin/osv/osv.py", line 111, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/istf/server/bin/addons/base/module/wizard/wizard_export_lang.py", line 53, in act_getfile
tools.trans_export(this.lang, mods, buf, this.format, dbname=cr.dbname)
File "/opt/openerp/istf/openerp-server-5.0.12/bin/tools/translate.py", line 351, in trans_export
trans = trans_generate(lang, modules, dbname)
File "/opt/openerp/istf/openerp-server-5.0.12/bin/tools/translate.py", line 543, in trans_generate
d = etree.XML(xmlstr)
File "lxml.etree.pyx", line 2512, in lxml.etree.XML (src/lxml/lxml.etree.c:48057)
File "parser.pxi", line 1545, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:71812)
File "parser.pxi", line 1424, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:70673)
File "parser.pxi", line 938, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:67442)
File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63824)
File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:64745)
File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088)
XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
I comment in __terp__ line in which i define xml for the declaration of report_openoffice, no error.
Don't know if it is the same problem, but looks like.
Make module with report_openoffice report.
Module works well, print report is ok.
but when i try to make translation in french and obtain (from export translation wizard) : istf/openerp- server- 5.0.12/ bin/netsvc. py", line 247, in dispatch service_ name)(method, *params) istf/openerp- server- 5.0.12/ bin/netsvc. py", line 76, in __call__ istf/openerp- server- 5.0.12/ bin/service/ web_services. py", line 577, in execute istf/openerp- server- 5.0.12/ bin/osv/ osv.py" , line 58, in wrapper istf/openerp- server- 5.0.12/ bin/osv/ osv.py" , line 119, in execute istf/openerp- server- 5.0.12/ bin/osv/ osv.py" , line 111, in execute_cr istf/server/ bin/addons/ base/module/ wizard/ wizard_ export_ lang.py" , line 53, in act_getfile trans_export( this.lang, mods, buf, this.format, dbname=cr.dbname) istf/openerp- server- 5.0.12/ bin/tools/ translate. py", line 351, in trans_export lang, modules, dbname) istf/openerp- server- 5.0.12/ bin/tools/ translate. py", line 543, in trans_generate lxml.etree. c:48057) _parseMemoryDoc ument (src/lxml/ lxml.etree. c:71812) _parseDoc (src/lxml/ lxml.etree. c:70673) _BaseParser. _parseDoc (src/lxml/ lxml.etree. c:67442) _ParserContext. _handleParseRes ultDoc (src/lxml/ lxml.etree. c:63824) _handleParseRes ult (src/lxml/ lxml.etree. c:64745) _raiseParseErro r (src/lxml/ lxml.etree. c:64088)
Traceback (most recent call last):
File "/opt/openerp/
result = LocalService(
File "/opt/openerp/
return getattr(self, method)(*params)
File "/opt/openerp/
res = service.execute(db, uid, object, method, *args)
File "/opt/openerp/
return f(self, dbname, *args, **kwargs)
File "/opt/openerp/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/opt/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/opt/openerp/
tools.
File "/opt/openerp/
trans = trans_generate(
File "/opt/openerp/
d = etree.XML(xmlstr)
File "lxml.etree.pyx", line 2512, in lxml.etree.XML (src/lxml/
File "parser.pxi", line 1545, in lxml.etree.
File "parser.pxi", line 1424, in lxml.etree.
File "parser.pxi", line 938, in lxml.etree.
File "parser.pxi", line 539, in lxml.etree.
File "parser.pxi", line 625, in lxml.etree.
File "parser.pxi", line 565, in lxml.etree.
XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
I comment in __terp__ line in which i define xml for the declaration of report_openoffice, no error.
i forget :
openerp 5.0.12
report_openoffice 1.0