[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] mixer.music in runtime
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] mixer.music in runtime
- From: "René Dudfield" <renesd@xxxxxxxxx>
- Date: Thu, 3 Apr 2008 08:17:53 +1100
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Wed, 02 Apr 2008 17:17:59 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=DlrKyilavhIblWyFeahAaCs2FRZk2bfZPeGKEJIuInQ=; b=bkfy2Pbc498sGKnBjUPXW9rZW3sI+qyqjy1G+3BBIKH3E2HIDLwXccmt+vKLoKv9BfAj7WvNSgIVpsMUWERYUMJfm1rLvQfw6KYgII0ovw+xRgtJ2ixxDapr0lHngFgYak67i0kk+Aq5UCGc/HIdQtzWyBfUFYtZ0Xp/SfXWXHk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EJqGnYDvYAMrP6lnwtc64qrapY975ePSN03R0nfna9LawoM2KEa4UJ4a3Bu/lHajBewqO4zGhtXju2FDIXVzSSkuTXBmWSkTcn4YIx1w3rDP7vNDdWDFPHXH27IPRm80RESYCLWDmo+YRRcWDExM0Bf0V+hCFMw24i3FkgnBTyI=
- In-reply-to: <47F35C62.5050405@xxxxxxxxxxx>
- References: <47F2DF2B.9010607@xxxxxxxxxxx> <47F35C62.5050405@xxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Can you tell py2exe to include the pygame.music_mixer or
mixer_music.pyd module specifically?
On Wed, Apr 2, 2008 at 9:13 PM, Bo Jangeborg <bo@xxxxxxxxxxx> wrote:
> More info on mixer.music
> It works in the pygame 1.7 so looks like we have a bug in 1.8.
>
> Bo Jangeborg skrev:
>
>
>
> > Hi
> >
> > I am trying to run pygame.mixer.music after having created a py2exe.
> >
> > The import seem to work ok, but it never loads the music method
> > so the following doesn't work
> >
> > import pygame.mixer
> > print pygame.mixer.music
> >
> > Traceback (most recent call last):
> > File "test.pyw", line 728, in <module>
> > File "test.pyw", line 128, in main
> > File "vers_01\Program\Test\testgame.pyw", line 66, in run
> > File "vers_01\Program\Test\testgame.pyw", line 147, in __init__
> > File "vers_01\Program\Test\testgame.pyw", line 158, in initiate_music
> > File "vers_01\Program\TestMusic\__init__.py", line 1, in <module>
> > File "vers_01\Program\TestMusic\musix.pyw", line 11, in <module>
> > AttributeError: 'module' object has no attribute 'music'
> >
> >
> > In the developer version it works and the print returns :
> >
> > <module 'pygame.mixer_music' from 'C:\Program
> Files\Python2_5\Lib\site-packages\pygame\mixer_music.pyd'>
> >
> > What could I be doing wrong ?
> >
> >
>
>