Hello,
when I try to print a pdf report in odoo v9.0c then I receive this error message:
Odoo Server Error
Traceback (most recent call last):
File "/odoo/odoo-server/addons/report/controllers/main.py", line 105, in report_download
response = self.report_routes(reportname, converter='pdf', **dict(data))
File "/odoo/odoo-server/openerp/http.py", line 509, in response_wrap
response = f(*args, **kw)
File "/odoo/odoo-server/addons/report/controllers/main.py", line 45, in report_routes
pdf = report_obj.get_pdf(cr, uid, docids, reportname, data=data, context=context)
File "/odoo/odoo-server/openerp/api.py", line 238, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/addons/report/models/report.py", line 156, in get_pdf
html = self.get_html(cr, uid, ids, report_name, data=data, context=context)
File "/odoo/odoo-server/openerp/api.py", line 238, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/addons/report/models/report.py", line 120, in get_html
return particularreport_obj.render_html(cr, uid, ids, data=data, context=context)
File "/odoo/odoo-server/openerp/api.py", line 238, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/api.py", line 369, in old_api
result = method(recs, *args, **kwargs)
File "/odoo/odoo-server/addons/account/report/account_general_ledger.py", line 133, in render_html
return self.env['report'].render('account.report_generalledger', docargs)
File "/odoo/odoo-server/openerp/api.py", line 236, in wrapper
return new_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/api.py", line 562, in new_api
result = method(self._model, cr, uid, self.ids, *args, **old_kwargs)
File "/odoo/odoo-server/addons/report/models/report.py", line 106, in render
return view_obj.render(cr, uid, template, values, context=context)
File "/odoo/odoo-server/openerp/api.py", line 238, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/addons/website/models/ir_ui_view.py", line 141, in render
return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)
File "/odoo/odoo-server/openerp/api.py", line 238, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/addons/web_editor/models/ir_ui_view.py", line 29, in render
return super(view, self).render(cr, uid, id_or_xml_id, values=values, engine=engine, context=context)
File "/odoo/odoo-server/openerp/api.py", line 238, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 1065, in render
return self.pool[engine].render(cr, uid, id_or_xml_id, qcontext, loader=loader, context=context)
File "/odoo/odoo-server/openerp/api.py", line 238, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/addons/base/ir/ir_qweb.py", line 252, in render
element = self.get_template(id_or_xml_id, qwebcontext)
File "/odoo/odoo-server/openerp/addons/base/ir/ir_qweb.py", line 172, in get_template
document = qwebcontext.loader(name)
File "/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 1063, in loader
return self.read_template(cr, uid, name, context=context)
File "/odoo/odoo-server/openerp/api.py", line 238, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 938, in read_template
return self._read_template(cr, uid, view_id, context=context)
File "/odoo/odoo-server/openerp/api.py", line 238, in wrapper
return old_api(self, *args, **kwargs)
File "<string>", line 2, in _read_template
File "/odoo/odoo-server/openerp/tools/cache.py", line 85, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 923, in _read_template
arch = self.read_combined(cr, uid, view_id, fields=['arch'], context=context)['arch']
File "/odoo/odoo-server/openerp/api.py", line 238, in wrapper
return old_api(self, *args, **kwargs)
File "/odoo/odoo-server/openerp/addons/base/ir/ir_ui_view.py", line 635, in read_combined
view_arch = etree.fromstring(view['arch'].encode('utf-8'))
File "lxml.etree.pyx", line 3032, in lxml.etree.fromstring (src/lxml/lxml.etree.c:68106)
File "parser.pxi", line 1785, in lxml.etree._parseMemoryDocument (src/lxml/lxml.etree.c:102455)
File "parser.pxi", line 1673, in lxml.etree._parseDoc (src/lxml/lxml.etree.c:101284)
File "parser.pxi", line 1074, in lxml.etree._BaseParser._parseDoc (src/lxml/lxml.etree.c:96466)
File "parser.pxi", line 582, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:91275)
File "parser.pxi", line 683, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:92461)
File "parser.pxi", line 622, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:91757)
XMLSyntaxError: xmlParseEntityRef: no name, line 34, column 42
Please help
Thanks