Bug 134792 - Statistics plugin not working for new ICQ users
Summary: Statistics plugin not working for new ICQ users
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kopete
Classification: Unmaintained
Component: Statistics plugin (other bugs)
Version First Reported In: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 17:39 UTC by Antti Hartikainen
Modified: 2011-04-10 06:51 UTC (History)
1 user (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 Antti Hartikainen 2006-09-28 17:39:59 UTC
Version:           0.12.2 (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages
Compiler:          GCC 4.1.1 
OS:                Linux

I've been suffering some time from losing statistics for new ICQ users after restarting Kopete.

This has been working before (and users that are added in working version earlier, still doesn't lose their statistics). I don't remember clearly which version did broke this up actually, I think 0.12 final or beta2.

I did some research and for new MSN users statistics plugin work fine. So seems problem is just for ICQ users.

reproduce:

1) Add new user to ICQ
2) In few hours there's some statistics
3) Restart Kopete
4) All statistics for newly added user are back to 0
5) Repeat from step 2

I have some old users on list too which have statistics from all time since i started using Kopete, problem is just for new ICQ users from some version.

Seems problem involves metacontacts too which have ICQ and MSN users (I don't remember which way they were "combined" - drag'n'drop MSN contact to ICQ contact or vice versa).

I've tried even reseting Kopete directories but it didn't "fix" this problem.
Comment 1 daniel.bayer 2006-11-19 22:03:46 UTC
I have a similar problem and it seems a new key in the database is generated for these contacts at each startup.

| $ echo "select * from contacts;" | sqlite3 kopete_statistics-0.1.db
| [..]
| 68|{a560493e-aa96-43c9-a51c-ec2bd23247ea}|XXXXX
| $

after restarting kopete:
| $ echo "select * from contacts;" | sqlite3 kopete_statistics-0.1.db
| 68|{c40f3b65-31d0-4a42-88b4-97dc2a2d610a}|XXXXX
| $ 

This is on Debian with kopete 3.5.5-2.
Comment 2 Antti Hartikainen 2006-11-22 17:47:33 UTC
Seems this bug does not involve when "ICQ-contact" is "merged" to "MSN-contact".

Such MSN+ICQ contacts has working statistics.
Comment 3 L. Jacob 2008-01-03 19:26:31 UTC
I can confirm that this bug exists for GMail users, on Kopete 0.12.7.  New key is generated in database for GMail users upon startup of Kopete.  Thus statistics appear to be lost.  

Perhaps at this point not only does a fix *need* to be created, but a program to parse the database and merge the multiple entries into one.
Comment 4 Lamarque V. Souza 2011-04-10 06:51:16 UTC
I cannot reproduce this problem. Is it still happening with you?