Launch Error
AnsweredHello,
I have files saved on box that I usually read via the terminal. I recently have had issues opening box with a pop up saying "launch error: see py2app website for debugging launch issues". I'm not sure what's going on but it won't allow me to run scripts from box anymore given this issue
-
I have the same issue, py2app error with no details on how to actually solve. I have tried uninstalling, re-installing, software updates, Mac OS updates, etc. I created a new user account and box drive worked fine, but it's only on my user account that I get this error. I don't even have py2app installed, so seems like something else is going on here.
-
Hey Emily
I worked with my internal IT team to solve the issue with my specific laptop, not sure if it will help. I had a file within my python/3.11/lib/python/site-packages directory called distutils-precedence.pth that looks like within the file that contained "var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get(var, 'local') == 'local'; enabled and __import__('_distutils_hack').add_shim(); "
I nullified this document by changing the name to distutils-precedence.pth (nullify) and the issue is resolvedHope it helps!
-
Same here, I had a 'rouge' install of python3.11 at ~/Library/Python/3.11 that was getting pulled into the path and used by Box.
Note to developers:
Maybe this should be restricted from happening since you already distribute a full version of python in /Applications/Box.app/Contents/Resources/lib/python3.11/
From the py2app developer docs they say for the "--use-pythonpath
" build option that "PYTHONPATH is not included in the minimal shell environment used by the application launcher." which is weird, so maybe it is being included for some specific reason, and is causing the issue we are seeing in this ticket. -
This issue started appearing after my MacOs had conflicting python environment. The box was installed when the default python environment was the environment created by anaconda. Later on, I used another environment as the default and got messed up.
In my case I did the following to solve the problem.
1. Uninstall the box
2. Go to the same default python environment what it used to be when box was installed.
3. Install the box again
Suggestion:
If you want any other python environment, don't change the default one, instead, create virtual environment and use it within the project.
Please sign in to leave a comment.
Comments
9 comments