openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #07304
[Bug 925447] Re: [trunk] Database creation fails: AttributeError: __exit__
*** This bug is a duplicate of bug 904236 ***
https://bugs.launchpad.net/bugs/904236
** Changed in: openobject-server
Status: New => Fix Released
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/925447
Title:
[trunk] Database creation fails: AttributeError: __exit__
Status in OpenERP Server:
Fix Released
Bug description:
Hi!
Since I last updated my branches, I'm not able to create a DB anymore.
Here is the exception:
db.create:CREATE DATABASE failed:
Traceback (most recent call last):
File "/home/fde/repository/openobject-server_trunk/openerp/service/web_services.py", line 61, in _initialize_db
openerp.modules.db.initialize(cr) # TODO this should be removed as it is done by pooler.restart_pool.
File "/home/fde/repository/openobject-server_trunk/openerp/modules/db.py", line 61, in initialize
info = openerp.modules.load_information_from_description_file(i)
File "/home/fde/repository/openobject-server_trunk/openerp/modules/module.py", line 348, in load_information_from_description_file
with tools.file_open(terp_file) as terp_f:
AttributeError: __exit__
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/925447/+subscriptions
References