[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] pygame.mixer.music broken in py2app games?
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] pygame.mixer.music broken in py2app games?
- From: "Charlie Nolan" <funnyman3595@xxxxxxxxx>
- Date: Fri, 12 Dec 2008 13:31:46 -0600
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Fri, 12 Dec 2008 14:31:50 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=6AZK+TCJx0QI9TYqJ6m6wJwudEHAtfQup6yFDpRDS5M=; b=iBXQCLox7WaSFmHx4zbvORHBD/q3Uf16cfKZs0wLRM1Zaz3pv5OCUPPOqau09FiMgx 6offL01C8ndZVcG31AhSvCr+1LOTyMofhyd/cH9FzRN7rqUxuXc12YSk7VFKXjpGbLGX zxWja8iLV8bEKiaC7DnjaqkuwB+E/sCuD4cgM=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=LJVfiMQB5IspeouWXTnlQEc4tcgvtFXSF8UoMNjWwO0zEodJk1g1zi0Tq/U6SuMtYD Z2FlkiyzFQPb01vazfTm0GiQ0Mml3aGtb0JEi/2s67UWStNKagC/qbwfmM7jop3tSLe3 9cOQZHyqzGGZOp5mwK7lTS9BpBJnaA/JlYT8w=
- In-reply-to: <20081212182607.GA28073@xxxxxxxxxxxxxxxxxxxx>
- References: <20081212182607.GA28073@xxxxxxxxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
I haven't had any problems with it. Maybe the from/import construct
is confusing py2app? Try this:
import pygame.mixer.music as music
-FM
On Fri, Dec 12, 2008 at 12:26 PM, James Paige <Bob@xxxxxxxxxxxxxxxxxxx> wrote:
> Hey, I was just working on bundling up a game for Mac with py2app, and
> the app always crashes on any use of pygame.mixer.music. I can reproduce
> it with code this simple:
>
> from pygame.mixer import music
>
> This works perfectly when I run it normally, but in a py2app bundle that
> line (or any line that accesses pygame.mixer.music) will crash with an
> AttributeError
>
> Has anybody else seen this?
>
> I am using Mac OS X 10.3 python 2.5.2 pygame 1.8.2 and I have tried both
> py2app 0.3.6 (stable) and py2app 0.4.4 (dev)
>
> ---
> James Paige
>