openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #06499
[Bug 904236] Re: Database can not created after import/put a zip file(module) into our addons directory
As mentioned by chris this is fixed in 4003
revid:xmo@xxxxxxxxxxx-20120202154532-tq9x07ujf0bn9mcp remove
contextmanger
** Changed in: openobject-server
Status: Confirmed => 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/904236
Title:
Database can not created after import/put a zip file(module) into our
addons directory
Status in OpenERP Server:
Fix Released
Bug description:
When I am going to create new db with latest server code.
[2011-12-14 12:52:09,991][?] INFO:server:OpenERP server is running, waiting for connections...
[2011-12-14 12:52:09,991][?] INFO:wsgi:HTTP service (werkzeug) running on 0.0.0.0:8069
[2011-12-14 12:52:31,979][template1] INFO:db.create:CREATE DATABASE picking11
[2011-12-14 12:52:35,446][picking11] ERROR:db.create:CREATE DATABASE failed:
Traceback (most recent call last):
File "/home/tiny/sources/openobject-server/openerp/service/web_services.py", line 60, in _initialize_db
openerp.modules.db.initialize(cr) # TODO this should be removed as it is done by pooler.restart_pool.
File "/home/tiny/sources/openobject-server/openerp/modules/db.py", line 61, in initialize
info = openerp.modules.load_information_from_description_file(i)
File "/home/tiny/sources/openobject-server/openerp/modules/module.py", line 262, in load_information_from_description_file
with tools.file_open(terp_file) as terp_f:
AttributeError: 'cStringIO.StringO' object has no attribute '__exit__'
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/904236/+subscriptions
References