[Python-Dev] Still looking for volunteer to run Windows buildbot

Trent Mick trentm at ActiveState.com
Mon Mar 13 20:04:06 CET 2006


[Thomas Heller wrote]
> Trent Mick wrote:
> 
> > Yup. Looks like my build worked. Another TODO now though:
> > 
> > - Figure out why usage of:
> >     winsound.PlaySound(<something>, winsound.SND_ALIAS)
> >   fails on my Win2k box. This is why the test suite fails on that box.
> > 
> 
> Doesn't that always fail when there is no soundcard in the machine?

I don't know. The *other* winsound tests work and I *can* hear that
rising tone goop coming out of the box's tinny speakers when the test
suite is run.

http://www.python.org/dev/buildbot/all/x86%20W2k%202.4/builds/5/step-test/0


http://msdn.microsoft.com/library/default.asp?url=/library/en-us/multimed/htm/_win32_playsound.asp
    PlaySound
    ...
    SND_ALIAS   The pszSound parameter is a system-event alias in the
                registry or the WIN.INI file.
    ...

These aliases are apparently supposed to be in the registry or WIN.INI,
but the docs don't say where. Perhaps my Win2k box is missing some
registry entries. No, I think it is the config of the box -- read on.

I do have a sound card in that box, however, the "Sounds and Multimedia
Properties" dialog (off Control Panel) says that there are "No Playback
Devices" for Sound Playback. So I guess that is it. Maybe the sound card
in that box is not hooked up. Grrr. I certainly don't care about the
sound card for that box but I don't want the test suite to keep
reporting a spurious failure.

Trent

-- 
Trent Mick
TrentM at ActiveState.com


More information about the Python-Dev mailing list