Hi,

A quick look at the code shows that the None comes from

  self.schan = self.sobj.play()

and the doc of the self.sobj.play() method says:

    /*DOC*/    "Sound.play([loops, [maxtime]]) -> Channel\n"
    /*DOC*/    "play sound\n"
    /*DOC*/    "\n"
    /*DOC*/    "Starts playing a song on an available channel. If no channels 
are\n"
    /*DOC*/    "available, it will not play and return None.

so I guess that is the case that was hit, and the None value
is not tested for.

Thanks,

James

-- 
lightyears crashed with AttributeError in Set()
https://bugs.launchpad.net/bugs/194183
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to