[Bug 37100] telepathy-butterfly crashed with ValueError in Received(): You can't receive the same message twice.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 10 15:45:10 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=37100

--- Comment #1 from Nathan Samson <nathansamson at gmail.com> 2011-10-10 06:45:07 PDT ---
Created an attachment (id=52173)
 View: https://bugs.freedesktop.org/attachment.cgi?id=52173
 Review: https://bugs.freedesktop.org/review?bug=37100&attachment=52173

Fixing the issue by incrementing the recv id correctly.

I've fixed the issue.

The root cause for me was a crash in ButterflyTextChannel._signal_text_received
(UnicodeDecodeError). The message ended up in the pending messages queue, but
the current ID did not increase. The attached patch fixes this.

Fixing the crashes in _signal_text_received would also be a good idea (the
UnicodeDecodeError has already been reported). The easiest way to fix that
would probably be using python 3 instead of python 2...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list