← Back to team overview

openerp-india team mailing list archive

[Bug 506431] Re: tiny_sxw2rml error bad zipfile on windows

 

** This bug is no longer flagged as a security vulnerability

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/506431

Title:
  tiny_sxw2rml error bad zipfile on windows

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  os : vista
  openerp 5.0.7 of  today
  python 2.5-2
  reportlab 2.3 
  libxml2-python-2.7.1

  when I want to do a file sxw in a rml with module tiny_sxw2rml I have
  this error :

  Traceback (most recent call last):
  File "C:\Program Files\OpenERP AllInOne\Server\addons\base_report_designer\wiz
  ard\tiny_sxw2rml\tiny_sxw2rml.py", line 368, in <module>
  result = sxw2rml(f, xsl, output=opt.output, save_pict=False)
  File "C:\Program Files\OpenERP AllInOne\Server\addons\base_report_designer\wiz
  ard\tiny_sxw2rml\tiny_sxw2rml.py", line 324, in sxw2rml
  res = tool.unpackNormalize(sxw_file)
  File "C:\Program Files\OpenERP AllInOne\Server\addons\base_report_designer\wiz
  ard\tiny_sxw2rml\tiny_sxw2rml.py", line 310, in unpackNormalize
  c,s = self.oo_read(sourcefile)
  File "C:\Program Files\OpenERP AllInOne\Server\addons\base_report_designer\wiz
  ard\tiny_sxw2rml\tiny_sxw2rml.py", line 283, in oo_read
  z = zipfile.ZipFile(fname,"r")
  File "C:\Python25\lib\zipfile.py", line 346, in __init__
  self._GetContents()
  File "C:\Python25\lib\zipfile.py", line 366, in _GetContents
  self._RealGetContents()
  File "C:\Python25\lib\zipfile.py", line 378, in _RealGetContents
  raise BadZipfile, "File is not a zip file"
  zipfile.BadZipfile: File is not a zip file

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/506431/+subscriptions