Bug 318763 - Telepathy logger stop saving chat history for one particular contact
Summary: Telepathy logger stop saving chat history for one particular contact
Status: RESOLVED NOT A BUG
Alias: None
Product: telepathy
Classification: Unmaintained
Component: telepathy-logger-qt (show other bugs)
Version: 0.6.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-23 12:01 UTC by RussianNeuroMancer
Modified: 2013-05-16 07:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RussianNeuroMancer 2013-04-23 12:01:52 UTC
Telepathy logger stop saving chat history for one particular contact.

Reproducible: Always

Steps to Reproduce:
In my case it's looks like this:
1. Open chat window with problematic contact.
2. Test sent and receiving messages. There is no problems with that.
3. Close chat window.
4. Open chat window with problematic contact again.
Actual Results:  
All messages from latest conversation is disappear. Even when I open log of previous conversations with this contact, I can't find messages that was just sent. Looks like it stop saved some time ago (previous conversations with this contact is still saved and available in log window).

Expected Results:  
Save all messages to the log.

I doesn't sure, that may be packaging issue, upstream issue or problem with just my setup. I notice version of Telepathy Logger Qt is 0.6.0, however version of all other KDE Telepathy stuff is 0.6.1.
Comment 1 Daniel Vrátil 2013-04-23 13:12:21 UTC
TelepathyLoggerQt in version 0.6.0 is correct, we don't ship 0.6.1 (because there's nothing new).

Could you try running /usr/libexec/telepathy-logger in console (make sure you kill the running one before doing that) and reproduce the issue?
Comment 2 RussianNeuroMancer 2013-04-23 13:34:41 UTC
Unfortunately, there is no any output to console when I reproduce this issue with telepathy-logger that restarted following your instruction.
Comment 3 RussianNeuroMancer 2013-04-24 15:08:50 UTC
Today issue stop reproducing and Telepathy logger again began saving chat history for this contact. If this issue reproduce again someday, what kind of additional info would be useful?
Comment 4 RussianNeuroMancer 2013-05-16 06:45:10 UTC
Today issue again reproducible with same contact. It may stop reproducing tomorrow, but as I see now that wasn't one-time problem as I thought before.
Comment 5 David Edmundson 2013-05-16 06:47:01 UTC
Can you check the logs manually in .local/share/TpLogger/logs/

also next time it happens run "ktp-debugger" and save the logs from a tab called "Mission Control"
Comment 6 RussianNeuroMancer 2013-05-16 07:35:08 UTC
I doesn't sure for 100%, but looks like I found why this happen (and it's doesn't have anything to do with this particular contact, that was just coincidence). Very rarely I have problems with (probably) hardware clocks or maybe with local NTP-server. When this happen clock run for hours to the future. As you understand this may introduce very strange side effects even with software that behave right. So, what probably happen in this case:
1. I get few messages from this contact when clocks in the future. Messages normally saved to .local/share/TpLogger/logs/.
2. I correct clocks, continue to get and send messages to this contact. Messages continue to be saved to .local/share/TpLogger/logs/. 
3. When I open contact window it display few latest messages so in my case it display messages that I get on item 1 (because it has later timestamp) but I obviously  expect to see messages that I get on item 2. Log view also display few latest messages at the bottom so it also display messages that I get on item 1 in the end of the log.

So all messages saved right and displayed right but I get false impression that it doesn't saved, because I doesn't scroll up history in log view.