title: pyspotify Segmentation Fault (libspotify)
body: <p>I am trying to work with pyspotify with but no luck.</p>
  
  <p>Setup:</p>
  
  <ul>
  <li>Ubuntu - 12.04 TLS - fresh(ish) install</li>
  <li>virtualenv - 1.8.2</li>
  <li>libspotify - 12.1.51</li>
  <li>pyspotiy - dev (1.8)</li>
  </ul>
  
  <p>I have the pyspotify example <code>jukebox.py</code> but when I run it it always gives Segmentation Fault</p>
  
  <p><em>(I had this example was working on a separate VM before however need to replicate the functionality on a fresh VM.)</em></p>
  
  <pre><code>$ python jukebox.py -uEMAIL_ADDRESS -pPASSWORD
  Logging in, please wait...
  Segmentation fault (core dumped)
  </code></pre>
  
  <p>The <code>spotify_appkey.key</code> is in the same folder (it doesn't get as far as the SegFault without the key).</p>
  
  <p>Additionally I created a script to simply connect to Spotify but this also gives a Segmentation Fault.</p>
  
  <p>from spotify.manager import</p>
  
  <pre><code>from spotify import SpotifySessionManager
  
  session = SpotifySessionManager(username=EMAIL_ADDRESS, password=PASSWORD)
  
  print('Connecting')
  session.connect()
  print('Connected')
  </code></pre>
  
  <p>This also give:</p>
  
  <pre><code>$ python test.py
  Session created
  Connecting
  Segmentation fault (core dumped)
  </code></pre>