I found error when I deploy this patch (http://v6apps.openerp.com/addon/8563)

Bug #1099078 reported by samrain on 2013-01-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openerp-china
Undecided
Unassigned

Bug Description

my server is Ubuntu64bit 1210.

When I deploy this patch, the OE show error :

OpenERP Server Error
Client Traceback (most recent call last):
  File "/usr/share/openerp/addons/web/common/http.py", line 180, in dispatch
    response["result"] = method(controller, self, **self.params)
  File "/usr/share/openerp/addons/web/controllers/main.py", line 1004, in call_button
    action = self.call_common(req, model, method, args, domain_id, context_id)
  File "/usr/share/openerp/addons/web/controllers/main.py", line 948, in call_common
    return self._call_kw(req, model, method, args, {})
  File "/usr/share/openerp/addons/web/controllers/main.py", line 962, in _call_kw
    return getattr(req.session.model(model), method)(*args, **kwargs)
  File "/usr/share/openerp/addons/web/common/openerplib/main.py", line 250, in proxy
    args, kw)
  File "/usr/share/openerp/addons/web/common/openerplib/main.py", line 117, in proxy
    result = self.connector.send(self.service_name, method, *args)
  File "/usr/share/openerp/addons/web/common/http.py", line 611, in send
    raise fault

Server Traceback (most recent call last):
  File "/usr/share/openerp/addons/web/common/http.py", line 592, in send
    result = openerp.netsvc.dispatch_rpc(service_name, method, args)
  File "/usr/share/openerp/netsvc.py", line 360, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/usr/share/openerp/service/web_services.py", line 572, in dispatch
    res = fn(db, uid, *params)
  File "/usr/share/openerp/osv/osv.py", line 167, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/usr/share/openerp/osv/osv.py", line 121, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/share/openerp/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/share/openerp/osv/osv.py", line 164, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/share/openerp/addons/base/res/res_config.py", line 120, in action_next
    next = self.execute(cr, uid, ids, context=context)
  File "/usr/share/openerp/addons/oecn_base_fonts/oecn_base_fonts_config.py", line 153, in execute
    new_font_rml = '<setFont name="'+o.map_ids[0].name+'" '
IndexError: list index out of range

Joshua Jan(SHINEIT) (joshuajan) wrote :

Hi samrain,
   Thanks your report. I think it`s already be fix in http://bazaar.launchpad.net/~openerp-chinese-team/openerp-china/7.0/revision/31

Changed in openerp-china:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers