[Python-Dev] test results

Fred L. Drake, Jr. fdrake@acm.org
Thu, 2 Aug 2001 15:26:24 -0400 (EDT)

Neil Schemenauer writes:
 > Something has /dev/dsp or /dev/audio open.  Are you playing MP3s or
 > running something like esd?

  This is exactly the problem I was having several months ago.  I
"solved" it by changing the permissions on the audio device:

cj42289-a(.../python/linux); ls -lF /dev/dsp
crw-rw----    1 root     audio     14,   3 Sep 27  2000 /dev/dsp
cj42289-a(.../python/linux); ./python ../Lib/test/regrtest.py test_linuxaudiodevtest_linuxaudiodev
test test_linuxaudiodev skipped --  (13, 'Permission denied', '/dev/dsp')
1 test skipped: test_linuxaudiodev

  As a side effect, the machine no longer makes that horrid screeching
sound.  ;-)


Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation