tiny_sxw2rml error bad zipfile on windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
Stephane Wirtel (OpenERP) |
Bug Description
os : vista
openerp 5.0.7 of today
python 2.5-2
reportlab 2.3
libxml2-
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\
ard\tiny_
result = sxw2rml(f, xsl, output=opt.output, save_pict=False)
File "C:\Program Files\OpenERP AllInOne\
ard\tiny_
res = tool.unpackNorm
File "C:\Program Files\OpenERP AllInOne\
ard\tiny_
c,s = self.oo_
File "C:\Program Files\OpenERP AllInOne\
ard\tiny_
z = zipfile.
File "C:\Python25\
self._GetContents()
File "C:\Python25\
self._RealGetCo
File "C:\Python25\
raise BadZipfile, "File is not a zip file"
zipfile.BadZipfile: File is not a zip file
Related branches
Changed in openobject-addons: | |
milestone: | none → 5.0.8 |
importance: | Undecided → High |
status: | New → Confirmed |
importance: | High → Low |
assignee: | nobody → Stephane (Open ERP) (stephane-openerp) |
status: | Confirmed → Fix Released |
security vulnerability: | no → yes |
security vulnerability: | yes → no |
solution to fix the problem : openobject. com/forum/ post49385. html#49385
http://
comment line f = StringIO. StringIO( file(fname) .read() )
add line f = fname
Is it totally usuable in all case ?