It is THE CLONE WARS !!! Laurent.
----- Original Message ----- From: "Darshaka Pathirana" <[EMAIL PROTECTED]> To: "Kvats.net issue tracker" <[EMAIL PROTECTED]>; "qutecom-dev" <[email protected]> Sent: Monday, November 17, 2008 6:15 PM Subject: Re: [issue116] Accounts get replicated > On 14.11.2008 23:38, Gerald Silberschneider wrote: >> Gerald Silberschneider <[EMAIL PROTECTED]> added the >> comment: >> >> I just had a replicated account. >> Well i cannot reproduce it yet again. >> >> [snip] >> >> From this moment on, i wasnt able to correct this again. Even deleting >> the >> second section in "imaccounts.xml" i was not able to disconnect and >> connect >> again without getting a second account listed. > > After a while of testing with Gerald we could pin the problem down: > > Prerequisites: > - Create a SIP-Account > - Do NOT add any aditional protocols > - Be connected > - Drop down the userdetails (next to the green Online-Status-LED and > your username -> You should only see one (green) SIP-Account-Button) > > Then (repeatingly) do the following: > - Menu "kvats/qutecom" -> "Log Off..." > - Quickly click "Connect" > > Two things /can/ happen: either the client crashes or the the > SIP-Account gets duplicated (you'll see another SIP-Account-Button > and the Online-Status-LED will only be half green). (If neither of > these two things happen you'll most probably will loose the > SIP-Account-Button which is a minor bug.) > > Once the SIP-Account got duplicated you will get another > SIP-Account-Button each time you reconnect. > > On our systems (Windows XP) it was quite difficult to reproduce this > but I assume there must be a kind of race-condition. It seems easier > to bring up this problem if the system is slow and/or the network is > under heavy load or it may also be a problem while loading the > profile or backup-profile. > > While forcing the profile to duplicate is not easy the > re-duplication can easily be shown by just copy the > <account>..</account> block in > ${PROFILEDIR}/${PROFILENAME}/imaccounts.xml like this: > > <imaccounts> > <account protocol="SIP"> > <uuid>c71997b9-e34b-4838-838b-a61e29b6e383</uuid> > <login>myUsername</login> > <password>blablabla</password> > <presence>online</presence> > <settings> > </settings> > </account> > <account protocol="SIP"> > <uuid>c71997b9-e34b-4838-838b-a61e29b6e383</uuid> > <login>myUsername</login> > <password>blablabla/password> > <presence>online</presence> > <settings> > </settings> > </account> > </imaccounts> > > Then start your client. You should see two SIP-Accounts (with a half > Online-Status-LED). After that the SIP-Account-Buttons get > duplicated again and again.. maybe this helps to find the initial > problem. > > The problem is once the account is duplicated it is nearly > impossible for the end-user to remove them. And it seems that this > accours more often than one might think... > > Greetings, > - Darsha > _______________________________________________ > QuteCom-dev mailing list > [email protected] > http://lists.qutecom.org/mailman/listinfo/qutecom-dev > _______________________________________________ QuteCom-dev mailing list [email protected] http://lists.qutecom.org/mailman/listinfo/qutecom-dev
