Skip to content
Alexander Akulich edited this page Jan 27, 2020 · 9 revisions

How to get debug output?

Read the generic wiki for common debug tips and tricks. Here is some CM specific stuff:

Run from the command line

In order to get debug output from the connection manager, run it from a command line (in the user session). Typical command will be /usr/libexec/telepathy-morse (Gentoo, Sailfish OS) or /usr/lib64/telepathy-morse (Debian, Ubuntu) or /usr/lib/telepathy/telepathy-morse (Arch), depends on your distribution. Please ensure that the Telegram account is offline (in the local telepathy client) and the connection manager is not already run (you'll get Unable to register service error).

Login does not work

Sailfish OS

Run jolla-settings from a privileged command line and get the logs:

devel-su -p
jolla-settings

See also: Sailfish OS troubleshooting

Desktop

First of all, check that the account is registered in Telepathy accounts: mc-tool summary

If there is no morse account, then you can try to add it directly to the telepathy account system: mc-tool add morse/telegram MyAccount string:account=123456789 (where MyAccount is a display name of the account and 123456789 is a full international phone number)

The command will print you the account name such as morse/telegram/_31234567890

The added account should be enabled by command mc-tool enable morse/telegram/_31234567890 then you can request online status for the account: mc-tool request morse/telegram/_31234567890 online

Clone this wiki locally