c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #01520
[Bug 666463] Re: [trunk] crashes when missing __openerp__.py
** Changed in: openobject-server
Milestone: None => 6.0-rc2
--
[trunk] crashes when missing __openerp__.py
https://bugs.launchpad.net/bugs/666463
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Invalid
Bug description:
When creating a new database, if files __openerp__.py or __terp__.py are missing, the server crashes with no error reported to the user. This happens when a folder is created in the addons folder, but serves for other things like code source management. By example, bazaar creates a folder named .bzr
/server/bin/addons/__init__.py
Line 315:
- if description_file:
+ if description_file and os.path.isfile(description_file):
return eval(tools.file_open(description_file).read())
References