Tryton - Issues

 

Issue7998

Title tryton client: '>=' not supported between instances of 'tuple' and 'int'
Priority bug Status resolved
Superseder Nosy List ced, reviewbot, rmu, roundup-bot
Type crash Components tryton
Assigned To ced Keywords Python3, review
Reviews 46801002
View: 46801002

Created on 2019-01-16.11:40:26 by rmu, last changed by roundup-bot.

Messages
New changeset 861772cd6789 by Cédric Krier in branch '5.0':
Avoid comparison between tuple and int in one2many position
https://hg.tryton.org/tryton/rev/861772cd6789
New changeset 090a01a5ed07 by Cédric Krier in branch 'default':
Avoid comparison between tuple and int in one2many position
https://hg.tryton.org/tryton-env/rev/090a01a5ed07
New changeset cc41325ecdea by Cédric Krier in branch 'default':
Avoid comparison between tuple and int in one2many position
https://hg.tryton.org/tryton/rev/cc41325ecdea
review46801002 updated at https://codereview.tryton.org/46801002/#ps1
msg47236 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-02-26.22:01:38
Here is review46801002, it is a bug with the upgrade to Python 3.
msg45978 (view) Author: [hidden] (rmu) Date: 2019-01-16.11:40:26
how to repdoruce: Open BOM Tree, click into tree.

Backtrace:

ERROR:tryton.common.common:  File "/home/test/tryton-5.0/lib/python3.6/site-packages/tryton/gui/window/view_form/view/list.py", line 974, in __select_changed
    self.screen.current_record = record
  File "/home/test/tryton-5.0/lib/python3.6/site-packages/tryton/gui/window/view_form/screen/screen.py", line 433, in __set_current_record
    self.search_count, record and record.id))
  File "/home/test/tryton-5.0/lib/python3.6/site-packages/tryton/signal_event.py", line 15, in signal
    fnct(self, signal_data, *data)
  File "/home/test/tryton-5.0/lib/python3.6/site-packages/tryton/gui/window/view_form/view/form_gtk/one2many.py", line 485, in _sig_label
    if self._position >= 1:

'>=' not supported between instances of 'tuple' and 'int'
History
Date User Action Args
2019-03-16 23:22:32roundup-botsetmessages: + msg47692
2019-03-08 18:46:11roundup-botsetmessages: + msg47492
2019-03-08 18:46:10roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg47491
2019-02-26 22:18:58reviewbotsetnosy: + reviewbot
messages: + msg47237
2019-02-26 22:01:38cedsetstatus: in-progress -> testing
reviews: 46801002
messages: + msg47236
keyword: + review
2019-02-26 21:40:52cedsetstatus: unread -> in-progress
assignedto: ced
keyword: + Python3
nosy: + ced
2019-02-26 21:38:42cedlinkissue7952 superseder
2019-01-16 11:40:26rmucreate