[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] unhelpful error message "open /dev/sequencer: No such device"



In a message of Fri, 04 Nov 2005 13:34:30 CST, Joe Wreschnig writes:
>
>--=-blQ47u6+y10bhIQuPP33
>Content-Type: text/plain
>Content-Transfer-Encoding: quoted-printable
>
>On Thu, 2005-11-03 at 18:23 +0100, Laura Creighton wrote:
>> pygame.init() was failing on this debian linux machine with the error m
>es=
>sage:
>>=20
>> open /dev/sequencer: No such device
>
>Are you sure it was failing? Pygame (SDL) will print this message if it
>can't find the sequencer, but it doesn't raise an exception, and it
>doesn't stop sound from working.
>
>>>> import pygame
>>>> pygame.init()
>open /dev/sequencer: No such file or directory
>(6, 0)
>>>>
>
>If you were actually seeing an exception, it was probably from something
>else.
>--=20
>Joe Wreschnig <piman@xxxxxxxxxxxxxx>
>
>--=-blQ47u6+y10bhIQuPP33


Sorry, I was unclear, and (somewhat confused it seems).  By failing I did 
not mean 'generates an exception'.  I meant 'I get no sound'.  I connected
the lack of sound with that error message, which perhaps was wrong.  At
any rate, the modprobe -l | grep snd-seq and then go and modprobe everything
on that list was the fix that got the sound to work.  (While building and
installing 4 kernels by hand, and a whole lot of other things I read
doing google searches didn't. :-( )

I still think that the error message

open /dev/sequencer: No such file or directory

should be reserved for cases where this is no /dev/sequencer or where
the permissions are such that you cannot open it, but maybe that's just
me. :-)

Sorry for any confusion,
Laura Creighton