Skype und Linux
Mein neuestes Vorhaben beinhaltet die Ansteuerung von Skype auf einem Gentoo System. Dazu habe ich mir neben Skype in der Version 2.0.0.72 auch den Python-Wrapper runtergeladen. Das wird gut auf der Skype Seite dokumentiert.
Das Beispiel gestartet und FAIL:
******************************************************************************
Connecting to Skype..
API attachment status: Refused
Traceback (most recent call last):
File "test.py", line 39, in <module>
skype.Attach();
File "/usr/lib64/python2.5/site-packages/Skype4Py/skype.py", line 483, in Attach
self._API.Attach(self.Timeout, Wait)
File "/usr/lib64/python2.5/site-packages/Skype4Py/API/posix_x11.py", line 346, in Attach
self.SetAttachmentStatus(apiAttachRefused)
File "/usr/lib64/python2.5/site-packages/Skype4Py/API/__init__.py", line 130, in SetAttachmentStatus
self.CallHandler('attach', AttachmentStatus)
File "/usr/lib64/python2.5/site-packages/Skype4Py/API/__init__.py", line 89, in CallHandler
f(mode, arg)
File "/usr/lib64/python2.5/site-packages/Skype4Py/skype.py", line 355, in _Handler
raise ISkypeAPIError('Skype connection refused')
Skype4Py.errors.ISkypeAPIError: Skype connection refused
Okay das war dann wirklich einfach! Die Interprozesskommunikation ist gestört. Dazu muss man nur den dbus nachinstallieren und gut.
emerge sys-apps/dbus
emerge dev-python/dbus-python
done.
Links(im neuen Fenster):