← Back to team overview

openerp-india team mailing list archive

[Bug 933542] Re: gunicorn launching Failed

 

Hi,

I face this issue.

===
Invalid value for post_request: <function post_request at 0x2368488>

Traceback (most recent call last):
  File "/usr/bin/gunicorn", line 9, in <module>
    load_entry_point('gunicorn==0.11.2', 'console_scripts', 'gunicorn')()
  File "/usr/lib/pymodules/python2.7/gunicorn/app/wsgiapp.py", line 32, in run
    WSGIApplication("%prog [OPTIONS] APP_MODULE").run()
  File "/usr/lib/pymodules/python2.7/gunicorn/app/base.py", line 36, in __init__
    self.load_config()
  File "/usr/lib/pymodules/python2.7/gunicorn/app/base.py", line 75, in load_config
    self.cfg.set(k.lower(), v)
  File "/usr/lib/pymodules/python2.7/gunicorn/config.py", line 54, in set
    self.settings[name].set(value)
  File "/usr/lib/pymodules/python2.7/gunicorn/config.py", line 179, in set
    self.value = self.validator(val)
  File "/usr/lib/pymodules/python2.7/gunicorn/config.py", line 22, in _wrapped
    return func(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/gunicorn/config.py", line 215, in _validate_callable
    raise TypeError("Value must have an arity of: %s" % arity)
TypeError: Value must have an arity of: 2
===

Thanks,

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

Title:
  gunicorn launching Failed

Status in OpenERP Server:
  Invalid

Bug description:
  since my last pull of the trunk branch
   
  i have an error on launching openerp gunicorn.

  before launching the server with gunicorn work correctly.

  command : gunicorn openerp:wsgi.application -c gunicorn.conf.py

  Failed to read config file: gunicorn.conf.py
  Traceback (most recent call last):
    File "/usr/local/lib/python2.6/dist-packages/gunicorn-0.13.4-py2.6.egg/gunicorn/app/base.py", line 65, in load_config
      execfile(opts.config, cfg, cfg)
    File "gunicorn.conf.py", line 27, in <module>
      on_starting = openerp.wsgi.on_starting
  AttributeError: 'module' object has no attribute 'on_starting'

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


References