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 (5.1.0.968).

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

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()
s.Attach()
nya:skype tzayad$ python test.py 
Segmentation fault

No comments:

Post a Comment