← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 681725] Re: [trunk] - can't test financial report - please correct ASAP

 

** Project changed: openobject-addons => openobject-server

-- 
[trunk] - can't test financial report - please correct ASAP
https://bugs.launchpad.net/bugs/681725
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: New

Bug description:
I just did a brz up and I have an error message due to a font "DejaVu"... I cannot print any financial report and I need to test it urgently ....  thanks

error message below:


[2010-11-26 11:10:45,703][v6_20101126] ERROR:web-services:[01]: Exception: '\'Font "DejaVu Sans" is not registered in the engine\'\n   handle_pageBegin args=()'
[2010-11-26 11:10:45,703][v6_20101126] ERROR:web-services:[02]: Traceback (most recent call last):
[2010-11-26 11:10:45,704][v6_20101126] ERROR:web-services:[03]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/service/web_services.py", line 721, in go
[2010-11-26 11:10:45,704][v6_20101126] ERROR:web-services:[04]:     (result, format) = obj.create(cr, uid, ids, datas, context)
[2010-11-26 11:10:45,704][v6_20101126] ERROR:web-services:[05]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/report_sxw.py", line 405, in create
[2010-11-26 11:10:45,704][v6_20101126] ERROR:web-services:[06]:     fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
[2010-11-26 11:10:45,704][v6_20101126] ERROR:web-services:[07]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/report_sxw.py", line 468, in create_source_pdf
[2010-11-26 11:10:45,704][v6_20101126] ERROR:web-services:[08]:     return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
[2010-11-26 11:10:45,704][v6_20101126] ERROR:web-services:[09]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/report_sxw.py", line 490, in create_single_pdf
[2010-11-26 11:10:45,704][v6_20101126] ERROR:web-services:[10]:     pdf = create_doc(etree.tostring(processed_rml),rml_parser.localcontext,logo,title.encode('utf8'))
[2010-11-26 11:10:45,704][v6_20101126] ERROR:web-services:[11]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/interface.py", line 190, in create_pdf
[2010-11-26 11:10:45,705][v6_20101126] ERROR:web-services:[12]:     obj.render()
[2010-11-26 11:10:45,705][v6_20101126] ERROR:web-services:[13]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/render/render.py", line 49, in render
[2010-11-26 11:10:45,705][v6_20101126] ERROR:web-services:[14]:     result = self._render()
[2010-11-26 11:10:45,705][v6_20101126] ERROR:web-services:[15]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/render/rml.py", line 42, in _render
[2010-11-26 11:10:45,705][v6_20101126] ERROR:web-services:[16]:     return rml2pdf.parseNode(self.rml, self.localcontext, images=self.bin_datas, path=self.path,title=self.title)
[2010-11-26 11:10:45,705][v6_20101126] ERROR:web-services:[17]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/render/rml2pdf/trml2pdf.py", line 923, in parseNode
[2010-11-26 11:10:45,705][v6_20101126] ERROR:web-services:[18]:     r.render(fp)
[2010-11-26 11:10:45,705][v6_20101126] ERROR:web-services:[19]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/render/rml2pdf/trml2pdf.py", line 278, in render
[2010-11-26 11:10:45,705][v6_20101126] ERROR:web-services:[20]:     pt_obj.render(el)
[2010-11-26 11:10:45,706][v6_20101126] ERROR:web-services:[21]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/render/rml2pdf/trml2pdf.py", line 904, in render
[2010-11-26 11:10:45,706][v6_20101126] ERROR:web-services:[22]:     self.doc_tmpl.build(fis,canvasmaker=NumberedCanvas)
[2010-11-26 11:10:45,706][v6_20101126] ERROR:web-services:[23]:   File "/usr/lib/python2.6/dist-packages/reportlab/platypus/doctemplate.py", line 874, in build
[2010-11-26 11:10:45,706][v6_20101126] ERROR:web-services:[24]:     self.clean_hanging()
[2010-11-26 11:10:45,706][v6_20101126] ERROR:web-services:[25]:   File "/usr/lib/python2.6/dist-packages/reportlab/platypus/doctemplate.py", line 509, in clean_hanging
[2010-11-26 11:10:45,706][v6_20101126] ERROR:web-services:[26]:     self.handle_flowable(self._hanging)
[2010-11-26 11:10:45,706][v6_20101126] ERROR:web-services:[27]:   File "/usr/lib/python2.6/dist-packages/reportlab/platypus/doctemplate.py", line 756, in handle_flowable
[2010-11-26 11:10:45,706][v6_20101126] ERROR:web-services:[28]:     f.apply(self)
[2010-11-26 11:10:45,706][v6_20101126] ERROR:web-services:[29]:   File "/usr/lib/python2.6/dist-packages/reportlab/platypus/doctemplate.py", line 140, in apply
[2010-11-26 11:10:45,706][v6_20101126] ERROR:web-services:[30]:     getattr(doc,arn)(*args)
[2010-11-26 11:10:45,707][v6_20101126] ERROR:web-services:[31]:   File "/usr/lib/python2.6/dist-packages/reportlab/platypus/doctemplate.py", line 534, in handle_pageBegin
[2010-11-26 11:10:45,707][v6_20101126] ERROR:web-services:[32]:     self.pageTemplate.onPage(self.canv,self)
[2010-11-26 11:10:45,707][v6_20101126] ERROR:web-services:[33]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/render/rml2pdf/trml2pdf.py", line 532, in render
[2010-11-26 11:10:45,707][v6_20101126] ERROR:web-services:[34]:     cnv.render(self.node)
[2010-11-26 11:10:45,707][v6_20101126] ERROR:web-services:[35]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/render/rml2pdf/trml2pdf.py", line 517, in render
[2010-11-26 11:10:45,707][v6_20101126] ERROR:web-services:[36]:     tags[n.tag](n)
[2010-11-26 11:10:45,707][v6_20101126] ERROR:web-services:[37]:   File "/home/fclementi/openerp-instances/openerp6/src/server/bin/report/render/rml2pdf/trml2pdf.py", line 492, in setFont
[2010-11-26 11:10:45,707][v6_20101126] ERROR:web-services:[38]:     raise KeyError('Font "%s" is not registered in the engine' % fname)
[2010-11-26 11:10:45,707][v6_20101126] ERROR:web-services:[39]: KeyError: '\'Font "DejaVu Sans" is not registered in the engine\'\n   handle_pageBegin args=()'





References