Tryton - Issues



Title The tryton client 4.8.2 crash on a change of view with gtk < 3.22.22
Priority bug Status closed
Superseder Nosy List ced, tbruyere
Type Components tryton
Assigned To Keywords GTK3

Created on 2018-06-12.11:16:24 by tbruyere, last changed by ced.

msg47102 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2019-02-18.23:08:01
I think we can close this one as we are not responsible for the out dated libraries of Debian.
msg41566 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-06-21.10:24:20
I mark it as deferred. Have you report it to Debian, if so could you put the link for reference.
msg41383 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-06-12.14:48:24
I would say to request Debian to fix/update GTK package as it contains a bug.
msg41380 (view) Author: [hidden] (tbruyere) Date: 2018-06-12.13:17:34
My computer park is installed with "Debian Stable". I do not have the possibility (I think) to update the GTK library (libgtk debian package not available in backport).

How to run the tryton 4.8.2 client on a stable debian?
msg41376 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2018-06-12.11:50:18
For me, it is a bug in GTK+ that has been fixed in a bugfix release later. I do not see what we could do as there is no alternative to remove the image from the button.
The documenation of GTK+ states that this feature exist since 2.6:

Here is the fix in GTK tree:
msg41373 (view) Author: [hidden] (tbruyere) Date: 2018-06-12.11:16:23
The tryton client 4.8.2 crash on a change of view with gtk < 3.22.22

Tested on Debian Stretch with library gtk version 3.22.11


 0. Open Purchase Menu
 1. The draft list is empty.
 2. New
 3. Switch view
 4. Do you want to save it?
 5. No

File "tryton / tryton / common /", line 29, in _set_icon
self.set_image (None)
TypeError: Argument 1 does not allow None as a value

The same error is present in other list.

The NONE parameter is allowed on the gtk_button_set_image method after version 3.22.22
Date User Action Args
2019-02-18 23:08:02cedsetstatus: deferred -> closed
messages: + msg47102
2018-06-21 10:24:21cedsetstatus: chatting -> deferred
messages: + msg41566
2018-06-12 14:48:24cedsetmessages: + msg41383
2018-06-12 13:17:34tbruyeresetmessages: + msg41380
2018-06-12 11:50:18cedsetstatus: unread -> chatting
nosy: + ced
messages: + msg41376
2018-06-12 11:16:24tbruyerecreate

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