← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 741536] Re: [trunk] email_template RuntimeError: settings already configured

 

In my case it seams some problem releated to poweremail or caldav, can figure it out. 
I have start the database succesfuly changing addons_path = None on the config file

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/741536

Title:
  [trunk] email_template RuntimeError: settings already configured

Status in OpenERP Addons (modules):
  Invalid

Bug description:
  While openerp server init:

  TinyError: Traceback (most recent call last):
    File "/home/kodemi/src/openerp6/server/openerp/netsvc.py", line 410, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/kodemi/src/openerp6/server/openerp/service/web_services.py", line 595, in dispatch
      security.check(db,uid,passwd)
    File "/home/kodemi/src/openerp6/server/openerp/service/security.py", line 43, in check
      pool = pooler.get_pool(db)
    File "/home/kodemi/src/openerp6/server/openerp/pooler.py", line 79, in get_pool
      pool = get_db_and_pool(db_name, force_demo, status, update_module)[1]
    File "/home/kodemi/src/openerp6/server/openerp/pooler.py", line 39, in get_db_and_pool
      addons.load_modules(db, force_demo, status, update_module)
    File "/home/kodemi/src/openerp6/server/openerp/addons/__init__.py", line 901, in load_modules
      processed_modules.extend(load_module_graph(cr, graph, status, report=report, skip_modules=processed_modules))
    File "/home/kodemi/src/openerp6/server/openerp/addons/__init__.py", line 726, in load_module_graph
      register_class(package.name)
    File "/home/kodemi/src/openerp6/server/openerp/addons/__init__.py", line 460, in register_class
      imp.load_module(m, *fm)
    File "/home/kodemi/src/openerp6/server/openerp/addons/email_template/__init__.py", line 24, in <module>
      import email_template
    File "/home/kodemi/src/openerp6/server/openerp/addons/email_template/email_template.py", line 45, in <module>
      settings.configure()
    File "/usr/local/lib/python2.6/dist-packages/django/conf/__init__.py", line 51, in configure
      raise RuntimeError('Settings already configured.')
  RuntimeError: Settings already configured.

  I have Django installed. And I didn't set any django-related
  environment variables.

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


References