Odoo Help


Internal Server error on exporting?

Michael Holding
on 6/9/13, 4:24 AM 1,760 views

Good morning,

I am getting an error on exporting product category. Please see the attached picture for details.

The standard line of code returned in the excel file is....

<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
{"message": "OpenERP WebClient Error" "code": 300 "data": {"debug": "Client Traceback (most recent call last):\n

File \"/opt/bitnami/apps/openerp/lib/openerp-7.0_20130508_231028-py2.7.egg/openerp/addons/web/http.py\" line 285 in dispatch\n
    r = method(self **self.params)\nTypeError: index() takes exactly 4 arguments (2 given)\n" "type": "client_exception"}}'

How do I fix this? I am I doing anything wrong?

Any help would be greatly appreciated.



| 5 4 7
Baarn, Netherlands
On 6/9/13, 7:53 PM

Looks like there is a custom module which extends / overrides a method index(). The error talks about 4 parameters give, 2 expected, meaning that the method expects 4 parameters, but is receiving only 2 parameters.

Is the given stacktrace the complete error from the logfiles? There might be some more info regarding the original module which caused the issue.

Or can you tell us which module(s) you customized yourself, or have installed from internet?

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 6/9/13, 4:24 AM
Seen: 1760 times
Last updated: 3/16/15, 8:10 AM