Try to put
if pygame.mixer.get_busy() != None:before
for event in pygame.event.get():Put the whole for loop in the if get_busy() block. I had the same error but for my MP3 player just yesterday and that fixed it. It can't get the event as it appears to not be initialized.