EionRobb / pidgin-opensteamworks

Steam plugin for Pidgin/libpurple
153 stars 5 forks source link

No steam protocol shown in KTP and Empathy #84

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Get the library and copy it into /usr/lib/purple-2
2. No steam account wizard is shown in account settings

What version of the product are you using? On what operating system?
I tried both 1.3 and 1.4 libraries. In pidgin it shows. 

Please provide any additional information below.
Ubuntu 14.04, KDE telepathy 0.8.

If there are any logs i can give to you, tell me.

Original issue reported on code.google.com by schmaker...@gmail.com on 13 Aug 2014 at 9:01

GoogleCodeExporter commented 9 years ago
Can you get a libpurple debug log out of telepathy when it's trying to load in 
the plugin so's?  I'm guessing its a missing dependency, but hard to tell 
without a debug log :)

Original comment by eionrobb on 13 Aug 2014 at 9:17

GoogleCodeExporter commented 9 years ago
I sure can, just tell me the way how to do it :)

Original comment by schmaker...@gmail.com on 13 Aug 2014 at 9:20

GoogleCodeExporter commented 9 years ago
no idea with telepathy, sorry, might have to ask the telepathy guys how to do 
that

Original comment by eionrobb on 13 Aug 2014 at 9:23

GoogleCodeExporter commented 9 years ago
Assuming you have telepathy-haze installed, put
<code>
HAZE_DEBUG=all
HAZE_LOGFILE=/tmp/haze-log
</code>
or something like that into /etc/environment and reboot.

http://manpages.ubuntu.com/manpages/precise/man8/telepathy-haze.8.html

Original comment by futpib on 16 Aug 2014 at 9:58

GoogleCodeExporter commented 9 years ago
For some reasons telepathy-haze seems to not be working. Propably packaging 
issue. Feel free to mark this as invalid - moved to Pidgin :)

Original comment by schmaker...@gmail.com on 16 Aug 2014 at 10:07

GoogleCodeExporter commented 9 years ago
The short:

solved by symlinking libgnome-keyring.so to libgnome-keyring.so.0

The long:

I had the same problem. Followed the same instructions (throw libsteam.so in 
the purple-2 plugins folder) and saw the Steam protocol appear under Pidgin, 
but not Empathy with telepathy-haze installed.

Followed futpib's instructions, except you don't really need to reboot; just 
logging out and in again is sufficient. Grepping the resulting log file yielded 
an interesting clue:
<code>
(haze:7626): purple/steam-CRITICAL **: Could not load Gnome-Keyring library.  
This plugin requires Gnome-Keyring when used with Telepathy-Haze
</code>

This string appears in libsteam.c, and means that libgnome-keyring.so could not 
be loaded. Indeed, on my system I had the following files:
<code>
/usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0
/usr/lib/x86_64-linux-gnu/libgnome-keyring.so.0.2.0
</code>

After creating a symlink:
<code>
sudo ln -s libgnome-keyring.so.0 /usr/lib/x86_64-linux-gnu/libgnome-keyring.so
</code>
all I had to do was logout, login, and Steam appears in the Empathy protocols 
list. My friends are offline, so haven't had the chance to test it properly, 
but I now see Steam traffic in the log, and I see my offline friends in the 
list.

Perhaps this could be documented on the wiki?

Original comment by lord.nig...@gmail.com on 12 Sep 2014 at 1:59

GoogleCodeExporter commented 9 years ago
Issue 85 has been merged into this issue.

Original comment by eionrobb on 18 Nov 2014 at 11:17

GoogleCodeExporter commented 9 years ago
I don t see any link between my issue and this one. They are totally different.

Original comment by pasnox on 18 Nov 2014 at 11:25

SasakiSadako commented 7 years ago

im Using the User Stable Release of KDE Neon with the Newsest Libpurple / Pidgin and Telepathy Packages.

On Pidgin it works great, but for me not with KDE Telepathy. The Issue is, i already have the symlink for the Gnome Keyring, but the Steam Plugin is not showing inside of the Account Manager in KDE.

Telepathy Haze seems to work, because there is a Office360 via Libpurple Option.

Here is my Log from Telepathy Haze


(haze:5746): purple/plugins-CRITICAL **: /usr/lib/purple-2/libsametime.so has a prefs_info, but is a prpl. This is no longer supported.

(haze:5746): purple/plugins-CRITICAL **: /usr/lib/purple-2/libjabber.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?

(haze:5746): purple/plugins-CRITICAL **: /usr/lib/purple-2/pidgin-libnotify.so is not loadable: undefined symbol: pidgin_blist_visibility_manager_add

(haze:5746): purple/plugins-CRITICAL **: /usr/lib/purple-2/liboscar.so is not usable because the 'purple_init_plugin' symbol could not be found.  Does the plugin call the PURPLE_INIT_PLUGIN() macro?
purple/util-Message: Reading file xmpp-caps.xml from directory /tmp/haze-krRAEb
purple/util-Message: File /tmp/haze-krRAEb/xmpp-caps.xml does not exist (this is not necessarily an error)
purple/jabber-Message: creating hash tables for data objects
purple/gg-Message: Loading Gadu-Gadu protocol plugin with libgadu 1.12.1...
purple/steam-Message: Purple core UI name: haze
purple/steam-Message: UI Core is Telepathy-Haze, attempting to load Gnome-Keyring
purple/util-Message: Reading file accounts.xml from directory /tmp/haze-krRAEb
purple/util-Message: File /tmp/haze-krRAEb/accounts.xml does not exist (this is not necessarily an error)
purple/util-Message: Reading file status.xml from directory /tmp/haze-krRAEb
purple/util-Message: File /tmp/haze-krRAEb/status.xml does not exist (this is not necessarily an error)

(haze:5746): purple/certificate-WARNING **: CertificateVerifier x509, singleuse requested but not found.
purple/certificate-Message: CertificateVerifier singleuse registered

(haze:5746): purple/certificate-WARNING **: CertificatePool x509, ca requested but not found.

(haze:5746): purple/certificate-WARNING **: CertificateScheme x509 requested but not found.

(haze:5746): purple/certificate/x509/ca-WARNING **: Lazy init failed because an X.509 Scheme is not yet registered. Maybe it will be better later.
purple/certificate/x509/ca-Message: Init failed, probably because a dependency is not yet registered. It has been deferred to later.
purple/certificate-Message: CertificatePool ca registered

(haze:5746): purple/certificate-WARNING **: CertificatePool x509, tls_peers requested but not found.
purple/certificate-Message: CertificatePool tls_peers registered

(haze:5746): purple/certificate-WARNING **: CertificateVerifier x509, tls_cached requested but not found.
purple/certificate-Message: CertificateVerifier tls_cached registered
purple/nss-Message: Cipher - TLS_AES_128_GCM_SHA256: Disabled
purple/nss-Message: Cipher - TLS_CHACHA20_POLY1305_SHA256: Disabled
purple/nss-Message: Cipher - TLS_AES_256_GCM_SHA384: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256: Enabled
purple/nss-Message: Cipher - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256: Enabled
purple/nss-Message: Cipher - TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA: Enabled
purple/nss-Message: Cipher - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA: Enabled
purple/nss-Message: Cipher - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA: Enabled
purple/nss-Message: Cipher - TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256: Enabled
purple/nss-Message: Cipher - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA: Enabled
purple/nss-Message: Cipher - TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_ECDSA_WITH_RC4_128_SHA: Enabled
purple/nss-Message: Cipher - TLS_ECDHE_RSA_WITH_RC4_128_SHA: Enabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_AES_128_GCM_SHA256: Enabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256: Disabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_AES_128_GCM_SHA256: Disabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_AES_256_GCM_SHA384: Disabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_AES_256_GCM_SHA384: Disabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_AES_128_CBC_SHA: Enabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_AES_128_CBC_SHA: Enabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_AES_128_CBC_SHA256: Enabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256: Disabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_AES_256_CBC_SHA: Enabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_AES_256_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_AES_256_CBC_SHA256: Enabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256: Disabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_CAMELLIA_256_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_3DES_EDE_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_RC4_128_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDH_RSA_WITH_AES_128_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDH_RSA_WITH_AES_256_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDH_RSA_WITH_3DES_EDE_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDH_ECDSA_WITH_RC4_128_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDH_RSA_WITH_RC4_128_SHA: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_AES_128_GCM_SHA256: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_AES_256_GCM_SHA384: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_AES_128_CBC_SHA: Enabled
purple/nss-Message: Cipher - TLS_RSA_WITH_AES_128_CBC_SHA256: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_CAMELLIA_128_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_AES_256_CBC_SHA: Enabled
purple/nss-Message: Cipher - TLS_RSA_WITH_AES_256_CBC_SHA256: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_CAMELLIA_256_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_SEED_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_3DES_EDE_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_RC4_128_SHA: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_RC4_128_MD5: Disabled
purple/nss-Message: Cipher - TLS_DHE_RSA_WITH_DES_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_DHE_DSS_WITH_DES_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_DES_CBC_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_ECDSA_WITH_NULL_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDHE_RSA_WITH_NULL_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDH_RSA_WITH_NULL_SHA: Disabled
purple/nss-Message: Cipher - TLS_ECDH_ECDSA_WITH_NULL_SHA: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_NULL_SHA: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_NULL_SHA256: Disabled
purple/nss-Message: Cipher - TLS_RSA_WITH_NULL_MD5: Disabled
purple/nss-Message: TLS supported versions: 0x0300 through 0x0303
purple/nss-Message: TLS versions allowed by default: 0x0301 through 0x0303

(haze:5746): purple/certificate-WARNING **: CertificateScheme x509 requested but not found.
purple/certificate-Message: CertificateScheme x509 registered
purple/util-Message: Reading file smileys.xml from directory /tmp/haze-krRAEb
purple/util-Message: File /tmp/haze-krRAEb/smileys.xml does not exist (this is not necessarily an error)
purple/stun-Message: using server
purple/util-Message: Reading file blist.xml from directory /tmp/haze-krRAEb
purple/util-Message: File /tmp/haze-krRAEb/blist.xml does not exist (this is not necessarily an error)
purple/prefs-Message: Reading /tmp/haze-krRAEb/prefs.xml
purple/prefs-Message: Reading /etc/purple/prefs.xml
purple/prefs-Message: Finished reading /etc/purple/prefs.xml
purple/util-Message: Writing file prefs.xml to directory /tmp/haze-krRAEb
purple/util-Message: Writing file /tmp/haze-krRAEb/prefs.xml
purple/util-Message: Writing file status.xml to directory /tmp/haze-krRAEb
purple/util-Message: Writing file /tmp/haze-krRAEb/status.xml
tp-glib-Message: Exiting
purple/certificate-Message: CertificateVerifier tls_cached unregistered
purple/certificate-Message: CertificateVerifier singleuse unregistered
purple/certificate-Message: CertificatePool tls_peers unregistered
purple/certificate-Message: CertificatePool ca unregistered
purple/main-Message: Unloading normal plugins
purple/plugins-Message: Unloading plugin NSS
purple/certificate-Message: CertificateScheme x509 unregistered
purple/plugins-Message: Unloading plugin SSL
purple/blist-Message: Destroying
purple/main-Message: Unloading all plugins
purple/plugins-Message: Unloading plugin Sametime
purple/plugins-Message: Unloading plugin XMPP
purple/jabber-Message: destroying hash tables for data objects
purple/plugins-Message: Unloading plugin AIM
purple/plugins-Message: Unloading plugin IRC
purple/plugins-Message: Unloading plugin GroupWise
purple/plugins-Message: Unloading plugin Gadu-Gadu
purple/plugins-Message: Unloading plugin Tcl Plugin Loader
purple/plugins-Message: Unloading plugin SIMPLE
purple/plugins-Message: Unloading plugin Bonjour
purple/plugins-Message: Unloading plugin Steam
purple/plugins-Message: Unloading plugin Perl Plugin Loader
purple/plugins-Message: Unloading plugin ICQ
purple/plugins-Message: Unloading plugin Zephyr

Thanks in advance for your great Work

EionRobb commented 7 years ago

@SasakiSadako It looks like it loads the Steam plugin successfully from the looks of that debug log. I don't see it loading the sipe/Office365 plugin though. Is there a different telepathy-haze being used with your KDE Telepathy?

SasakiSadako commented 7 years ago

@EionRobb I only have one Telepathy-haze installed.

here is the Package:

sadako@Yukie:~$ dpkg -l telepathy-haze
Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
         Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name                                            Version                      Architektur                  Beschreibung
+++-===============================================-============================-============================-===================================================================================================
ii  telepathy-haze                                  0.8.0-2                      amd64                        Telepathy connection manager that uses libpurple

it seems youre right about not loading the Plugins into Telepathy.

Ive installed the Skype Libpurple Plugin and it not shows inside of KDE Telepathy. the Office 360 Libpurple is listed inside the Account management of KDE Telepathy, so i thought it would work.

Something i found out in following Link: https://bbs.archlinux.org/viewtopic.php?pid=1603911#p1603911

There it seems the same thing with Office 360 and the issue was with a libpurple Facebook Plugin. There is a solution listed by creating some Files.

i can create the Files too, and i get a Steam Option inside of KDE Telepathy, but because i dont have the full infos for the Configuration Files – see inside the Link – it cannot start the Account Creation and will exit with an Error Message.

Thank you for your quick Response