← Back to team overview

openerp-india team mailing list archive

[Bug 1006126] [NEW] KeyError: 'lang' on Database Creation

 

Public bug reported:

Hello,

With very recent rev 4181, there is a problem on database creation.

2012-05-29 21:03:42,897 1348 ERROR admin openerp.service.web_services: CREATE DATABASE failed:
Traceback (most recent call last):
  File "/home/romain/server6.1/openerp/service/web_services.py", line 65, in _initialize_db
    tools.config['lang'] = lang
  File "/home/romain/server6.1/openerp/tools/config.py", line 631, in __setitem__
    if isinstance(self.options[key], basestring) and self.casts[key].type in optparse.Option.TYPE_CHECKER:
KeyError: 'lang'
2012-05-29 21:03:43,597 1348 ERROR ? openerp.netsvc: lang

self.casts on line 627 doesn't have 'lang' key.

Romain

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

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

Title:
  KeyError: 'lang' on Database Creation

Status in OpenERP Server:
  New

Bug description:
  Hello,

  With very recent rev 4181, there is a problem on database creation.

  2012-05-29 21:03:42,897 1348 ERROR admin openerp.service.web_services: CREATE DATABASE failed:
  Traceback (most recent call last):
    File "/home/romain/server6.1/openerp/service/web_services.py", line 65, in _initialize_db
      tools.config['lang'] = lang
    File "/home/romain/server6.1/openerp/tools/config.py", line 631, in __setitem__
      if isinstance(self.options[key], basestring) and self.casts[key].type in optparse.Option.TYPE_CHECKER:
  KeyError: 'lang'
  2012-05-29 21:03:43,597 1348 ERROR ? openerp.netsvc: lang

  self.casts on line 627 doesn't have 'lang' key.

  Romain

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1006126/+subscriptions


Follow ups

References