Difference between revisions of "KTp/Troubleshooting"

< KTp
Jump to: navigation, search
(I cannot edit my MSN Account)
(I can't connect jabber accounts: Fix has been released long ago now.)
 
(31 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
===TroubleShooting===
 
===TroubleShooting===
  
====I see the error message "--> tp-qt4 0.5.14 WARN: GetAll(AccountManager) failed with "org.freedesktop.DBus.Error.ServiceUnknown"====
+
====When compiling I get an error that it can't find TpQt4====
  
You have not installed all the dependencies correctly. KDE Telepathy relies on a daemon to be running called telepathy-mission-control-5. This should be available in your package manager already. You will also probably want
+
Upgrade to latest TpQt4.
telepathy-gabble, telepathy-butterfly, telepathy-haze which provide access to jabber/MSN/libpurple respectively.
 
  
----
+
====Empty Contact List 0.7 ====
  
====I keep being told "Authentication Failed"====
+
Upgrade to 0.8
  
Make sure you have telepathy-auth-handler installed.
+
====I can't connect jabber accounts====
  
 +
Do you use *buntu? If so look in ~/.cache for a folder called dconf. If it doesn't exist create it; you've run into https://bugs.launchpad.net/ubuntu/+source/telepathy-mission-control-5/+bug/939126 although this was fixed in telepathy-mission-control-5 - 1:5.12.0-0ubuntu5.
  
====My passwords aren't being saved.====
+
====I see the error message "--> tp-qt4 0.5.14 WARN: GetAll(AccountManager) failed with "org.freedesktop.DBus.Error.ServiceUnknown"====
  
'''This only applies for version 0.1.
+
You have not installed all the dependencies correctly. KDE Telepathy relies on a daemon to be running called telepathy-mission-control-5. This should be available in your package manager already. You will also probably want
'''
+
telepathy-gabble and telepathy-haze which provide access to jabber and libpurple(MSN, ICQ etc) respectively.
You need to install gnome-keyring.
 
  
Q: Gnome Keyring???
+
----
  
Yes, it's not KDE that saves the passwords that's done by our backend daemon (telepathy) therefore it's the solution that makes sense.
+
====I keep being told "Authentication Failed"====
 
 
Q: Something Something KWallet?
 
 
 
We have no plans to support it, it's not a viable thing to do. However: Gnome and KDE people are working on a shared storage solution called secretservice.
 
  
'''UPDATE:'''
+
Make sure you have telepathy-auth-handler installed.  
There is a method which means we don't need the backend to store the password but instead can have it run a program we specify to fetch a password, from here we can use KWallet. This is a work in progress. Follow the mailing list for updates.
 
  
'''UPDATE:'''
+
Do you have Empathy installed?
You can set your passwords by editing ~/.mission-control/accounts/accounts.cfg and adding "param-password=<password>" to each account section.
+
If so remove it.
'''WARNING:''' storing the password in clear text is a Bad Idea (tm). Don't do it on unencrypted volumes.
 
  
----
+
Also check all the steps in the following section.
  
 
====Nothing happens when I try and start a chat with someone from the contact list.====
 
====Nothing happens when I try and start a chat with someone from the contact list.====
Line 40: Line 33:
 
It could be one of three causes.
 
It could be one of three causes.
  
Have you installed the telepathy-chat-handler? If not install it.
+
Have you installed the telepathy-text-ui? If not install it.
 
   
 
   
Do you compile and install your programs to a non standard directory (anywhere but /usr)? The chat-handler (like other parts of Telepathy) is Dbus activated, when the dbus method is called dbus itself finds the correct application to handle it and launches it. However it cannot do this if dbus does not know about the application. You need to make sure the files in yourinstalldir/share/dbus-1/services/* is copied to /usr/share/dbus-1/services.
+
Do you compile and install your programs to a non standard directory (anywhere but /usr)? The text-ui (like other parts of Telepathy) is Dbus activated, when the dbus method is called dbus itself finds the correct application to handle it and launches it. However it cannot do this if dbus does not know about the application. You need to make sure the files in yourinstalldir/share/dbus-1/services/* is copied to /usr/share/dbus-1/services.
  
 
If you have installed it since starting a telepathy component there is a good chance that the daemon (mission-control) will have started, any channel handlers installed since then are not recognised.
 
If you have installed it since starting a telepathy component there is a good chance that the daemon (mission-control) will have started, any channel handlers installed since then are not recognised.
  
Therefore, After you perform any of the above troubleshooting steps, it is necessary to restart mission-control-5( you can do this by killing the already running mission-control-5 process and then starting it from /usr/lib/telepathy/mission-control-5).
+
Therefore, After you perform any of the above troubleshooting steps, it is necessary to restart mission-control-5( you can do this by killing the already running mission-control-5 process and then starting it from /usr/lib/telepathy/mission-control-5 or /usr/lib/mission-control-5).
  
 
====When I click on available accounts, I get an empty list====
 
====When I click on available accounts, I get an empty list====
Line 55: Line 48:
  
 
Jabber/Gmail/Facebook : Telepathy-gabble <br />
 
Jabber/Gmail/Facebook : Telepathy-gabble <br />
MSN: Telepathy-butterfly <br />
+
MSN: Telepathy-haze <br />
 
+ Plenty more.
 
+ Plenty more.
  
Line 65: Line 58:
  
 
We switched the library we use for MSN, make sure you have telepathy-haze installed, delete your MSN account and add it again. If you are up to date it will now use Haze as a backend.
 
We switched the library we use for MSN, make sure you have telepathy-haze installed, delete your MSN account and add it again. If you are up to date it will now use Haze as a backend.
 +
 +
Microsoft is pushing all users over to Skype for instant messaging, so access via the XMPP protocol is not possible after October 2013, and access via the MSP protocol is not possible after March 2014.
 +
<br />Source: [http://lists.freedesktop.org/archives/telepathy/2013-February/006374.html Microsoft statement via Telepathy mailing list (archive)]
 +
 +
====Text-ui window uses the wrong style====
 +
 +
This is a known bug in kde and the way in which dbus-activated applications start.
 +
 +
Workaround:
 +
 +
Run qtconfig (or qtconfig-qt4 in some distros) and in the first tab select the oxygen style (or whatever style you are using in kde) then save the changes and exit.
 +
 +
Alternatively, if you don't have qtconfig, edit ~/.config/Trolltech.conf, look for the [qt] section (and if there is none, create one) and add or change the "Style" variable like this:
 +
 +
<syntaxhighlight lang="ini">
 +
[qt]
 +
...
 +
Style=Oxygen
 +
...
 +
</syntaxhighlight>
 +
 +
You can replace oxygen with your favourite style.
 +
 +
====Generate debug info for different components====
 +
 +
 +
===== mission control =====
 +
 +
===== gabble =====
 +
pkill telepathy-gabble
 +
 +
GABBLE_LOGFILE=/tmp/gabble.log GABBLE_PERSIST=1 GABBLE_DEBUG=all G_MESSAGES_DEBUG=all /usr/lib/telepathy-gabble
 +
 +
the executable may be in a different path
 +
 +
===== kded4 =====
 +
start '''kdebugdialog''' and be sure that ''kded4'' is activated, then  '''kquitapp kded ; sleep 2; kded4'''
 +
check for errors in '''~/.xsession-errors'''
 +
 +
====MSN-XMPP doesn't connect====
 +
 +
You need telepathy-gabble >= 0.16.1

Latest revision as of 22:57, 10 December 2014

TroubleShooting

When compiling I get an error that it can't find TpQt4

Upgrade to latest TpQt4.

Empty Contact List 0.7

Upgrade to 0.8

I can't connect jabber accounts

Do you use *buntu? If so look in ~/.cache for a folder called dconf. If it doesn't exist create it; you've run into https://bugs.launchpad.net/ubuntu/+source/telepathy-mission-control-5/+bug/939126 although this was fixed in telepathy-mission-control-5 - 1:5.12.0-0ubuntu5.

I see the error message "--> tp-qt4 0.5.14 WARN: GetAll(AccountManager) failed with "org.freedesktop.DBus.Error.ServiceUnknown"

You have not installed all the dependencies correctly. KDE Telepathy relies on a daemon to be running called telepathy-mission-control-5. This should be available in your package manager already. You will also probably want telepathy-gabble and telepathy-haze which provide access to jabber and libpurple(MSN, ICQ etc) respectively.


I keep being told "Authentication Failed"

Make sure you have telepathy-auth-handler installed.

Do you have Empathy installed? If so remove it.

Also check all the steps in the following section.

Nothing happens when I try and start a chat with someone from the contact list.

It could be one of three causes.

Have you installed the telepathy-text-ui? If not install it.

Do you compile and install your programs to a non standard directory (anywhere but /usr)? The text-ui (like other parts of Telepathy) is Dbus activated, when the dbus method is called dbus itself finds the correct application to handle it and launches it. However it cannot do this if dbus does not know about the application. You need to make sure the files in yourinstalldir/share/dbus-1/services/* is copied to /usr/share/dbus-1/services.

If you have installed it since starting a telepathy component there is a good chance that the daemon (mission-control) will have started, any channel handlers installed since then are not recognised.

Therefore, After you perform any of the above troubleshooting steps, it is necessary to restart mission-control-5( you can do this by killing the already running mission-control-5 process and then starting it from /usr/lib/telepathy/mission-control-5 or /usr/lib/mission-control-5).

When I click on available accounts, I get an empty list

You need to install a 'connection manager'. These are upstream telepathy components that talk to the various IM networks. They should be available from your distribution.

You need.

Jabber/Gmail/Facebook : Telepathy-gabble
MSN: Telepathy-haze
+ Plenty more.

Google Talk disconnects with Network Error shortly after connecting

You need to check if your avatar (user picture) is small enough. Maximum file size allowed is 8192 bytes, maximum allowed dimensions for avatars are 96x96.

I cannot edit my MSN Account - or it consistently fails to connect with "Network Error"

We switched the library we use for MSN, make sure you have telepathy-haze installed, delete your MSN account and add it again. If you are up to date it will now use Haze as a backend.

Microsoft is pushing all users over to Skype for instant messaging, so access via the XMPP protocol is not possible after October 2013, and access via the MSP protocol is not possible after March 2014.
Source: Microsoft statement via Telepathy mailing list (archive)

Text-ui window uses the wrong style

This is a known bug in kde and the way in which dbus-activated applications start.

Workaround:

Run qtconfig (or qtconfig-qt4 in some distros) and in the first tab select the oxygen style (or whatever style you are using in kde) then save the changes and exit.

Alternatively, if you don't have qtconfig, edit ~/.config/Trolltech.conf, look for the [qt] section (and if there is none, create one) and add or change the "Style" variable like this:

[qt]
...
Style=Oxygen
...

You can replace oxygen with your favourite style.

Generate debug info for different components

mission control
gabble

pkill telepathy-gabble

GABBLE_LOGFILE=/tmp/gabble.log GABBLE_PERSIST=1 GABBLE_DEBUG=all G_MESSAGES_DEBUG=all /usr/lib/telepathy-gabble

the executable may be in a different path

kded4

start kdebugdialog and be sure that kded4 is activated, then kquitapp kded ; sleep 2; kded4 check for errors in ~/.xsession-errors

MSN-XMPP doesn't connect

You need telepathy-gabble >= 0.16.1


This page was last edited on 10 December 2014, at 22:57. Content is available under Creative Commons License SA 4.0 unless otherwise noted.