*** This bug is a duplicate of bug 904236 ***
    https://bugs.launchpad.net/bugs/904236

** This bug has been marked a duplicate of bug 904236
   Database can not created after import/put a zip file(module) into our addons 
directory

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/925447

Title:
  [trunk] Database creation fails: AttributeError: __exit__

Status in OpenERP Server:
  New

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

_______________________________________________
Mailing list: https://launchpad.net/~openerp-expert-framework
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-expert-framework
More help   : https://help.launchpad.net/ListHelp

Reply via email to