← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 702847] Re: print quotation error

 

Hi,

here is the list of installed modules

and the server traceback :


[2011-01-14 14:55:11,546][acvs] ERROR:web-services:[01]: Exception: 
[2011-01-14 14:55:11,546][acvs] ERROR:web-services:[02]: Traceback (most recent call last):
[2011-01-14 14:55:11,546][acvs] ERROR:web-services:[03]:   File "/home/entreprises/openobject-server/bin/service/web_services.py", line 724, in go
[2011-01-14 14:55:11,546][acvs] ERROR:web-services:[04]:     (result, format) = obj.create(cr, uid, ids, datas, context)
[2011-01-14 14:55:11,547][acvs] ERROR:web-services:[05]:   File "/home/entreprises/openobject-server/bin/report/report_sxw.py", line 428, in create
[2011-01-14 14:55:11,547][acvs] ERROR:web-services:[06]:     fnct_ret = fnct(cr, uid, ids, data, report_xml, context)
[2011-01-14 14:55:11,547][acvs] ERROR:web-services:[07]:   File "/home/entreprises/openobject-server/bin/report/report_sxw.py", line 491, in create_source_pdf
[2011-01-14 14:55:11,547][acvs] ERROR:web-services:[08]:     return self.create_single_pdf(cr, uid, ids, data, report_xml, context)
[2011-01-14 14:55:11,547][acvs] ERROR:web-services:[09]:   File "/home/entreprises/openobject-server/bin/report/report_sxw.py", line 513, in create_single_pdf
[2011-01-14 14:55:11,547][acvs] ERROR:web-services:[10]:     pdf = create_doc(etree.tostring(processed_rml),rml_parser.localcontext,logo,title.encode('utf8'))
[2011-01-14 14:55:11,547][acvs] ERROR:web-services:[11]:   File "/home/entreprises/openobject-server/bin/report/interface.py", line 197, in create_pdf
[2011-01-14 14:55:11,548][acvs] ERROR:web-services:[12]:     obj.render()
[2011-01-14 14:55:11,548][acvs] ERROR:web-services:[13]:   File "/home/entreprises/openobject-server/bin/report/render/render.py", line 63, in render
[2011-01-14 14:55:11,548][acvs] ERROR:web-services:[14]:     result = self._render()
[2011-01-14 14:55:11,548][acvs] ERROR:web-services:[15]:   File "/home/entreprises/openobject-server/bin/report/render/rml.py", line 41, in _render
[2011-01-14 14:55:11,548][acvs] ERROR:web-services:[16]:     return rml2pdf.parseNode(self.rml, self.localcontext, images=self.bin_datas, path=self.path,title=self.title)
[2011-01-14 14:55:11,548][acvs] ERROR:web-services:[17]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 971, in parseNode
[2011-01-14 14:55:11,548][acvs] ERROR:web-services:[18]:     r.render(fp)
[2011-01-14 14:55:11,549][acvs] ERROR:web-services:[19]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 303, in render
[2011-01-14 14:55:11,549][acvs] ERROR:web-services:[20]:     pt_obj.render(el)
[2011-01-14 14:55:11,549][acvs] ERROR:web-services:[21]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 942, in render
[2011-01-14 14:55:11,549][acvs] ERROR:web-services:[22]:     fis += r.render(node_story)
[2011-01-14 14:55:11,549][acvs] ERROR:web-services:[23]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 861, in render
[2011-01-14 14:55:11,549][acvs] ERROR:web-services:[24]:     return process_story(node_story)
[2011-01-14 14:55:11,549][acvs] ERROR:web-services:[25]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 854, in process_story
[2011-01-14 14:55:11,550][acvs] ERROR:web-services:[26]:     flow = self._flowable(node)
[2011-01-14 14:55:11,550][acvs] ERROR:web-services:[27]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 723, in _flowable
[2011-01-14 14:55:11,550][acvs] ERROR:web-services:[28]:     return self._pto(node)
[2011-01-14 14:55:11,550][acvs] ERROR:web-services:[29]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 713, in _pto
[2011-01-14 14:55:11,550][acvs] ERROR:web-services:[30]:     flow = self._flowable(node)
[2011-01-14 14:55:11,550][acvs] ERROR:web-services:[31]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 818, in _flowable
[2011-01-14 14:55:11,550][acvs] ERROR:web-services:[32]:     return self.render(node)
[2011-01-14 14:55:11,551][acvs] ERROR:web-services:[33]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 861, in render
[2011-01-14 14:55:11,551][acvs] ERROR:web-services:[34]:     return process_story(node_story)
[2011-01-14 14:55:11,551][acvs] ERROR:web-services:[35]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 854, in process_story
[2011-01-14 14:55:11,551][acvs] ERROR:web-services:[36]:     flow = self._flowable(node)
[2011-01-14 14:55:11,551][acvs] ERROR:web-services:[37]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 777, in _flowable
[2011-01-14 14:55:11,551][acvs] ERROR:web-services:[38]:     return  self._table(node)
[2011-01-14 14:55:11,551][acvs] ERROR:web-services:[39]:   File "/home/entreprises/openobject-server/bin/report/render/rml2pdf/trml2pdf.py", line 681, in _table
[2011-01-14 14:55:11,552][acvs] ERROR:web-services:[40]:     assert length == len(node.get('colWidths').split(','))
[2011-01-14 14:55:11,552][acvs] ERROR:web-services:[41]: AssertionError


** Attachment added: "installed modules"
   https://bugs.launchpad.net/openobject-server/+bug/702847/+attachment/1793788/+files/Modules%20-%20OpenERP.pdf

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/702847

Title:
  print quotation error

Status in OpenObject Server:
  Incomplete

Bug description:
  Hi,

  Using openerp 6 RC 2 rev3262 I cannont print a quotation (standard,
  without layout) :

  (<type 'exceptions.AssertionError'>, AssertionError(), <traceback
  object at 0x947c414>)

  And, the quotation with layout is creating the PDF, but not
  translated.





Follow ups

References