-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in controllers.py #1
Comments
Can you please try with our latest module. We have made some changes. We where unable to reproduce the error. |
I want to install this module in odoo 8.0 but facing a problem. below is the error code I am recieving when I update the module list. |
[FIX] PEP8 [IMP] Modify header, Add footer
This module work for pdf if in controllers.py line 177
you change
('Content-Type', self.content_type)],
by
('Content-Type', self.content_type())],
else I obtain this error
2014-02-20 11:58:49,844 22252 ERROR fiefv70 werkzeug: Error on request:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.9.1-py2.7.egg/werkzeug/serving.py", line 177, in run_wsgi
execute(self.server.app)
File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.9.1-py2.7.egg/werkzeug/serving.py", line 165, in execute
application_iter = app(environ, start_response)
File "/mnt/uniforme_data/openerp/7.0/server/openerp/service/wsgi_server.py", line 417, in application
return application_unproxied(environ, start_response)
File "/mnt/uniforme_data/openerp/7.0/server/openerp/service/wsgi_server.py", line 403, in application_unproxied
result = handler(environ, start_response)
File "/mnt/uniforme_data/openerp/7.0/web/addons/web/http.py", line 528, in call
return self.dispatch(environ, start_response)
File "/mnt/uniforme_data/openerp/7.0/web/addons/web/http.py", line 487, in call
return self.app(environ, start_wrapped)
File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.9.1-py2.7.egg/werkzeug/wsgi.py", line 579, in call
return self.app(environ, start_response)
File "/mnt/uniforme_data/openerp/7.0/web/addons/web/http.py", line 564, in dispatch
return response(environ, start_response)
File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.9.1-py2.7.egg/werkzeug/wrappers.py", line 1168, in call
app_iter, status, headers = self.get_wsgi_response(environ)
File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.9.1-py2.7.egg/werkzeug/wrappers.py", line 1158, in get_wsgi_response
return app_iter, self.status, headers.to_wsgi_list()
File "/usr/local/lib/python2.7/dist-packages/Werkzeug-0.9.1-py2.7.egg/werkzeug/datastructures.py", line 1185, in to_wsgi_list
return [(k, v.encode('latin1')) for k, v in self]
AttributeError: 'function' object has no attribute 'encode'
The text was updated successfully, but these errors were encountered: