ValueError: need more than 6 values to unpack

Bug #1122895 reported by C.T. Matsumoto
52
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Aeroo Reports
Fix Released
Medium
Unassigned
Odoo Server (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

OpenERP 7

translate.py (line: #453).

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

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :
Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello C.T. Matsumoto ,

I have checked this issue with latest code of 7.0 as well as Trunk
I did not face any problem with export translation ,
I have attached a screen shot for your information.

So would you please give more information regarding this issue.

Thanks and waiting for reply!

Changed in openobject-server:
status: New → Incomplete
Revision history for this message
Tomas Kucera (tku-h) wrote :

I have the same issue.

I have 7.0.1.0 on Ubuntu 12.04.02 x64. Clean installation with 2 custom modules, that I am working on. Adding features to account.invoice, res.partner, res.partner.bank. Also using Aeroo reporting. I had done this before and the translations worked fine.

There are two diferences now:
- Aeroo reporting
- selection type of one of the added fields to account.invoice

I think the Aeroo should not be an issue. I will try without the selection.

tom.+

Revision history for this message
Enrico Ganzaroli (enrico-gz) wrote :

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.

Revision history for this message
Jignesh Rathod(OpenERP) (jir-openerp) wrote :

Hello C.T. Matsumoto ,

I have checked this issue with latest code but I did not face any problem like
your , this issue is producible with report_aeroo.

"report_aeroo" module is a part of the extra-addons, which is
maintained by the another author. SO, Would you please contact to
related author of this module?

In the mean time, I am marking it as "Won't fix" to indicate that no
further progress is expected at the moment.

I hope you understand.

Thanks.

Changed in openobject-server:
status: Incomplete → Won't Fix
affects: openobject-server → aeroo
affects: aeroo → openobject-server
Changed in openobject-server:
status: Won't Fix → Invalid
Changed in aeroo:
status: New → Confirmed
importance: Undecided → Medium
Changed in aeroo:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.