Bug 55569 - duplicate messages from telepathy-logger
Summary: duplicate messages from telepathy-logger
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: logger (show other bugs)
Version: git master
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-03 10:08 UTC by Frederic Peters
Modified: 2019-12-03 19:31 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Test script (1.28 KB, text/plain)
2012-10-03 10:08 UTC, Frederic Peters
Details

Description Frederic Peters 2012-10-03 10:08:04 UTC
Created attachment 68031 [details]
Test script

Empathy displays duplicated messages, I checked the ondisk storage and messages are correctly stored (no duplicates), Guillaume gave me the attached script and this also displays the duplicated messages.
Comment 1 Nicolas Dufresne 2012-10-03 19:20:21 UTC
You will need to provide some of the data you have in your logs (.local/share/TpLogger/logs) along with the list of accounts you have and the contact information you are sending to this script.

Other possibility is to write a unit test that reproduce the issue.
Comment 2 Frederic Peters 2012-10-03 20:59:11 UTC
For example this exchange:

  <message time='20121003T07:52:53' id='pcros@XXX' name='Pierre' token='' isuser='false' type='normal' message-token='82b32d82-f209-4197-9a57-2beafa6a74ab'>en tout cas la SNCF ne m&apos;a rien dit encore</message>
  <message time='20121003T07:53:18' id='fpeters@XXX' name='fpeters' token='' isuser='true' type='normal' message-token='d6e696c6-c8cd-4701-8178-252450e24c09'>« Le trafic voyageurs et marchandises, tout comme les lignes internationales passant par la Belgique, se trouvent complètement paralysés.  »</message>

appears as:

  <Pierre> en tout cas la SNCF ne m'a rien dit encore
  <Pierre> en tout cas la SNCF ne m'a rien dit encore
  <fpeters> « Le trafic voyageurs et marchandises, tout comme les lignes internationales passant par la Belgique, se trouvent complètement paralysés.  »
  <fpeters> « Le trafic voyageurs et marchandises, tout comme les lignes internationales passant par la Belgique, se trouvent complètement paralysés.  »

when using the attached test script.

However, messages that were sent later, and where I do not see any particular changes, 

  <message time='20121003T14:49:59' id='pcros@XXX' name='Pierre' token='' isuser='false' type='normal' message-token='5473babb-aa19-462f-8344-64df107bbb63'>Yep</message>
  <message time='20121003T14:50:35' id='pcros@XXX' name='Pierre' token='' isuser='false' type='normal' message-token='e9b1c3c3-921a-4920-b08d-a8b3c41053e4'>J&apos;ai une erreur avec yelp-build html </message>

are only displayed once.
Comment 3 GitLab Migration User 2019-12-03 19:31:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-logger/issues/31.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.