gtk.Eventbox.set_tooltip_markup error on GTK client

Bug #271616 reported by Jay Vora (Serpent Consulting Services)
2
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Fix Released
Undecided
Unassigned

Bug Description

when I try to create a new database, after selecting profile('minimal or service' whtever),
it crashes and the client gives me this error.

Provided, i hv installed python-gtk-1.2

Traceback (most recent call last):
  File "/home/jvo/ws_bazaar/client/bin/modules/gui/main.py", line 411, in progress_timeout
    id = self.terp_main.sig_win_menu(quiet=False)
  File "/home/jvo/ws_bazaar/client/bin/modules/gui/main.py", line 847, in sig_win_menu
    res = self.sig_win_new(widget, type='menu_id', quiet=quiet)
  File "/home/jvo/ws_bazaar/client/bin/modules/gui/main.py", line 874, in sig_win_new
    win = obj.execute(act_id, {'window':self.window})
  File "/home/jvo/ws_bazaar/client/bin/modules/action/main.py", line 89, in execute
    self._exec_action(res,datas,context)
  File "/home/jvo/ws_bazaar/client/bin/modules/action/main.py", line 150, in _exec_action
    wizard.execute(action['wiz_name'], datas, parent=win, context=context)
  File "/home/jvo/ws_bazaar/client/bin/modules/action/wizard.py", line 210, in execute
    dia = dialog(res['arch'], res['fields'], res['state'], action, parent)
  File "/home/jvo/ws_bazaar/client/bin/modules/action/wizard.py", line 75, in __init__
    self.screen.add_view_custom(arch, fields, display=True)
  File "/home/jvo/ws_bazaar/client/bin/widget/screen/screen.py", line 273, in add_view_custom
    return self.add_view(arch, fields, display, True, toolbar=toolbar)
  File "/home/jvo/ws_bazaar/client/bin/widget/screen/screen.py", line 328, in add_view
    view = parser.parse(self, dom, self.fields, toolbar=toolbar)
  File "/home/jvo/ws_bazaar/client/bin/widget/view/widget_parse.py", line 70, in parse
    node, fields)
  File "/home/jvo/ws_bazaar/client/bin/widget/view/form_gtk/parser.py", line 409, in parse
    widget, widgets, saws, on_write = self.parse(model, node, fields, tooltips=self.tooltips)
  File "/home/jvo/ws_bazaar/client/bin/widget/view/form_gtk/parser.py", line 397, in parse
    container.wid_add(widget_act.widget, label, expand, translate=fields[name].get('translate',False), colspan=size, fname=name, help=hlp, fill=fill)
  File "/home/jvo/ws_bazaar/client/bin/widget/view/form_gtk/parser.py", line 221, in wid_add
    eb.set_tooltip_markup('<span foreground=\"darkred\"><b>'+tools.to_xml(name)+'</b></span>\n'+tools.to_xml(help))
AttributeError: 'gtk.EventBox' object has no attribute 'set_tooltip_markup'

the only way i found to correct was, to comment the line and go forth.

description: updated
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Thanks Mr. Fabien

Changed in openobject-client:
status: New → Fix Committed
Changed in openobject-client:
status: Fix Committed → 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.