← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 870807] Re: [5.0] regression, when launch multiple duplicate

 

** Branch linked: lp:openerp-jasperserver/5.0

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

Title:
  [5.0] regression, when launch multiple duplicate

Status in JasperServer module for OpenERP:
  New
Status in OpenERP JasperReport Server 5.0 series:
  Confirmed

Bug description:
  When launch report with 2 copies per pages, it raise an error

  [2011-10-08 17:53:53,414][real_report] ERROR:web-services:[01]: 
  [2011-10-08 17:53:53,417][real_report] ERROR:web-services:[02]: Environment Information : 
  [2011-10-08 17:53:53,417][real_report] ERROR:web-services:[03]: System : Linux-2.6.31-23-generic-i686-with-Ubuntu-9.10-karmic
  [2011-10-08 17:53:53,422][real_report] ERROR:web-services:[04]: OS Name : posix
  [2011-10-08 17:53:53,423][real_report] ERROR:web-services:[05]: Distributor ID:	Ubuntu
  [2011-10-08 17:53:53,423][real_report] ERROR:web-services:[06]: Description:	Ubuntu 9.10
  [2011-10-08 17:53:53,423][real_report] ERROR:web-services:[07]: Release:	9.10
  [2011-10-08 17:53:53,423][real_report] ERROR:web-services:[08]: Codename:	karmic
  [2011-10-08 17:53:53,423][real_report] ERROR:web-services:[09]: Operating System Release : 2.6.31-23-generic
  [2011-10-08 17:53:53,423][real_report] ERROR:web-services:[10]: Operating System Version : #75-Ubuntu SMP Fri Mar 18 18:08:39 UTC 2011
  [2011-10-08 17:53:53,423][real_report] ERROR:web-services:[11]: Operating System Architecture : 32bit
  [2011-10-08 17:53:53,423][real_report] ERROR:web-services:[12]: Operating System Locale : fr_FR.UTF8
  [2011-10-08 17:53:53,423][real_report] ERROR:web-services:[13]: Python Version : 2.6.4
  [2011-10-08 17:53:53,424][real_report] ERROR:web-services:[14]: OpenERP-Server Version : 5.0.12
  [2011-10-08 17:53:53,424][real_report] ERROR:web-services:[15]: Last revision No. & ID : 
  [2011-10-08 17:53:53,424][real_report] ERROR:web-services:[16]: Exception: I/O operation on closed file
  [2011-10-08 17:53:53,424][real_report] ERROR:web-services:[17]: Traceback (most recent call last):
  [2011-10-08 17:53:53,424][real_report] ERROR:web-services:[18]:   File "/home/alncchau/instances/demo/server/bin/service/web_services.py", line 683, in go
  [2011-10-08 17:53:53,424][real_report] ERROR:web-services:[19]:     (result, format) = obj.create(cr, uid, ids, datas, context)
  [2011-10-08 17:53:53,424][real_report] ERROR:web-services:[20]:   File "/home/alncchau/instances/demo/server/bin/addons/jasper_server/report/jasper.py", line 45, in create
  [2011-10-08 17:53:53,424][real_report] ERROR:web-services:[21]:     return Report(self.name, cr, uid, ids, data, context).execute()
  [2011-10-08 17:53:53,424][real_report] ERROR:web-services:[22]:   File "/home/alncchau/instances/demo/server/bin/addons/jasper_server/report/report_soap.py", line 311, in execute
  [2011-10-08 17:53:53,424][real_report] ERROR:web-services:[23]:     tmp_content.write(c)
  [2011-10-08 17:53:53,425][real_report] ERROR:web-services:[24]:   File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 264, in write
  [2011-10-08 17:53:53,425][real_report] ERROR:web-services:[25]:     self._sweepIndirectReferences(externalReferenceMap, self._root)
  [2011-10-08 17:53:53,425][real_report] ERROR:web-services:[26]:   File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 339, in _sweepIndirectReferences
  [2011-10-08 17:53:53,425][real_report] ERROR:web-services:[27]:     self._sweepIndirectReferences(externMap, realdata)
  [2011-10-08 17:53:53,425][real_report] ERROR:web-services:[28]:   File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 315, in _sweepIndirectReferences
  [2011-10-08 17:53:53,425][real_report] ERROR:web-services:[29]:     value = self._sweepIndirectReferences(externMap, value)
  [2011-10-08 17:53:53,425][real_report] ERROR:web-services:[30]:   File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 339, in _sweepIndirectReferences
  [2011-10-08 17:53:53,425][real_report] ERROR:web-services:[31]:     self._sweepIndirectReferences(externMap, realdata)
  [2011-10-08 17:53:53,425][real_report] ERROR:web-services:[32]:   File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 315, in _sweepIndirectReferences
  [2011-10-08 17:53:53,425][real_report] ERROR:web-services:[33]:     value = self._sweepIndirectReferences(externMap, value)
  [2011-10-08 17:53:53,426][real_report] ERROR:web-services:[34]:   File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 324, in _sweepIndirectReferences
  [2011-10-08 17:53:53,426][real_report] ERROR:web-services:[35]:     value = self._sweepIndirectReferences(externMap, data[i])
  [2011-10-08 17:53:53,426][real_report] ERROR:web-services:[36]:   File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 339, in _sweepIndirectReferences
  [2011-10-08 17:53:53,426][real_report] ERROR:web-services:[37]:     self._sweepIndirectReferences(externMap, realdata)
  [2011-10-08 17:53:53,426][real_report] ERROR:web-services:[38]:   File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 315, in _sweepIndirectReferences
  [2011-10-08 17:53:53,426][real_report] ERROR:web-services:[39]:     value = self._sweepIndirectReferences(externMap, value)
  [2011-10-08 17:53:53,426][real_report] ERROR:web-services:[40]:   File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 345, in _sweepIndirectReferences
  [2011-10-08 17:53:53,426][real_report] ERROR:web-services:[41]:     newobj = data.pdf.getObject(data)
  [2011-10-08 17:53:53,427][real_report] ERROR:web-services:[42]:   File "/usr/local/lib/python2.6/dist-packages/pyPdf/pdf.py", line 645, in getObject
  [2011-10-08 17:53:53,427][real_report] ERROR:web-services:[43]:     self.stream.seek(start, 0)
  [2011-10-08 17:53:53,427][real_report] ERROR:web-services:[44]: ValueError: I/O operation on closed file

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-jasperserver/+bug/870807/+subscriptions


References