problems exporting translation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello, in my, today updated, OpenERP 7 on Ubuntu 12.04, when exporting translation of any module I have this error:
OpenERP Server Error
Client Traceback (most recent call last):
File "/home/
response[
File "/home/
action = self._call_kw(req, model, method, args, {})
File "/home/
return getattr(
File "/home/
result = self.proxy.
File "/home/
result = self.session.
File "/home/
raise xmlrpclib.
Server Traceback (most recent call last):
File "/home/
return openerp.
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
tools.
File "/home/
_process(
File "/home/
for module, type, name, res_id, src, trad, comments in rows:
ValueError: need more than 6 values to unpack
Thanks
Nicola
description: | updated |
Debugging line: lp7/openerp/ openerp/ tools/translate .py(453) _process( )
> /home/thebrush/
In this loop:
-> for module, type, name, res_id, src, trad, comments in rows:
This is the error:
ValueError: 'need more than 6 values to unpack'
This is rows content of my (little) module: quotation_ report' , 'field', 'sale.order, deadline_ order', 0, 'Deadline', 'Deadline'], ['sale_ quotation_ report' , 'report', 'addons/ sale_quotation_ report/ report/ sale_webkit. mako', 86, 'Dear', 'Dear'], ['sale_ quotation_ report' , 'report', 'addons/ sale_quotation_ report/ report/ sale_webkit. mako', 92, 'Invoice address', 'Invoice address'], ['sale_ quotation_ report' , 'sql_constraint', 'sale.order', 0, 'Order Reference must be unique per Company!', 'Il Riferimento Ordine deve essere unico per azienda!'], ['sale_ quotation_ report' , 'model', 'ir.actions. report. xml,name' , 'sale_quotation _report. webkit_ bom_line_ report' , 'Quotation report', 'Quotation report'], ['sale_ quotation_ report' , 'model', 'ir.actions. report. xml,name' , 'sale_quotation _report. webkit_ sale_quotation_ report' , 'Quotation report', 'Quotation report'], ['sale_ quotation_ report' , 'model', 'ir.model,name', 'sale_quotation _report. model_sale_ order', 'Sales Order', 'Ordine di vendita'], ['sale_ quotation_ report' , 'report', 'addons/ sale_quotation_ report/ report/ sale_webkit. mako', 81, 'Shipping address', 'Shipping address']]
[['module', 'type', 'name', 'res_id', 'src', 'value'], ['sale_
so in my list there's not "comment" field to unpack