Bug 54408

Summary: Large Contact lists error out the Oscar Plugin
Product: [Applications] kopete Reporter: Sam Mulvey <sam>
Component: ICQ and AIM PluginsAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sam Mulvey 2003-02-10 15:18:14 UTC
Version:           0.6 (using KDE KDE 3.1)
Installed from:    Gentoo Packages
Compiler:          3.2 / 3.2.1 
OS:          Linux

The Oscar plugin in 0.6 will silently disconnect from AIM with the following message on the console:

(...grabbing contact and list messages...)
kopete: [OscarPortocol] addOldContact(); groupName is SpeedChoice
kopete: [OscarProtocol] addOldContact(), KopeteMetaContact m=0x83a1c10
kopete: [OSCAR] Setting idle time to 0
kopete: [OSCAR] Sending capabilities.. size 48
kopete: [OSCAR] Sending client ready! 
kopete: [OscarProtocol] slotStatusChanged(), status=1.
kopete: [OscarProtocol] slotOnline(), engine says we are online now
kopete: [OscarProtocol] ERROR, wanted to create myContact but there already is one!
kopete: [OscarProtocol] slotOnline() END
kopete: [OscarProtocol] slotStatusChanged(), status=0.
kopete: [OscarProtocol] slotDisconnected()
kopete: [OSCAR] Connection closed by server


I am trying this on three seperate systems and all report the same error.  All machines are Gentoo Linux, with two seperate accounts.  

The contact list on these accounts is in excess of 130 buddies; when we try this with an AIM account with much fewer in it's list (10-20 contacts), we get normal operation.  

Full output (2066 lines of it) from the other person here who's having this problem is available at 
http://c133.org/~clee/kopete-output .   He believes that the code where the server-side list is imported is the culprit.
Comment 1 twl6 2003-02-17 03:13:03 UTC
Fixed the disconnect problem, but some of the contacts in large contact lists don't appear, 
even if they are online (at least in kopete_0_6_branch... haven't tested cvs HEAD yet, but Nick 
has done a lot of work on removing the old TBuddy classes from OSCAR, and he may have 
already fixed this issue)