[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] mixer.music in runtime
Is sound card support enabled, tested, and working in your virtual
environments? I have encountered errors similar to the ones you
describe, only to discover that my virtual machine simply had the sound
card emulation disabled. (that would still probably be a bug in
pygame, for bad error detection of a missing soundcard)
---
James
On Tue, May 20, 2008 at 05:17:19PM -0700, Keith Nemitz wrote:
>
> I've started with fresh XP Sp2 installs on both VMWare and Parallels. Installed only what was
> necessary:
>
> Python, pygame, numeric, py2exe.
>
> As per earlier suggestion, I uninstalled py2exe 0.6.6 and installed 0.6.5.
>
> I don't think it's an install issue.
>
>
>
>
> --- René Dudfield <renesd@xxxxxxxxx> wrote:
>
> > ah,
> >
> > Have you tried uninstalling (maybe manually deleting) pygame, py2exe
> > etc then installing again?
> >
> > Maybe there's some problem with that...
> >
> >
> >
> > On Wed, May 21, 2008 at 9:31 AM, Keith Nemitz <musenik@xxxxxxxxx> wrote:
> > > Yep,
> > >
> > > It's in Program Files/(AppFolder)/lib.
> > >
> > >
> > >
> > >
> > > --- René Dudfield <renesd@xxxxxxxxx> wrote:
> > >
> > >> hi,
> > >>
> > >> Do you have the smpeg dll copied in there?
> > >>
> > >> cu,
> > >>
> > >>
> > >> On Wed, May 21, 2008 at 7:58 AM, Keith Nemitz <musenik@xxxxxxxxx> wrote:
> > >> > I get the following:
> > >> >
> > >> > AttributeError: 'module' object has no attribute 'mixer_music'
> > >> >
> > >> >
> > >> >
> > >> >
> > >> > --- Brian Fisher <brian@xxxxxxxxxxxxxxxxxxx> wrote:
> > >> >
> > >> >> I guess that means it imports correctly, but somehow fails to get bound?
> > >> >>
> > >> >> I don't suppose you can access the functionality you need through
> > >> >> mixer_music, can you?
> > >> >>
> > >> >> In other words, what happens if you change the first failing
> > >> >> pygame.mixer.music.whatever line to pygame.mixer_music.whatever? (after the
> > >> >> import, of course)
> > >> >>
> > >> >> On Tue, May 20, 2008 at 11:17 AM, Keith Nemitz <musenik@xxxxxxxxx> wrote:
> > >> >>
> > >> >> > I put your import line right above the failing line, but got exactly the
> > >> >> > same results. I even
> > >> >> > removed the try/exception block.
> > >> >> >
> > >> >> >
> > >> >>
> > >> >
> > >> >
> > >>
> > >
> > >
> >
>
>