Bug 299159 - Cannot set up Skype account
Summary: Cannot set up Skype account
Status: RESOLVED UPSTREAM
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: accounts-kcm (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: 0.4.0
Assignee: Telepathy Bugs
URL:
Keywords:
: 302105 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-01 10:40 UTC by markuss
Modified: 2012-07-06 12:47 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of KCM wizard for Skype (63.00 KB, image/png)
2012-05-01 10:41 UTC, markuss
Details
Screenshot of KCM wizard for Skype (behaving correctly) (50.15 KB, image/png)
2012-06-15 13:49 UTC, Daniele E. Domenichelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markuss 2012-05-01 10:40:06 UTC
The KCM offers the ability to integrate a Skype account (using Skype's dbus API). Even though Skype is installed and running, the KCM simply displays empty windows.

Reproducible: Always

Steps to Reproduce:
Try to add a Skype account
Actual Results:  
Empty windows

Expected Results:  
Behave like Kopete
Comment 1 markuss 2012-05-01 10:41:12 UTC
Created attachment 70789 [details]
Screenshot of KCM wizard for Skype

Screenshot
Comment 2 Johannes K. 2012-06-15 08:00:11 UTC
I experience the same problem. It would be great if someone could fix it. Thanks
Comment 3 David Edmundson 2012-06-15 08:16:59 UTC
AFAIK skype through telepathy and libpurple has no configuration options.

Tasks:
 - not show the advanced button, when there are no advanced options
 - copy and paste the text from Kopete to explain how to use it, and possibly steal the button to launch skype.
 - check it works (assigning to Martin)
Comment 4 David Edmundson 2012-06-15 08:46:01 UTC
Git commit 2f97ee22d2e26de5a1ea956688194c3f731aadc9 by David Edmundson.
Committed on 15/06/2012 at 10:37.
Pushed by davidedmundson into branch 'master'.

Disable advanced options widget in Haze-Skype
Reviwed-by: Martin Klapetek

M  +1    -1    plugins/haze/haze-skype-account-ui.cpp

http://commits.kde.org/telepathy-accounts-kcm/2f97ee22d2e26de5a1ea956688194c3f731aadc9
Comment 5 Daniele E. Domenichelli 2012-06-15 13:49:17 UTC
Created attachment 71856 [details]
Screenshot of KCM wizard for Skype (behaving correctly)

Please revert the last patch, since it is wrong (check the screenshot).
The problem is in your system configuration, not in the kcm
Comment 6 David Edmundson 2012-06-15 18:08:47 UTC
Git commit ad787f7710e41766f16c9f0404582787b6f7b974 by David Edmundson.
Committed on 15/06/2012 at 20:08.
Pushed by davidedmundson into branch 'master'.

Revert "Disable advanced options widget in Haze-Skype"

This reverts commit 2f97ee22d2e26de5a1ea956688194c3f731aadc9.

M  +1    -1    plugins/haze/haze-skype-account-ui.cpp

http://commits.kde.org/telepathy-accounts-kcm/ad787f7710e41766f16c9f0404582787b6f7b974
Comment 7 Johannes K. 2012-06-17 13:36:32 UTC
Hi Daniele

Could you tell us what we have to change in our system configuration to make skype, Haze and Telepathy work nicely together?

Thanks a lot

Johannes
Comment 8 Daniele E. Domenichelli 2012-06-18 06:32:47 UTC
If you are using debian (or similar), you just need to install the following packages:

libpurple0 (2.10.4-1.1)
pidgin-skype (20110407+svn628+dfsg-1)
telepathy-haze (0.6.0-1)
skype (2.2.0.35-1)

and obviously ktp-common-internals and ktp-accounts-kcm

I have no idea on other systems.
Comment 9 Johannes K. 2012-06-18 07:49:24 UTC
Thanks a lot

I've got Archlinux and I had to install skype4empathy instead of skype4pidgin which somehow didn't work.

It worked after a restart.

Unfortunately the status of the skype account is always "Connecting..." and doesn't switch to Available. Do you experience the same behaviour?
Comment 10 David Edmundson 2012-06-18 11:16:59 UTC
*** Bug 302105 has been marked as a duplicate of this bug. ***
Comment 11 David Edmundson 2012-06-18 11:31:10 UTC
Please update http://userbase.kde.org/Telepathy with any additional steps/info.

Can you also add any output of:
qdbus org.freedesktop.Telepathy.ConnectionManager.haze /org/freedesktop/Telepathy/ConnectionManager/haze org.freedesktop.Telepathy.ConnectionManager.ListProtocols 

and send us that

along with:
qdbus org.freedesktop.Telepathy.ConnectionManager.haze /org/freedesktop/Telepathy/ConnectionManager/haze org.freedesktop.Telepathy.ConnectionManager.GetParameters <name-of-skype-protocol>

and whether it works for you or not.
Comment 12 m.wege 2012-06-18 12:04:22 UTC
The first command does not list anything which sounds related to the skype protocol:

mbpurple-twitter
somsaks-twitter
gadugadu
zephyr
groupwise
icq
mxit
local-xmpp
msn-pecan
aim
mbpurple-identica
msn
sametime
myspace
irc
facebook
mbpurple-laconica
jabber
yahoo
sip
yahoojp

Even though it is listed in the list of protocols in the accounts manager and pidgin-skype is installed.
Comment 13 Johannes K. 2012-06-18 12:18:39 UTC
Hi David

Thanks for your reply!!!

Here is my output:

qdbus org.freedesktop.Telepathy.ConnectionManager.haze /org/freedesktop/Telepathy/ConnectionManager/haze org.freedesktop.Telepathy.ConnectionManager.ListProtocols

gadugadu
bigbrownchunx-skype-dbus
zephyr
groupwise
icq
mxit
aim
msn
local-xmpp
myspace
irc
sip
jabber
yahoo
yahoojp


qdbus org.freedesktop.Telepathy.ConnectionManager.haze /org/freedesktop/Telepathy/ConnectionManager/haze org.freedesktop.Telepathy.ConnectionManager.GetParameters bigbrownchunx-skype-dbus

qdbus: I don't know how to display an argument of type 'a(susv)', run with --literal.

qdbus org.freedesktop.Telepathy.ConnectionManager.haze /org/freedesktop/Telepathy/ConnectionManager/haze org.freedesktop.Telepathy.ConnectionManager.GetParameters bigbrownchunx-skype-dbus --literal

Invalid number of parameters


I hope this helps...
Comment 14 David Edmundson 2012-06-18 12:41:04 UTC
Thanks guys!

Task 1) we need to fix skype appearing in the M.Wege's situation. Where skype isn't available according to the connection manager and as such we shouldn't list it.
This bug will from now on be tracked here in a clean bug report with less noise.
https://bugs.kde.org/show_bug.cgi?id=302122

Back to Johannes.
Does the accounts module look ok to you?

If not please try:

qdbus --literal org.freedesktop.Telepathy.ConnectionManager.haze /org/freedesktop/Telepathy/ConnectionManager/haze org.freedesktop.Telepathy.ConnectionManager.ListProtocols 
{"mbpurple-twitter", "somsaks-twitter", "gadugadu", "zephyr", "groupwise", "icq", "mxit", "local-xmpp", "msn-pecan", "aim", "mbpurple-identica", "msn", "sametime", "myspace", "irc", "mbpurple-laconica", "jabber", "yahoo", "sip", "yahoojp"}

If you still have the "connecting" issue, lets sort that out. We'll sort that out here.
Comment 15 George Kiagiadakis 2012-06-18 12:47:28 UTC
(In reply to comment #13)
> qdbus org.freedesktop.Telepathy.ConnectionManager.haze
> /org/freedesktop/Telepathy/ConnectionManager/haze
> org.freedesktop.Telepathy.ConnectionManager.GetParameters
> bigbrownchunx-skype-dbus --literal
> 
> Invalid number of parameters

You should pass --literal as the first argument to qdbus, i.e. right after "qdbus":

qdbus --literal org.freedesktop.Telepathy.ConnectionManager.haze /org/freedesktop/Telepathy/ConnectionManager/haze org.freedesktop.Telepathy.ConnectionManager.GetParameters bigbrownchunx-skype-dbus
Comment 16 Johannes K. 2012-06-18 13:43:20 UTC
@George: Thanks for the hint...

qdbus --literal org.freedesktop.Telepathy.ConnectionManager.haze /org/freedesktop/Telepathy/ConnectionManager/haze org.freedesktop.Telepathy.ConnectionManager.GetParameters bigbrownchunx-skype-dbus

[Argument: a(susv) {[Argument: (susv) "account", 1, "s", [Variant(QString): ""]], [Argument: (susv) "skypeout-online", 4, "b", [Variant(bool): true]], [Argument: (susv) "skype-sync", 4, "b", [Variant(bool): true]], [Argument: (susv) "reject-all-auths", 4, "b", [Variant(bool): false]], [Argument: (susv) "skype-autostart", 4, "b", [Variant(bool): true]], [Argument: (susv) "skype-path", 0, "s", [Variant(QString): ""]]}]

qdbus --literal org.freedesktop.Telepathy.ConnectionManager.haze /org/freedesktop/Telepathy/ConnectionManager/haze org.freedesktop.Telepathy.ConnectionManager.ListProtocols

{"gadugadu", "bigbrownchunx-skype-dbus", "zephyr", "groupwise", "icq", "mxit", "aim", "msn", "local-xmpp", "myspace", "irc", "sip", "jabber", "yahoo", "yahoojp"}

I think the account module look good but sometimes I've got the feeling that haze breaks and than icq and skype don't even try to connect. Than I have to restart to get it working again....
Comment 17 Johannes K. 2012-06-18 14:09:54 UTC
I think it somehow cannot find the skype path...

[Argument: (susv) "skype-path", 0, "s", [Variant(QString): ""]]
Comment 18 Johannes K. 2012-06-19 06:20:57 UTC
Hello

I got it working.

After I deinstalled skype4empathy and installed skype4pidgin-svn-dbus it worked like a charm. Both packages are located in AUR.

Sorry for the inconveniences and thanks a lot for the help