[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] mixer.music in runtime



hrmm,

Could you try adding...
--includes=pygame.mixer_music
includes = ['pygame.mixer_music']

or
--includes=pygame.mixer.music
includes = ['pygame.mixer.music']


Or failing that... a work around might be to exclude it, and copy it
in manually.

eg.
--excludes=pygame
copytree(PYGAME_DIR, DISTRIBUTION_DIR)


On Wed, May 21, 2008 at 10:17 AM, Keith Nemitz <musenik@xxxxxxxxx> 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.
>> >> >> >
>> >> >> >
>> >> >>
>> >> >
>> >> >
>> >>
>> >
>> >
>>
>
>