21 July 2011

Skype4Py Mac Problems - Attach() Causes Segmentation Fault

I was looking forward to covering Skype4py some more today but when I fired up TextMate to do some coding I noticed that some of my existing scripts no longer worked with the new version of Skype that I have (

My current setup is:
  • OS X 10.6.8 (Snow Leopard)
  • Python 2.6.1
  • Skype4Py
  • Skype

After doing a few searches I noticed that a bunch of other people are having issues on their Macs with Skype4Py as well; with most encountering segmentation faults when they try to execute the Attach() method on the Skype4Py.Skype() instance. It's unclear what exactly is causing the seg fault but all indicators point at the library not being updated to reflect changes that were made to Skype (probably after the reverse-engineered Skype protocol details hit the internet).

Quite simply here's what happens when you try a simple test script using Skype4Py:
# test.py
import Skype4Py

s = Skype4Py.Skype()
nya:skype tzayad$ python test.py 
Segmentation fault

No comments:

Post a Comment