[Python-bugs-list] [ python-Bugs-410993 ] linuxaudiodev fails during "make test".
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 22 Mar 2002 10:50:19 -0800
Bugs item #410993, was opened at 2001-03-24 10:39
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=410993&group_id=5470
Category: Python Library
Group: Platform-specific
>Status: Closed
Resolution: Accepted
Priority: 4
Submitted By: Sean Reifschneider (jafo)
Assigned to: Nobody/Anonymous (nobody)
>Summary: linuxaudiodev fails during "make test".
Initial Comment:
Picked up 2.1b2 and did "./configure" and "make test"
on a RedHat 7.0-based system:
test test_linuxaudiodev crashed -- linuxaudiodev.error:
(11, 'Resource temporarily unavailable')
Was running build as root, and "mpg123" runs
successfully before and after. This is on a ThinkPad
240 with esssolo1 driver with 2.2.18 kernel.
Sean
----------------------------------------------------------------------
>Comment By: Neil Schemenauer (nascheme)
Date: 2002-03-22 18:50
Message:
Logged In: YES
user_id=35752
Patch 489989 has already been checked in and should
have fixed this bug. I'm going to close it.
----------------------------------------------------------------------
Comment By: Charles G Waldman (cgw)
Date: 2001-12-06 20:43
Message:
Logged In: YES
user_id=7151
Please see patch #489989 and the comments attached there.
I have submitted a patch with the minimal fix.
The reason this took so long was that I started working
on a complete replacement for the audio output modules,
which would detect ALSA/OSS/esd/etc, then I discovered the
"libao" audio output library which does this. I think that
any future work on an audio module for Python should just
wrap libao.
Patch 489989 can't do any harm, and it might help.
----------------------------------------------------------------------
Comment By: Charles G Waldman (cgw)
Date: 2001-09-05 18:36
Message:
Logged In: YES
user_id=7151
I've been out of town and somewhat out of the loop.
But I'm back now. I will look into this over the
weekend.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-09-05 17:56
Message:
Logged In: YES
user_id=6380
Charles, are you still interested in tackling this bug? If
not, let us know!
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-08-11 04:27
Message:
Logged In: YES
user_id=6380
We've gone back and forth over this one.
It seems to happen for certain drivers for certain audio
cards -- the problem has disappeared for most folks, but
still works for some hardware (e.g. some Dell laptops
running Mandrake).
I've assigned this to Charles Waldman since he seems to know
this area; he commented in python-dev that the
initialization order is invalid.
Charles if you still feel you won't touch this module
(because you'd rather give us a new module that does the
right thing), please close it as Won't Fix -- that's what I
almost did until I remembered your interest.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-04-11 16:36
Message:
Logged In: YES
user_id=6380
I think you misread his comment. He wasn't mpg123 *during*
the test, he ran it before and after the test to verify that
in fact his audio was in good working order.
But, I do suggest to him to try the CVS version, which is
one (relevant) fix ahead of 2.1b2.
That version passes the test for me, but I don't hear a
thing, so I'm not sure what's going on...
----------------------------------------------------------------------
Comment By: Jeremy Hylton (jhylton)
Date: 2001-04-11 14:19
Message:
Logged In: YES
user_id=31392
I think we should report this failure as "test skipped." I
think it
would be essentially correct: The test was skipped because
the
device was in use. It's not a crash.
Not sure how this test is affected by the recent changes to
the module to handle EAGAIN.
Sean or Guido-- can you try it with the updated module? My
Linux audio config is screwed up.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=410993&group_id=5470