Python Forum

Full Version: Pygame: Help With JackRouter Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I am trying to get started with pygame, but when I run 'python hello_python.py' from the terminal, my game starts however I get the following error, can anyone give me some advice on how to fix this error? Any help is greatly appreciated, thanks.

2017-07-29 15:52:39.550 Python[19062:5831034] Error loading /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter: dlopen(/Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter, 262): Library not loaded: /System/Library/Frameworks/Jackmp.framework/Versions/A/Jackmp
Referenced from: /Library/Audio/Plug-Ins/HAL/JackRouter.plugin/Contents/MacOS/JackRouter
Reason: image not found
2017-07-29 15:52:39.550 Python[19062:5831034] Cannot find function pointer New_JackRouterPlugIn for factory 7CB18864-927D-48B5-904C-CCFBCFBC7ADD in CFBundle/CFPlugIn 0x7fd7668d3980 </Library/Audio/Plug-Ins/HAL/JackRouter.plugin> (bundle, not loaded)
I know the pygame users on this forum (myself, mekire, etc.) do no have Macs so i think you would be better helped at reddit where the main pygame community resides, and has a few mac users that could help occasionally.

I have never seen that error, but i know pygame had a lot of troubles with macs compared to other OS's. I could google search the error, but it would be only speculation and i couldnt confirm or deny and resolving since i dont have a mac.

Some info for future...
What was your method of installation? Pygame should be like any other 3rd party lib now
pip install pygame
There could be an issue with the one apple lists

What is your Mac version? I know of a few issues with each version.
(Jul-29-2017, 08:17 PM)metulburr Wrote: [ -> ]What was your method of installation? ... What is your Mac version?

I think I may have followed this article for installing:

http://florian-berger.de/en/articles/ins...3-on-os-x/

Here are my system specs:

mac OS High Seirra 10.3
MacBook Pro (Retina, 15-inch, Mid 2015)
Processor 2.8 GHz Intel Core i7
Memory 16 GB 1600 MHz DDR3
Graphics Intel Iris Pro 1536 MB

I'll check the reddit forum as well, best.
Isn't Jack the audio system used in linux, that runs on top of ALSA?  Is it installed by default on macs?
I could be barking up the wrong tree, Jack could be something completely different in this context.
(Jul-31-2017, 07:19 PM)nilamo Wrote: [ -> ]Isn't Jack the audio system used in linux, that runs on top of ALSA?  Is it installed by default on macs?
I could be barking up the wrong tree, Jack could be something completely different in this context.

I'm not sure but considering you might be right, I re-installed jack audio drivers, python and pygame. I can now run pygame, which is good.

I still need to sort out this error I get with jack audio when I run a pygame file, but some progress still:

Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock