19

I currently use Sublime Text 3. Today this "plugin host has exited unexpectedly" thing started to show up, and after having restarted ST several times, I decided to uninstall it. Now I've reinstalled it, but I can't even install the Package Control because "plugin host has exited unexpectedly" continues to show up.

In the console I've found:

import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by) error: plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted 

I'm using Yosemite, so can someone tell me how to fix this problem?

1
  • build 4180 as well. also there are 2 such ones there: plugin_host-3.3 plugin_host-3.8. Commented Oct 5, 2024 at 10:08

5 Answers 5

6

I believe you have a permissions issue (usually due to copying the app around).

This other StackOverflow question has the solution you're looking for.

In terminal navigate to /path/to/your/Sublime Text.app/Contents/MacOS then change the permissions from whatever they are to 755.
chmod 755 plugin_host
Do the same for the Sublime Text executable as well.
chmod 755 Sublime\ Text

Sign up to request clarification or add additional context in comments.

Comments

2

There might be issue with any of your plugins, you must check by removing each by each to find out which one caused the problem

I had a same issue and in my case ANACONDA plugin caused the error.

Comments

0

You must have css extended completions. That was the case of the problem in my case. Go to Preferences > Package settings and disable it.

Comments

0

For m-series mac delete the old app. Download and install the lastest one.

Comments

0

When I uninstalled it on my system and then installed the latest version, then the problem disappeared.

1 Comment

Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.