View previous topic :: View next topic |
Author |
Message |
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Sat Nov 15, 2003 6:28 pm Post subject: kopete strange problem [temporarily solved] |
|
|
I used to use gaim...that was until i found out kopete. Anyway i've used kopete for a few weeks and all went well. However 2 days ago i boot up my fluxbox and kopete wouldn't connect to my msn account.
I thought it might be some obscure micro$oft work, but after asking around, i cleared them out. So i re-emerged kopete and still the same thing. So i tried something else. I removed my account and created a new one exactly like the old one. To my surprise it worked. However i just found out something disturbing... everytime i get out of X, when i return and try to use kopete i have to remove my account and create a new one wich is very very anoying.
So can anybody even give me an hint as to where i might begin looking for the problem?
Thanks in advance
Last edited by malloc on Sat Nov 15, 2003 10:57 pm; edited 1 time in total |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sat Nov 15, 2003 6:47 pm Post subject: |
|
|
Problem seems to be caused by changes in the MSN protocol.
for the moment there is a workaround
Before starting kopete go edit the file:
/home/foo/.kde/share/config/kopeterc
in the line with:
PluginData_MSNProtocol_serial=xxx
change the number in 0
save and start kopete it will connect
You wil have to do that everytime before starting kopete
(I believe that a new build is in progress) |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Sat Nov 15, 2003 7:03 pm Post subject: |
|
|
hum...well that's a relief, however i can't seem to find that line in my kopeterc? Where is it hidden ?
Thankx for the very speedy reply |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sat Nov 15, 2003 7:26 pm Post subject: |
|
|
[Account_MSNProtocol_eddyvp@hotmail.com]
AccountId=eddyvp@hotmail.com
AutoConnect=true
Password=ᄇᄒᄆᄊᆬᄒᄈᄎᆲ
PluginData_MSNProtocol_allowList=gert_francois@hotmail.com,ilsedeceuster@hotmail.com,g-franco@pandora.be,hermanselderslaghs@msn.com,marpiepiep@hotmail.com,janverhulst55@hotmail.com,benny_vdp@hotmail.com,janverhulst50@hotmail.com,ik_ben_schoneslaapster@hotmail.com,jan_vandepol@skynet.be,schoneslaapster@hotmail.com,glopalozo@hotmail.com
PluginData_MSNProtocol_blockList=coyboyduk@hotmail.com
PluginData_MSNProtocol_displayName=polle
PluginData_MSNProtocol_serial=0l
Protocol=MSNProtocol |
|
Back to top |
|
|
malloc l33t
Joined: 19 Sep 2003 Posts: 762
|
Posted: Sat Nov 15, 2003 7:36 pm Post subject: |
|
|
Dude never mind...I just had a brain leak...The line is only there before you start kopete...
Just did it and it works great...Thanks a million...now i'm off to do a shell script to the work for me until they don't release a fix |
|
Back to top |
|
|
garo Bodhisattva
Joined: 15 Jul 2002 Posts: 860 Location: Edegem,BELGIUM
|
Posted: Mon Nov 17, 2003 6:50 pm Post subject: |
|
|
!!! MY SCRIPT IS OBSOLETE, EMERGE KOPETE 0.7.4 OR HIGHER !!!!
Here is the script that i created, use this script to start kopete:
Code: | #!/usr/bin/perl -w
open(PASSWD,"/etc/passwd") || die "I can't find (or read) user info\n";
while(<PASSWD>){
@info=split /:/;
if($info[2] eq $<){$home="$info[5]\n";chomp $home}
}
close(PASSWD);
unless(-r "$home/.kde/share/config/kopeterc"){die "I can't find (or read) the kopete configuration\n";}
unless(-w "$home/.kde/share/config/kopeterc"){die "I can't create the new kopete configuration\n";}
if(-e "$home/.kde/share/config/kopeterc.new"){unlink "$home/.kde/share/config/kopeterc.new";}
if(-e "$home/.kde/share/config/kopeterc.new"){die "I can't remove a old temporary file\n";}
open(CONFIG,"$home/.kde/share/config/kopeterc");
open(NEWCONFIG,">$home/.kde/share/config/kopeterc.new");
while(<CONFIG>){
if(/^PluginData_MSNProtocol_serial=\d*$/){
print NEWCONFIG "PluginData_MSNProtocol_serial=0\n";
}else{ print NEWCONFIG;}
}
close(CONFIG);
close(NEWCONFIG);
rename("$home/.kde/share/config/kopeterc.new","$home/.kde/share/config/kopeterc");
system("/usr/bin/kopete");
|
The ebuilds perl and kopete should be installed to use the script.
Normally you already have this ebuilds emerged. _________________ My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam
Last edited by garo on Sun Nov 23, 2003 6:53 pm; edited 1 time in total |
|
Back to top |
|
|
jj n00b
Joined: 27 Mar 2003 Posts: 28 Location: De Zolder
|
Posted: Mon Nov 17, 2003 11:21 pm Post subject: |
|
|
Had the same problem, your script works splendidly. Thanx. _________________ If this post seems useless, please forgive me; just trying to get rid of the n00b status |
|
Back to top |
|
|
jlg Guru
Joined: 31 May 2002 Posts: 360 Location: Montreal, CANADA
|
Posted: Wed Nov 19, 2003 4:45 am Post subject: |
|
|
One question about your script? Why the hell do you read /etc/passwd couldn't you just use "~" _________________ The only real voyage of discovery consists not in seeking new landscapes, but in having new eyes! |
|
Back to top |
|
|
garo Bodhisattva
Joined: 15 Jul 2002 Posts: 860 Location: Edegem,BELGIUM
|
Posted: Wed Nov 19, 2003 7:00 am Post subject: |
|
|
~ works only in bash, not in perl _________________ My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam |
|
Back to top |
|
|
hook Veteran
Joined: 23 Oct 2002 Posts: 1398 Location: Ljubljana, Slovenia
|
Posted: Wed Nov 19, 2003 7:07 am Post subject: |
|
|
btw: it IS M$'s fault
quoted from kopete.kde.org
Quote: | 11/18/2003 - Kopete 0.7.4 with MSN fix released
Another release of our stable KOPETE_0_7_BRANCH, Kopete 0.7.4 is out. This includes the fix for the MSN connection. No new features here.
11/14/2003 - MSN connection problems fixed
As of today (Friday November 14th 2003), MSN made some changes to their servers that prevent Kopete from connecting. The Kopete team went into action and fixed the problem in CVS within hours. To get the fix now, read the instructions on obtaining and building CVS. A solution for people who are unable to build Kopete from source will be available shortly.
|
_________________ tea+free software+law=hook
(deep inside i'm still a tux's little helper) |
|
Back to top |
|
|
polle Veteran
Joined: 28 Feb 2003 Posts: 1498 Location: Belgium
|
Posted: Sun Nov 23, 2003 1:19 pm Post subject: |
|
|
kopete 0.7.4 ebuild (still masked) solves this problem |
|
Back to top |
|
|
|