ppb / pursuedpybear

A python game engine.
https://ppb.dev/
Artistic License 2.0
258 stars 98 forks source link

SdlMixerError error when running ppb #676

Closed ace510 closed 2 years ago

ace510 commented 2 years ago

''' UserWarning: Using SDL2 binaries from pysdl2-dll 2.24.0 Traceback (most recent call last): File "C:\Users\ihclark\Python-2022-9-30\ppb_gam.py", line 3, in ppb.run() File "C:\Python39\lib\site-packages\ppb__init.py", line 152, in run with make_engine(setup, starting_scene=starting_scene, title=title, **engine_opts) as eng: File "C:\Python39\lib\site-packages\ppb\engine.py", line 292, in enter self.children.enter() File "C:\Python39\lib\site-packages\ppb\engine.py", line 213, in enter__ self._stack.enter_context(system) File "C:\Python39\lib\contextlib.py", line 429, in enter_context result = _cm_type.enter(cm) File "C:\Python39\lib\site-packages\ppb\systems\sound.py", line 127, in enter mix_call(Mix_Init, MIX_INIT_FLAC | MIX_INIT_MOD | MIX_INIT_MP3 | MIX_INIT_OGG) File "C:\Python39\lib\site-packages\ppb\systems\sdl_utils.py", line 94, in mix_call raise SdlMixerError(f"Error calling {func.name}: {err.decode('utf-8')}") ppb.systems.sdl_utils.SdlMixerError: Error calling Mix_Init: Failed loading ModPlug_Tell: The specified procedure could not be found. '''

error happens with Python 3.9.5 on 64 bit WIn 10 21H1

Code to reproduce: ''' import ppb

ppb.run() '''

troberts-28 commented 1 year ago

Did you have any luck with this?

ace510 commented 1 year ago

worked a treat! thank you