← Back to team overview

openerp-india team mailing list archive

[Bug 1122895] Re: ValueError: need more than 6 values to unpack

 

Same problem here and it seems to be generated by aeroo report.

In the file "report_aeroo/translate.py" there is an
"extend_trans_generate" function and in line 68 the tuple "tuple" has
only 5 elements:

    def push_translation(module, type, name, id, source):
        tuple = (module, source, name, id, type)

while, in the openerp server file "openerp/tools/translate.py" the
corresponding code is:

    def push_translation(module, type, name, id, source, comments=None):
        tuple = (module, source, name, id, type, comments or [])

Enrico.

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

Title:
  ValueError: need more than 6 values to unpack

Status in OpenERP Server:
  Incomplete

Bug description:
  OpenERP 7

  translate.py (line: #453).

  For loop has seven values. Source of for loop 'rows' has six.

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


References