← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 636905] Re: server 5.0: IOError: File not found for empty filename on module loading / upgrading (patch provided)

 

Hello Xavier,

To pass empty update_xml always use 'update_xml' : [] instead of
'update_xml': [ '' ].

Thanks.

** Changed in: openobject-server
       Status: New => Invalid

-- 
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/636905

Title:
  server 5.0: IOError: File not found for empty filename on module loading / upgrading (patch provided)

Status in OpenObject Server:
  Invalid

Bug description:
  Hi,

In case you get a __terp__.py file like this:

{
...
 'update_xml': [ '' ],
...
}

The empty filename '' isconsidered valid, and openerp try to open this file, which finally get to a 'IOError'. The server should not try to load empty filename. See patch attached.