Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kopete strange problem [temporarily solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Sat Nov 15, 2003 6:28 pm    Post subject: kopete strange problem [temporarily solved] Reply with quote

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
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sat Nov 15, 2003 6:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Sat Nov 15, 2003 7:03 pm    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sat Nov 15, 2003 7:26 pm    Post subject: Reply with quote

[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
View user's profile Send private message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Sat Nov 15, 2003 7:36 pm    Post subject: Reply with quote

Dude never mind...I just had a brain leak...The line is only there before you start kopete... :oops:
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
View user's profile Send private message
garo
Bodhisattva
Bodhisattva


Joined: 15 Jul 2002
Posts: 860
Location: Edegem,BELGIUM

PostPosted: Mon Nov 17, 2003 6:50 pm    Post subject: Reply with quote

!!! 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
View user's profile Send private message
jj
n00b
n00b


Joined: 27 Mar 2003
Posts: 28
Location: De Zolder

PostPosted: Mon Nov 17, 2003 11:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
jlg
Guru
Guru


Joined: 31 May 2002
Posts: 360
Location: Montreal, CANADA

PostPosted: Wed Nov 19, 2003 4:45 am    Post subject: Reply with quote

One question about your script? Why the hell do you read /etc/passwd couldn't you just use "~" 8O
_________________
The only real voyage of discovery consists not in seeking new landscapes, but in having new eyes!
Back to top
View user's profile Send private message
garo
Bodhisattva
Bodhisattva


Joined: 15 Jul 2002
Posts: 860
Location: Edegem,BELGIUM

PostPosted: Wed Nov 19, 2003 7:00 am    Post subject: Reply with quote

~ works only in bash, not in perl
_________________
My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam
Back to top
View user's profile Send private message
hook
Veteran
Veteran


Joined: 23 Oct 2002
Posts: 1398
Location: Ljubljana, Slovenia

PostPosted: Wed Nov 19, 2003 7:07 am    Post subject: Reply with quote

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
View user's profile Send private message
polle
Veteran
Veteran


Joined: 28 Feb 2003
Posts: 1498
Location: Belgium

PostPosted: Sun Nov 23, 2003 1:19 pm    Post subject: Reply with quote

kopete 0.7.4 ebuild (still masked) solves this problem
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum