Tryton - Issues



Title Creating a board view with a form inside crashes the client
Priority bug Status closed
Superseder Nosy List albertca, ced, pokoli, resteve, sergi-nan
Type crash Components tryton
Assigned To Keywords

Created on 2017-02-23.10:04:04 by sergi-nan, last changed by pokoli.

File name Uploaded Type Edit Remove
board_view_crash.tar.gz sergi-nan, 2017-02-23.10:04:03 application/gzip
msg34423 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2017-07-04.14:29:03
Can not be backported as it's a new feature.
msg34422 (view) Author: [hidden] (resteve) Date: 2017-07-04.14:24:55
It's fix with changeset be3038036448 ( issue5918 ) and done >= 4.2. Need to backport 4.0, 3.8... etc
msg32804 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2017-03-27.11:48:05
I'm marking it as invalid as no more info have been provided for one month. 

Reopen if you don't agree.
msg32314 (view) Author: [hidden] (pokoli) (Tryton committer) (Tryton translator) Date: 2017-03-07.13:11:04
I can not reproduce on trunk using a similar board view (which contaings hpaned and two children actions as your view). I can not test with your code as I'm missing the pareent field on productions? Is this module avaiable somewhere? 

On which version have you found it?
msg32145 (view) Author: [hidden] (sergi-nan) Date: 2017-02-23.11:47:35
The traceback is inside the attached file with the name bug_client_board.txt

Anyways, here it is:
ERROR:tryton.common.common:Traceback (most recent call last):
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_form/view/", line 974, in __sig_switch
    if not self.screen.row_activate() and self.children_field:
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_form/screen/", line 429, in default_row_activate
    }, context=self.context.copy(), warning=False)
  File "/home/sergi/projectes/phoenix/tryton/tryton/action/", line 166, in exec_keyword
    Action._exec_action(action, data, context=context)
  File "/home/sergi/projectes/phoenix/tryton/tryton/action/", line 129, in _exec_action
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/", line 38, in create
    context=context, name=name)
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/", line 49, in __init__
    self.board = ViewBoard(view['arch'], context=context)
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_board/", line 28, in __init__
    self.widget = self.parse(node).table
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_board/", line 47, in parse
    parser(node, container, node_attrs)
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_board/", line 136, in _parse_hpaned
    self._parse_paned(node, container, attributes, gtk.HPaned)
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_board/", line 133, in _parse_paned
    self.parse(node, paned)
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_board/", line 47, in parse
    parser(node, container, node_attrs)
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_board/", line 142, in _parse_child
    container = self.parse(node)
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_board/", line 47, in parse
    parser(node, container, node_attrs)
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_board/", line 152, in _parse_action
    action = Action(attributes, self.context)
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_board/", line 90, in __init__
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_form/screen/", line 263, in search_filter
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_form/view/", line 335, in set_text
  File "/home/sergi/projectes/phoenix/tryton/tryton/gui/window/view_form/view/", line 350, in bookmark_match
    current_domain = self.screen.domain_parser.parse(current_text)
AttributeError: 'ScreenContainer' object has no attribute 'screen'

'ScreenContainer' object has no attribute 'screen'
msg32142 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2017-02-23.10:48:40
Could you provide the traceback?
msg32141 (view) Author: [hidden] (sergi-nan) Date: 2017-02-23.10:04:03
When creating a board view, and using a form view inside of it, the client unexpectedly crashes.

I've attached both the traceback and my views in a .zip file.
Date User Action Args
2017-07-04 14:29:03pokolisetstatus: chatting -> closed
messages: + msg34423
2017-07-04 14:24:56restevesetstatus: invalid -> chatting
nosy: + resteve
messages: + msg34422
2017-03-27 11:48:05pokolisetstatus: need-eg -> invalid
messages: + msg32804
2017-03-07 13:11:05pokolisetstatus: chatting -> need-eg
nosy: + pokoli
messages: + msg32314
2017-03-01 13:46:01cedsetstatus: need-eg -> chatting
2017-02-23 11:47:35sergi-nansetmessages: + msg32145
2017-02-23 10:48:40cedsetstatus: chatting -> need-eg
nosy: + ced
messages: + msg32142
2017-02-23 10:04:04sergi-nancreate

Showing 10 items. Show all history (warning: this could be VERY long)