[Python-Dev] test_ossaudiodev hangs

Guido van Rossum guido at python.org
Tue Sep 20 20:46:47 CEST 2005


On my Linux box (Red Hat Enterprise 3), test_ossaudiodev hangs forever
when I enable it:

./python -E -tt ../Lib/test/regrtest.py -u all test_ossaudiodev
test_ossaudiodev
Traceback (most recent call last):
  File "../Lib/test/regrtest.py", line 1178, in ?
    main()
  File "../Lib/test/regrtest.py", line 333, in main
    ok = runtest(test, generate, verbose, quiet, testdir, huntrleaks)
  File "../Lib/test/regrtest.py", line 473, in runtest
    the_package = __import__(abstest, globals(), locals(), [])
  File "/home/guido/projects/python-2.4/dist/src/Lib/test/test_ossaudiodev.py",
line 136, in ?
    test()
  File "/home/guido/projects/python-2.4/dist/src/Lib/test/test_ossaudiodev.py",
line 124, in test
    play_sound_file(data, rate, ssize, nchannels)
  File "/home/guido/projects/python-2.4/dist/src/Lib/test/test_ossaudiodev.py",
line 63, in play_sound_file
    dsp.write(data)
KeyboardInterrupt

This happens both with 2.4.2c1 and with 2.5a0 from current CVS.

I know in order to debug you need more info about my audio device, but
since I never use audio on Linux, you'll have to talk me through
providing the info. I'm gvanrossum at gmail.com on Google talk BTW.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list