Tryton - Issues



Title Client error : need more than 1 value to unpack
Priority bug Status resolved
Superseder Nosy List 2cadz, ced, roundup-bot
Type crash Components tryton
Assigned To ced Keywords

Created on 2015-02-10.17:56:13 by 2cadz, last changed by roundup-bot.

New changeset 24b737e23683 by C?dric Krier in branch '3.0':
Backed out changeset 1deb56416337

New changeset 741aa38ec842 by C?dric Krier in branch '2.8':
Backed out changeset 0dd8bde63330
msg20175 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2015-02-12.09:56:31
Indeed the backport of changeset 1deb56416337 was wrong on <=3.0
So reverting it should fix the problem.
msg20174 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2015-02-12.09:52:23
It appears to happen only on version <=3.0
msg20150 (view) Author: [hidden] (2cadz) Date: 2015-02-10.17:56:11
In tryton 3.0 (I've not tested in 3.2 or 3.4) when I try to add an account move (Financial -> Entries -> Account Moves) without set the origin field (this field is not required), I have the following error message :

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/", line 740, in __sig_switch
    if not self.screen.row_activate() and self.children_field:

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/", line 344, in default_row_activate

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/", line 380, in switch_view

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/", line 719, in display
    self.current_record = self.current_record

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/", line 305, in __set_current_record
    self.search_count, record and

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/", line 14, in signal
    fnct(self, signal_data, *data)

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/", line 439, in _record_message

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/", line 486, in activate_save
    self.buttons['save'].props.sensitive = self.screen.modified()

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/", line 544, in modified
    if self.current_view.modified:

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/", line 102, in modified
    return any(w.modified for widgets in self.widgets.itervalues()

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/", line 103, in <genexpr>
    for w in widgets)

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/form_gtk/", line 60, in modified
    model, name = self.get_empty_value()

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/form_gtk/", line 40, in get_empty_value
    for name, model in self.widget_combo.get_model():
Date User Action Args
2015-02-14 18:18:52roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg20205
2015-02-12 09:56:31cedsetstatus: chatting -> testing
assignedto: ced
messages: + msg20175
2015-02-12 09:52:30cedsettype: crash
2015-02-12 09:52:23cedsetstatus: unread -> chatting
nosy: + ced
messages: + msg20174
2015-02-10 17:56:132cadzcreate