openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #23676
[Bug 1129341] Re: Error when export translation 7.0
Do you use translation in Aeroo report ?
I commented out this in translate.py on aeroo. I have to report bug on
aeroo because they screw default translation method that change in 7.0.
@@ -349,5 +350,5 @@ def extend_trans_generate(lang, modules, cr):
return out
import sys
-sys.modules['tools.translate'].trans_generate = extend_trans_generate
+#sys.modules['tools.translate'].trans_generate = extend_trans_generate
It's not an OpenERP bug but an aeroo report bug for 7.0 branch .
--
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/1129341
Title:
Error when export translation 7.0
Status in OpenERP Server:
Invalid
Bug description:
When I try to export a translation from OpenERP 7.0, I receive this
error:
---------------------------------------------------------------------------------------------------------------------------------
Client Traceback (most recent call last):
File "/home/opencode/openerp/7/web/addons/web/http.py", line 195, in dispatch
response["result"] = method(self, **self.params)
File "/home/opencode/openerp/7/web/addons/web/controllers/main.py", line 1083, in call_button
action = self._call_kw(req, model, method, args, {})
File "/home/opencode/openerp/7/web/addons/web/controllers/main.py", line 1071, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "/home/opencode/openerp/7/web/addons/web/session.py", line 43, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "/home/opencode/openerp/7/web/addons/web/session.py", line 31, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "/home/opencode/openerp/7/web/addons/web/session.py", line 104, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "/home/opencode/openerp/7/web/addons/web/session.py", line 90, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "/home/opencode/openerp/7/server/openerp/netsvc.py", line 295, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/opencode/openerp/7/server/openerp/service/web_services.py", line 614, in dispatch
res = fn(db, uid, *params)
File "/home/opencode/openerp/7/server/openerp/osv/osv.py", line 169, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "/home/opencode/openerp/7/server/openerp/osv/osv.py", line 123, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/opencode/openerp/7/server/openerp/osv/osv.py", line 179, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/opencode/openerp/7/server/openerp/osv/osv.py", line 166, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/opencode/openerp/7/server/openerp/addons/base/module/wizard/base_export_language.py", line 65, in act_getfile
tools.trans_export(lang, mods, buf, this.format, cr)
File "/home/opencode/openerp/7/server/openerp/tools/translate.py", line 498, in trans_export
_process(format, modules, translations, buffer, lang)
File "/home/opencode/openerp/7/server/openerp/tools/translate.py", line 453, in _process
for module, type, name, res_id, src, trad, comments in rows:
ValueError: need more than 6 values to unpack
---------------------------------------------------------------------------------------------------------------------------------
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1129341/+subscriptions
References