← Back to team overview

credativ team mailing list archive

[Bug 904236] [NEW] Server crash during db creation

 

Public bug reported:

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

** Affects: openobject-server
     Importance: Undecided
         Status: New

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

Title:
  Server crash during db creation

Status in OpenERP Server:
  New

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


Follow ups

References