Launch Error

Answered
New post

Comments

9 comments

  • Ang Chen

    i have exact same issues, and already tried uninstall and install Box Driver again and again. Also tried to use terminal to open Box.app. But still not figure out the root cause. Need Box support help for this Launch Error. 

    1
    Comment actions Permalink
  • Hunter Hambright

    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.

    1
    Comment actions Permalink
  • Emily Furtado

    I have tried getting in touch with box support but they keep re-directing me to this page :( Will update if I get some info 

    1
    Comment actions Permalink
  • Hunter Hambright

    Why is this marked as answered? 

    0
    Comment actions Permalink
  • Emily Furtado

    I'm not sure. I put in a tech support ticket so we'll see 

    0
    Comment actions Permalink
  • Hunter Hambright

    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 resolved

    Hope it helps! 

    2
    Comment actions Permalink
  • Emily Furtado

    Thank you so much Hunter!! I actually got in touch with my internal team who were able to help me based on your comment. We had to trash the file instead of changing the name but that fixed the issue!

    0
    Comment actions Permalink
  • Simon Ryan

    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.

    0
    Comment actions Permalink
  • Mohan Giri

    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.

    0
    Comment actions Permalink

Please sign in to leave a comment.