← Back to team overview

openerp-india team mailing list archive

[Bug 904236] Re: Database can not created after import/put a zip file(module) into our addons directory

 

Hello,

This problem is still persist, But I have applied the patch of
lp:911603, which described the same problem (Will duplicate it).

Those patch is correct and it's working fine, So I requesting that on
the fixing time please consider the  lp:911603 's patch.

Thanks for understanding!

** Changed in: openobject-server
   Importance: Low => Medium

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