Issue 11529

Title
deserialize called with 7 arguments
Priority
bug
Status
testing
Nosy list
ced, reviewbot, udono
Assigned to
ced
Keywords
backport, review

Created on 2022-05-31.13:20:49 by ced, last changed 4 weeks ago by udono.

Messages

Author: [hidden] (udono) Tryton translator
Date: 2022-06-01.09:22:33

Anyway, I applied your patch and it seems not breaking something related to rich-text widget. But I can't really test its functionality, because I can't reproduce your issue and havn't seen it.

Using the same *args pattern on my issue solves my serialize issue, but raises new problems which I don't know how to debug, as REPL don't work in the client app:

ERROR:tryton.common.common:
TypeError: Must be number, not str
Author: [hidden] (udono) Tryton translator
Date: 2022-05-31.13:56:04

Interesting I have also recognized a similar client error, but can not reproduce reliable:

I think I found a way to reproduce at least in branch 6.0: * Open Preferences from the top toolbar * Add a rich text content to signature, e.g test in bold * Cut the text, close the preferences * Open Preferences from the top toolbar * Paste the text to signature, error raises

TypeError: serialize() takes 5 positional arguments but 6 were given

Author: [hidden] (udono) Tryton translator
Date: 2022-05-31.13:37:17

Interesting I have also recognized a similar client error, but can not reproduce reliable:

TypeError: serialize() takes 5 positional arguments but 6 were given

I have the error sometimes in 5.8 and 6.0 when I copy paste rich text fields from one user signature to another.

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-05-31.13:20:49

Sometimes GTK calls deserialize callback with an extra argument.

History
Date User Action Args
2022-06-01 09:22:33udonosetmessages: + msg76870
2022-05-31 13:56:04udonosetmessages: + msg76840
2022-05-31 13:37:17udonosetmessages: + msg76839
nosy: + udono
2022-05-31 13:30:23reviewbotsetmessages: + msg76838
nosy: + reviewbot
2022-05-31 13:21:20cedsetkeyword: + backport, review
reviews: 433181003
status: in-progress -> testing
2022-05-31 13:20:49cedcreate

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