Tryton - Issues

 

Issue4549

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
Reviews

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

Messages
New changeset 24b737e23683 by C?dric Krier in branch '3.0':
Backed out changeset 1deb56416337
http://hg.tryton.org/tryton/rev/24b737e23683

New changeset 741aa38ec842 by C?dric Krier in branch '2.8':
Backed out changeset 0dd8bde63330
http://hg.tryton.org/tryton/rev/741aa38ec842
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/list.py", 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/screen.py", line 344, in default_row_activate
    self.switch_view(view_type='form')

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/screen.py", line 380, in switch_view
    self.display()

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/screen/screen.py", 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/screen.py", line 305, in __set_current_record
    self.search_count, record and record.id))

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

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/form.py", line 439, in _record_message
    self.activate_save()

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/form.py", 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/screen.py", line 544, in modified
    if self.current_view.modified:

  File "/home/ccr/Documents/Applications/Tryton/tryton-3.0/tryton/gui/window/view_form/view/form.py", 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/form.py", 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/reference.py", 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/reference.py", line 40, in get_empty_value
    for name, model in self.widget_combo.get_model():
History
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

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