← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 881277] [NEW] [6.1 trunk] GTK client shuts down after successful login

 

Public bug reported:

hello,

After a painful upgrade to the latest code, I encounter the following
issue: while I am trying to connect to an updated db, the client shuts
down once the message (log) INFO:web-services:successful login from 'xx'
using database 'xx'

while starting from a terminal, I get the following traceback:

Traceback (most recent call last):
  File "./openerp-client.py", line 134, in <module>
    win.sig_login()
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/gui/main.py", line 1011, in sig_login
    self.sig_home_new(quiet=True, except_id=id)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/gui/main.py", line 1166, in sig_home_new
    except_id=except_id)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/gui/main.py", line 1154, in sig_win_new
    obj.execute(act_id, {'window':self.window})
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/action/main.py", line 82, in execute
    self._exec_action(res,datas,context)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/action/main.py", line 143, in _exec_action
    limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/gui/window/__init__.py", line 48, in create
    auto_refresh=auto_refresh, auto_search=auto_search, search_view=search_view)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/gui/window/form.py", line 75, in __init__
    show_search=True, window=self.window, limit=limit, readonly=bool(auto_refresh), auto_search=auto_search, search_view=search_view)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/screen/screen.py", line 134, in __init__
    view = self.add_view_id(view_id, view_type[0], help=help)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/screen/screen.py", line 594, in add_view_id
    toolbar=view.get('toolbar', False), submenu=view.get('submenu', False), name=view.get('name',False), context=context)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/screen/screen.py", line 640, in add_view
    view = parser.parse(self, root_node, self.fields, toolbar=toolbar, submenu=submenu, name=name, help=help)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/view/widget_parse.py", line 56, in parse
    wid, child, buttons, on_write = widget.parse(screen.resource, node, fields)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/view/form_gtk/parser.py", line 541, in parse
    _, widgets, saws, on_write = self.parse(model, node, fields, paned=hp)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/view/form_gtk/parser.py", line 556, in parse
    widget, widgets, saws, on_write = self.parse(model, node, fields, paned=paned)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/view/form_gtk/parser.py", line 573, in parse
    widget_act = action(self.window, self.parent, model, attrs)
  File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/view/form_gtk/action.py", line 46, in __init__
    raise Exception, 'ActionNotFound'
Exception: ActionNotFound


I found that this is due to "old" settings in the user for home page and/or action, and once I changed them to something from the selection everything works.

I would suggest that this kind of exception should be escaped somehow
with a message, the immediate client shutdown without any log info is at
least annoying...

thank you,
Bogdan

** Affects: openobject-client
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/881277

Title:
  [6.1 trunk] GTK client shuts down after successful login

Status in OpenERP GTK Client:
  New

Bug description:
  hello,

  After a painful upgrade to the latest code, I encounter the following
  issue: while I am trying to connect to an updated db, the client shuts
  down once the message (log) INFO:web-services:successful login from
  'xx' using database 'xx'

  while starting from a terminal, I get the following traceback:

  Traceback (most recent call last):
    File "./openerp-client.py", line 134, in <module>
      win.sig_login()
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/gui/main.py", line 1011, in sig_login
      self.sig_home_new(quiet=True, except_id=id)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/gui/main.py", line 1166, in sig_home_new
      except_id=except_id)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/gui/main.py", line 1154, in sig_win_new
      obj.execute(act_id, {'window':self.window})
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/action/main.py", line 82, in execute
      self._exec_action(res,datas,context)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/action/main.py", line 143, in _exec_action
      limit=datas['limit'], auto_refresh=datas['auto_refresh'], auto_search = datas['auto_search'], search_view = datas['search_view'])
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/gui/window/__init__.py", line 48, in create
      auto_refresh=auto_refresh, auto_search=auto_search, search_view=search_view)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/modules/gui/window/form.py", line 75, in __init__
      show_search=True, window=self.window, limit=limit, readonly=bool(auto_refresh), auto_search=auto_search, search_view=search_view)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/screen/screen.py", line 134, in __init__
      view = self.add_view_id(view_id, view_type[0], help=help)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/screen/screen.py", line 594, in add_view_id
      toolbar=view.get('toolbar', False), submenu=view.get('submenu', False), name=view.get('name',False), context=context)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/screen/screen.py", line 640, in add_view
      view = parser.parse(self, root_node, self.fields, toolbar=toolbar, submenu=submenu, name=name, help=help)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/view/widget_parse.py", line 56, in parse
      wid, child, buttons, on_write = widget.parse(screen.resource, node, fields)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/view/form_gtk/parser.py", line 541, in parse
      _, widgets, saws, on_write = self.parse(model, node, fields, paned=hp)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/view/form_gtk/parser.py", line 556, in parse
      widget, widgets, saws, on_write = self.parse(model, node, fields, paned=paned)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/view/form_gtk/parser.py", line 573, in parse
      widget_act = action(self.window, self.parent, model, attrs)
    File "/usr/local/lib/python2.7/dist-packages/openerp_client-6.1dev-py2.7.egg/openerp-client/widget/view/form_gtk/action.py", line 46, in __init__
      raise Exception, 'ActionNotFound'
  Exception: ActionNotFound

  
  I found that this is due to "old" settings in the user for home page and/or action, and once I changed them to something from the selection everything works.

  I would suggest that this kind of exception should be escaped somehow
  with a message, the immediate client shutdown without any log info is
  at least annoying...

  thank you,
  Bogdan

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


Follow ups

References