← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 389260] Re: Dia Export script codegen-openerp.py Unicode Path Bug Report

 

** Changed in: openobject-addons
       Status: New => Fix Released

-- 
Dia Export script codegen-openerp.py Unicode Path Bug Report
https://bugs.launchpad.net/bugs/389260
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Fix Released

Bug description:
Dia for Win32 (with python plugin)

To export dia file to openerp zip package. It's raised exception @line "  self.filename = filename" in codegen-openerp.py when export to a path include unicode char. 

Just fixed it like :

self.filename = filename.encode(sys.getfilesystemencoding())



mrshelly
2009/06/19