Bug 268233

Summary: Kopete does not connect to skype
Product: [Unmaintained] kopete Reporter: heinemann <kde.org>
Component: Skype PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde.org, pali.rohar
Priority: NOR    
Version First Reported In: 1.0.80   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description heinemann 2011-03-11 16:33:58 UTC
Version:           1.0.80 (using KDE 4.5.5) 
OS:                Linux

Kopete does not connect to skype, but skype is running. 

Reproducible: Always

Steps to Reproduce:
Start skype via Kopete: 
- skype start
- kopete throw a error message that skype can not be found and show skypestatus as offline


Actual Results:  
skype itself goes online, but not in Kopete


OS: Linux (x86_64) release 2.6.37.1-1.2-desktop
Compiler: gcc
Comment 1 Pali Rohár 2011-03-12 17:47:47 UTC
Have you dynamic linked Skype version?
Comment 2 heinemann 2011-03-12 18:49:14 UTC
At first I used the openSUSE rpm. Then I have tried the static packed.

I have a 64-Bit System. After I installed some  librarys in the 32-Bit-Version, both skype versions are running. But Kopete do not connect to them.
Comment 3 Pali Rohár 2011-03-31 08:04:15 UTC
Static version of Skype is not supported by Kopete. Try quit all running instances of skype, then start only dynamic version, login and then start Kopete.
Comment 4 heinemann 2011-03-31 11:47:15 UTC
I try so. But Kopete start a second instance of skype. So I change the option in Kopete to "do not start skype".But there is no different. 

So I close all and start Skype via Kopete. Kopete Start Skype with the dynamic version and stop it if I close Kopete. Skype goes online but I still can not controll it via Kopete.
Comment 5 Pali Rohár 2011-03-31 11:55:56 UTC
start only one instance of dynamic linked skype and send output of this command:
$ qdbus | grep -i skype
Comment 6 heinemann 2011-03-31 12:03:28 UTC
 com.Skype.API
Comment 7 Pali Rohár 2011-03-31 13:18:48 UTC
Ok, run commands (and send output):
$ qdbus com.Skype.API /com/Skype com.Skype.API.Invoke "PING"
$ qdbus com.Skype.API /com/Skype com.Skype.API.Invoke "NAME Test"
$ qdbus com.Skype.API /com/Skype com.Skype.API.Invoke "NAME Kopete"

Skype will ask you question for NAME command.
Comment 8 heinemann 2011-03-31 15:21:15 UTC
PONG
OK
OK

The second and the third command let pop up a dialog from Skype. If I agree to that,the output is OK. If not, Error 68. 

If I look in the Skype-Options -> Public API, whether Test or Kopete is shown there. 

I try this for the openSUSE rpm and the dynamic linked skype-packet. 

In the meanwhile I remove the old ~/.Skype folder, maybe the old configuration make the error. But that was not the point.
Comment 9 Pali Rohár 2011-03-31 18:07:43 UTC
Ok, skype works fine (so there is not problem).

I do not know where may be problem (it must be in Kopete). But Kopete is doing same as above commands (which works as you wrote).

Try delete Skype account from Kopete and create it again.

Start kdebugdialog and enable Kopete Skype plugin debug output. Then run Kopete from konsole and send output when skype are trying connect (maybe there will be something useful).
Comment 10 heinemann 2011-03-31 18:24:12 UTC
"Try delete Skype account from Kopete and create it again."

Now it works :)
Comment 11 Pali Rohár 2011-03-31 18:28:01 UTC
So problem was maybe in config file kopterc.

Closing bug as invalid. If still you have problems, reopen it.