← Back to team overview

openerp-india team mailing list archive

[Bug 1091227] Re: [V7.0 beta] language export causes Server Error

 

Hello,

I have checked your issue with openerp_7.0_beta.deb on Ubuntu 12.04 , as
you give details in your report , But I did not face any problem with
translation. So, Would you please provide proper steps to reproduce your
issue.For More Information I have attached video.

Thank you..

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

Title:
  [V7.0 beta] language export causes Server Error

Status in OpenERP Server:
  Incomplete

Bug description:
  Doesn`t matter with or without module transalations, or empty language file. Always following error comes up:
  (It is on a new installation under Ubuntu 12.4 LTSP, AMD 64)

  OpenERP Server Error

  Client Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 192, in dispatch
      response["result"] = method(self, **self.params)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1225, in call_button
      action = self.call_common(req, model, method, args, domain_id, context_id)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1159, in call_common
      return self._call_kw(req, model, method, args, {})
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1183, in _call_kw
      return getattr(req.session.model(model), method)(*args, **kwargs)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 42, in proxy
      result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 30, in proxy_method
      result = self.session.send(self.service_name, method, *args)
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 105, in send
      raise xmlrpclib.Fault(openerp.tools.exception_to_unicode(e), formatted_info)

  
  Server Traceback (most recent call last):
    File "/usr/lib/pymodules/python2.7/openerp/addons/web/session.py", line 91, in send
      return openerp.netsvc.dispatch_rpc(service_name, method, args)
    File "/usr/lib/pymodules/python2.7/openerp/netsvc.py", line 361, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/usr/lib/pymodules/python2.7/openerp/service/web_services.py", line 596, in dispatch
      res = fn(db, uid, *params)
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 167, in execute_kw
      return self.execute(db, uid, obj, method, *args, **kw or {})
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/usr/lib/pymodules/python2.7/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/usr/lib/pymodules/python2.7/openerp/addons/base/module/wizard/base_export_language.py", line 64, in act_getfile
      tools.trans_export(lang, mods, buf, this.format, cr)
    File "/usr/lib/pymodules/python2.7/openerp/tools/translate.py", line 482, in trans_export
      translations = trans_generate(lang, modules, cr)
    File "/usr/lib/pymodules/python2.7/openerp/tools/translate.py", line 853, in trans_generate
      babel_extract_terms(fname, path, root, trans_type='report')
    File "/usr/lib/pymodules/python2.7/openerp/tools/translate.py", line 841, in babel_extract_terms
      keywords=extract_keywords):
    File "/usr/lib/python2.7/dist-packages/babel/messages/extract.py", line 275, in extract
      for lineno, funcname, messages, comments in results:
    File "/usr/lib/python2.7/dist-packages/babel/messages/extract.py", line 351, in extract_python
      for tok, value, (lineno, _), _, _ in tokens:
    File "/usr/lib/python2.7/tokenize.py", line 351, in generate_tokens
      ("<tokenize>", lnum, pos, line))
    File "<tokenize>", line 19
      ${css}
     ^
  IndentationError: unindent does not match any outer indentation level

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


References