• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

SwedeVictory

Private
18 Badges
Apr 1, 2024
19
2
  • Crusader Kings II: Way of Life
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Hello, I'm receiving the below error and the game won't launch. I tried the fix on the thread "Still not able to start the game on MacBook." That did not help - still receiving the same error. Is there a fix to this?

I also read something about older Macs with Intel chips not being able to run the game anymore. Is that the final word on this? There's not going to be any future fix? I would need to purchase a new computer that can run the game, or use Apple Bootcamp to play through Windows?

Screenshot 2024-03-31 at 10.28.51 AM.png
 
It looks like the issue is that something - presumably from Google - is setting an env variable with slashes the wrong way around, which upsets our launcher as it looks like a filepath.

If you do printenv in a terminal session you'll probably see that string from the error you quote.

I haven't yet been able to determine what app or utility is doing this to your MacOS; it's pretty rare as I've seen about 4 cases only so far.

With one user we've tried to use the unset command to remove that env variable but we can't get it to work, it just seems to be ignored. If you have any experience with such matters in MacOS, or access to help in that area, that would be great!
 
It seems I was able to get the game working.

Though I don't know exactly which steps below contributed to the solution.

First off, if you have this problem, try to simply reinstall Google Chrome from the .dmg installer (probably quit Steam & the launcher first), and attempt to run the game again.

If that did not work, then it's possible that the solution might be to remove, or possibly to unload and/or reload, a certain launchd service (read below to understand context).


Here are the steps I performed in full, for the Paradox Launcher Error 127:

/bin/sh: COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/MY_USER/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET=/private/tmp/com.apple.launchd.VtNuhwXQwg/ServiceProcessSocket: No such file or directory

  • NB: Nothing pertaining to the above seemed to be visible when running printenv, so that gave no clues.


  • launchctl list | grep -i chrome:

    Showed the process below loaded into launchd:

    662 0 application.com.google.Chrome.724810456.724811071- 78 com.google.Chrome.framework.service_process/Users/my_user/Library/Application_Support/Google/Chrome


  • In the .plist file /Users/my_user/Library/LaunchAgents/com.google.Chrome.framework.plist, this line looked relevant:

    <string>com.google.Chrome.framework.service_process/Users/my_user/Library/Application_Support/Google/Chrome</string>

    This string appears be related to /Applications/Google Chrome.app/Contents/Versions/35.0.1916.114/Google Chrome Helper.app/Contents/MacOS/Google Chrome Helper. Not sure right now if that is a current, recent, or old version of Google Chrome and its helper – but assuming that it's related to Google Chrome 35, that's an old version, perhaps from around the year 2014.


  • WARNING: What I tried next was a complete experiment, and I'm not sure if this plist should be loaded or not, per default. Not sure if I damaged something by testing the below. If you want to solve the problem, as said, perhaps try reinstalling Chrome before unloading and loading, or editing, the service. I spent no more than 5 minutes on this.


  • Since the "/" character in the string looked a bit suspicious for what I would imagine would be not "Google/Chrome" but rather "Google Chrome", I tried changing the slash character into a space instead. But this did NOT immediately causally help with running the game:

    <string>com.google.Chrome.framework.service_process/Users/my_user/Library/Application_Support/Google Chrome</string>



  • Then I ran: launchctl unload /Users/my_user/Library/LaunchAgents/com.google.Chrome.framework.plist

  • Followed by: launchctl load /Users/my_user/Library/LaunchAgents/com.google.Chrome.framework.plist


  • I then tried running the game, which did not work.


  • Since it would not help with running the game, I reverted the string back to the previous value, and then loaded the .plist file again (a reversion of what I just tried):

    <string>com.google.Chrome.framework.service_process/Users/my_user/Library/Application_Support/Google/Chrome</string>


  • launchctl unload /Users/my_user/Library/LaunchAgents/com.google.Chrome.framework.plist

  • launchctl load /Users/my_user/Library/LaunchAgents/com.google.Chrome.framework.plist


  • The game still did not work. In System Settings > General > Login Items > Allow in the Background, I disabled "Google Chrome: Item from an unidentified developer (i)" which had just been added automatically as a consequence when I tried the unloading/loadings.


  • Then I reinstalled Chrome from the .dmg. I didn't wipe Chrome from the system entirely, wasn't needed. The game could now start without error.


  • For whatever reason, launchctl list | grep -i chrome no longer lists the previously loaded process (com.google.Chrome.framework.service_process). Not sure if that is a good or bad thing. Google Chrome seems to work as normal. I'm assuming that the loaded .plist had something to do with an launchd service for an older version of Chrome not in use anymore, though that's a wild guess.
 
Last edited:
  • 2Like
Reactions: