Skip to content

Instantly share code, notes, and snippets.

@ovnicraft
Created June 17, 2013 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ovnicraft/5794916 to your computer and use it in GitHub Desktop.
Save ovnicraft/5794916 to your computer and use it in GitHub Desktop.
dont pass token in super() call
Traceback (most recent call last):
File "/home/ovnicraft/dev/openerp/61/web/addons/web/common/http.py", line 260, in dispatch
r = method(controller, self, **self.params)
File "/home/ovnicraft/dev/openerp/61/web-addons-report-name/web_report_name/controllers.py", line 19, in index
res = super(FileNameReports, self).index(req, action)
File "/home/ovnicraft/dev/openerp/61/web/addons/web/common/http.py", line 327, in http_handler
return HttpRequest(request, config).dispatch(controller, f)
File "/home/ovnicraft/dev/openerp/61/web/addons/web/common/http.py", line 248, in dispatch
params = dict(self.httprequest.args)
AttributeError: 'HttpRequest' object has no attribute 'args'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment