← Back to team overview

openerp-india team mailing list archive

[Bug 1293128] [NEW] [trunk] ir_http crashing caused by website module

 

Public bug reported:

>From openerp-8.0dev-20140311-000102 and up to latest (as of now
openerp-8.0dev-20140316-000101) ir_http in base (caused by website
module) crashes the entire application with the following error:

Traceback (most recent call last):
  File "/opt/openerp/instance/server/current/openerp/service/wsgi_server.py", line 362, in application
    return application_unproxied(environ, start_response)
  File "/opt/openerp/instance/server/current/openerp/service/wsgi_server.py", line 348, in application_unproxied
    result = handler(environ, start_response)
  File "/opt/openerp/instance/server/current/openerp/http.py", line 1016, in __call__
    return self.dispatch(environ, start_response)
  File "/opt/openerp/instance/server/current/openerp/http.py", line 995, in __call__
    return self.app(environ, start_wrapped)
  File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__
    return self.app(environ, start_response)
  File "/opt/openerp/instance/server/current/openerp/http.py", line 1148, in dispatch
    result = ir_http._dispatch()
  File "/opt/openerp/instance/server/current/openerp/addons/website/models/ir_http.py", line 64, in _dispatch
    return super(ir_http, self)._dispatch()
  File "/opt/openerp/instance/server/current/openerp/addons/base/ir/ir_http.py", line 108, in _dispatch
    processing = self._postprocess_args(arguments, rule)
TypeError: _postprocess_args() takes exactly 2 arguments (3 given)

This error is reproducible and can be caused by simply installing the
website module in 20140311-000102 and upwards. If the website module
isn't installed the application works fine.

Platform:
Ubuntu Server 13.10
Python 2.7.5+
uWSGI 2.0.2
Nginx 1.5.11

I would have debugged the error further but as of now I do not have any
deeper knowledge of OpenERP internals working..

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1293128

Title:
  [trunk] ir_http crashing caused by website module

Status in OpenERP Addons (modules):
  New

Bug description:
  From openerp-8.0dev-20140311-000102 and up to latest (as of now
  openerp-8.0dev-20140316-000101) ir_http in base (caused by website
  module) crashes the entire application with the following error:

  Traceback (most recent call last):
    File "/opt/openerp/instance/server/current/openerp/service/wsgi_server.py", line 362, in application
      return application_unproxied(environ, start_response)
    File "/opt/openerp/instance/server/current/openerp/service/wsgi_server.py", line 348, in application_unproxied
      result = handler(environ, start_response)
    File "/opt/openerp/instance/server/current/openerp/http.py", line 1016, in __call__
      return self.dispatch(environ, start_response)
    File "/opt/openerp/instance/server/current/openerp/http.py", line 995, in __call__
      return self.app(environ, start_wrapped)
    File "/usr/lib/python2.7/dist-packages/werkzeug/wsgi.py", line 579, in __call__
      return self.app(environ, start_response)
    File "/opt/openerp/instance/server/current/openerp/http.py", line 1148, in dispatch
      result = ir_http._dispatch()
    File "/opt/openerp/instance/server/current/openerp/addons/website/models/ir_http.py", line 64, in _dispatch
      return super(ir_http, self)._dispatch()
    File "/opt/openerp/instance/server/current/openerp/addons/base/ir/ir_http.py", line 108, in _dispatch
      processing = self._postprocess_args(arguments, rule)
  TypeError: _postprocess_args() takes exactly 2 arguments (3 given)

  This error is reproducible and can be caused by simply installing the
  website module in 20140311-000102 and upwards. If the website module
  isn't installed the application works fine.

  Platform:
  Ubuntu Server 13.10
  Python 2.7.5+
  uWSGI 2.0.2
  Nginx 1.5.11

  I would have debugged the error further but as of now I do not have
  any deeper knowledge of OpenERP internals working..

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


Follow ups

References