openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #03448
[Bug 904236] Re: Server crash during db creation
Hello Naresh,
This bug is reproducible in all version so I am wrong on my comment#1 is
that "It is version specific".\
But exact issue is not that, I have again reproduce this same issue with
all version which steps are below.
1) Create one module and also create this module's zip file.
2) Put this file in to your addons directory or try to import module and see this zip module now appears in your addons directory.
3) Try to create a new database you will faced the above error.
So according to this precious steps I am reopening this bug.
Thank you!
** Summary changed:
- Server crash during db creation
+ Database can not created after import/put a zip file(module) into our addons directory
** Changed in: openobject-server
Importance: Undecided => Low
** Changed in: openobject-server
Status: Invalid => Confirmed
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
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:
Confirmed
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