← Back to team overview

credativ team mailing list archive

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

 

I just have exactly the same problem.
Please! need help!

[2011-12-15 17:00:54,919][test] CRITICAL:init:Couldn't load module email_template
[2011-12-15 17:00:54,919][test] CRITICAL:init:Settings already configured.

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Addons.
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