Tryton - Issues



Title GTK-Client. Invalid tree path '0'
Priority bug Status unread
Superseder Nosy List hbrandes
Type crash Components tryton
Assigned To Keywords

Created on 2018-11-25.15:24:28 by hbrandes, last changed by hbrandes.

msg45008 (view) Author: [hidden] (hbrandes) Date: 2018-11-25.15:24:27
Sometimes, when editing a formular and want to get back to the list, the GTK-client ( 5.0.2 ) creates an error: 'Invalid tree path 0'. The Stracktrace:

  File "/opt/projekte/Tryton/tryton5.0/tryton-5.0.0/tryton/gui/window/", line 198, in sig_switch
    if not self.modified_save():
  File "/opt/projekte/Tryton/tryton5.0/tryton-5.0.0/tryton/gui/window/", line 500, in modified_save
  File "/opt/projekte/Tryton/tryton5.0/tryton-5.0.0/tryton/gui/window/view_form/screen/", line 842, in save_tree_state
  File "/opt/projekte/Tryton/tryton5.0/tryton-5.0.0/tryton/gui/window/view_form/screen/", line 852, in save_tree_state
    selected_paths = view.get_selected_paths()
  File "/opt/projekte/Tryton/tryton5.0/tryton-5.0.0/tryton/gui/window/view_form/view/", line 1171, in get_selected_paths
    iter_ = model.get_iter(path)
  File "/usr/lib64/python3.7/site-packages/gi/overrides/", line 874, in get_iter
    raise ValueError("invalid tree path '%s'" % path)
Date User Action Args
2018-11-25 15:24:28hbrandescreate

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