Comment 3 for bug 535446

Revision history for this message
xax200 (jacobguy3) wrote :

I also have this bug. Lucid nightly + updates
The error I get when it tries to load the module is:

on_load (/usr/lib/python2.6/dist-packages/blueman/plugins/applet/PulseAudio.py:96)
PulseAudio version: 0.9.21-63-gd3efa-dirty
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/blueman/plugins/AppletPlugin.py", line 105, in _load
    self.on_load(applet)
  File "ka", line 115, in on_load
    if int(version.split(".")[2]) < 15:
ValueError: invalid literal for int() with base 10: '21-63-gd3efa-dirty'

I was able to make a workaround for it though. I just changed line 115 of pulseaudio.py from

  if int(version.split(".")[2]) < 15:

to

  if int(version.split(".")[2].split("-")[1]) < 15:

The script couldn't convert '21-63-gd3efa-dirty' to an int, so i split again at the '-'
Cheers!