Plugin host has exited unexpectedly plugin functionality sublime text ошибка
arindambarman1-zz commented on July 22, 2018
Just checked. doesn't work.
pindapuj commented on August 16, 2018
Ditto. Same problem.
MacOS 10.11.6
Sublime 3176
1 Answer 1
General reports on the 'net indicate that plugin_host can crash for various reasons, like a recently-updated plugin with a major error in it. In those cases, the general advice seems to be to disable suspect addons one by one to identify the culprit.
For users with a custom theme and Package Control, though, the culprit is often simple: there's a package control bug that can sometimes just spontaneously disable plugins. When that one of those plugins is your theme, the interface will break and the plugin_host will report that it has crashed.
In this case, since Seti UI is in there, we'll select it and delete it. Don't forget to also delete the comma on the line beforehand: the last line in the "ignored_packages" list must not end with a comma, but the rest of the lines should.
After deleting that line, save your file, and suddenly Sublime Text should be looking normal again:
(This answer was based on a solution from qgates on the sublime text forums that worked for me, and I'm reproducing the solution here for posterity + ease of finding it.)
After I updated to the last version of SublimeText3 (build 3176) the plugin_host started to crash every time that I select a tab with a PHP file.
plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted
I thought maybe some extension could be the culprit but can't debug which one. I tried to put all the installed_packages to the ignored_packages in my Package Control.sublime-settings, but didn't help (actually I could still invoke plugin functions via the command palette; 🤔 but couldn't think of other ways to disable all extensions at once).
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
spywhere commented Jul 27, 2014
Alright, the test was run and the issue cannot be replicated but despite the result, I found another issue with class/package creation which was added in previous version. This may or may not be the cause of this issue. So, I want you to test it again on an upcoming version (v14.07.27.15.44) so that it might help solve this issue.
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
1 Answer 1
After update to the mot recent SublimeText version (3176), plugin_host was crashing each time that I switched to a tab containing a PHP file.*
I had no detail of the error or stack-trace so I could just guess.
In my case the issue was with the PHP-CS (Code Sniffer) extension of SublimeLinter, that was crashing. Removing it was preventing the crash. Couldn't find any related issue on the github repository so I assumed that the error was due to my local configuration rather than a bug in the code.
I checked the SublimeLinter configuration and saw that there was an entry to phpcs setting a specific path for the executable , rather than relying on the PATH system environment variable in order to find it.
I tried to run the configured path (in my case was /usr/local/opt/php/bin/phpcs) and verified that the (configured) executable was the one crashing (using echo $? revealed me the exit code 133).
So I tried to remove the SublimeLinter configuration relative to phpcs (making it rely on the system configuration for locating it), saved, restarted Sublime and voilà 🎉 it worked flawlessly without any more crash of plugin_host! The pointed phpcs was the wrong one and I needed to use the one found under the PATH env.
I suppose that either the _plugin_host_ or SublimeLinter assume that the called executables will work correctly once found at their location, or that they don't handle correctly the exit-status from the processes and provoke a bigger crash in some scope/context where the error is not caught and the stack-trace is not generated (hence, no useful info in the log over the console). I might be wrong on the diagnosis, but maybe this will help somebody else to track down the issue and find why these crashes happen instead of catching the exception 🙂
I am attempting to follow through the example in Getting Started and compiles fine. But when I do Builds. > Run Main Class I get the following error in the console after I start typing a few characters to answer Hey! What's your name:
The text was updated successfully, but these errors were encountered:
spywhere commented Jul 27, 2014
After searching about the error on the internet, seems like there're no way to find out which is the cause. I'll try modify Sublime Text default libraries ("sublime" and "sublime_plugin") to show the activity of each command call. So, it'll be some tests for you to run, hope you don't mind helping me since it might take a few times to do the test and also might be some Sublime Text modifications which I don't know if it'll help this issue or not.
Laravel
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
spywhere commented Jul 26, 2014
Alright, I'll test it today with fresh install Sublime Text 3 latest stable version possible, Package Control and Javatar latest version (v14.17.24.12.27). If the case can be replicated, fix should come within if not a few hours, it'd be a few days. But, if the case cannot be replicated, I'll mark this as "can't rep" until further report comes.
martymcflywa commented Jul 27, 2014
Appreciate you looking into it. I'll let you know the result when the new version rolls up.
spywhere commented Jul 27, 2014
Could you try it with just Sublime Text 3, Package Control and Javatar? I thought that the cause of the error might be plugin conflicted.
1 ответ 1
Общие отчеты в сети показывают, что plugin_host может аварийно завершить работу по разным причинам, например, недавно обновленный плагин с большой ошибкой в нем. В этих случаях общим советом, по-видимому, является отключение подозрительных надстроек один за другим для выявления виновного.
Однако для пользователей с пользовательской темой и управлением пакетами виновник часто прост: есть ошибка управления пакетами, которая иногда может просто самопроизвольно отключать плагины. Когда этот один из этих плагинов станет вашей темой, интерфейс сломается, и plugin_host сообщит о сбое.
Пока что Sublime Text работает достаточно хорошо. Перейдите в « Настройки», затем « Настройки» - "Пользователь", найдите запись "ignored_packages" и посмотрите, есть ли там ваша тема:
В этом случае, поскольку пользовательский интерфейс Seti находится там, мы выберем его и удалим. Не забудьте также предварительно удалить запятую в строке: последняя строка в списке ignored_packages не должна заканчиваться запятой, а остальные строки должны.
После удаления этой строки сохраните ваш файл, и внезапно Sublime Text снова будет выглядеть нормально:
(Этот ответ был основан на решении qgates на возвышенных текстовых форумах, которое работало для меня, и я воспроизвожу здесь решение для потомков + простота его нахождения.)
Django
The Web framework for perfectionists with deadlines.
We are working to build community through open source technology. NB: members must have two-factor auth.
I just got an alert from Sublime Text 3 with the following message:
plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted
I don't have many plugins: Package Control, CoffeeScript, AngularJS, and LESS. I have a custom theme (Seti UI) but now the theme's disappeared, and in fact the entire interface has become messed up. The status bars are missing, and the tabs are behaving really strangely:
What can I do to get it working again?
server
A server is a program made to process requests and deliver data to clients.
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
martymcflywa commented Jul 27, 2014
Ok so I'm on version v14.07.27.15.44b and just tried it. unfortunately still has the same error.
martymcflywa commented Jul 26, 2014
Thanks for the prompt response.
- Sure did, was able to replicate the error.
- Console log here
- I'm unable to invoke the Action History menu after the error occurs, but here's what it looks like after I restart ST.
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
Visualization
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
martymcflywa commented Jul 27, 2014
Sure thing. Just tried a fresh install, removed all ST folders from Users/AppData/Local & ../Roaming before reinstalling. The only packages installed are Package Control and Javatar. Resulting in same error i'm afraid.
Recommend Org
TensorFlow
An Open Source Machine Learning Framework for Everyone
Recommend Projects
martymcflywa commented Jul 27, 2014
I don't mind at all. As i said, i really appreciate you looking into it and would be glad to help.
Recommend Topics
spywhere commented Jul 27, 2014
Short version
Replace the file from the link below in your Sublime Text installation folder (it should be already exists) and don't forget to backup the original one too then try reproduce the error again and send me back a full log from Sublime Text.
Long version
Please do the following instructions strictly.
- Please do all of these instructions in a new, fresh install Sublime Text with Package Control and Javatar (latest version, v14.07.27.15.44) installed
- Prepare your test but don't build or run it yet
- Backup "sublime.py" in Sublime Text installation directory (if you're using a portable version, try using a normal one)
- Replace the file from the link below in Sublime Text installation directory
- Restart Sublime Text. Tuning a project (such as Source Folder or JDK) if necessary
- Try reproduce the error
- Reply with all the log from Sublime Text's console
After replying me, please restore the original file back since the file I sent to you might spam Sublime Text's console and also cause Sublime Text performance decrease.
PS. Don't leave Sublime Text open too long after replace the file since that might spam Sublime Text's console and also make me harder to trace the commands.
PPS. If you can't open any quick panel, try downloading the file again. I just updated it.
plugin_host неожиданно завершился, функциональность плагина не будет доступна, пока Sublime Text не будет перезапущен
У меня не так много плагинов: Package Control, CoffeeScript, AngularJS и LESS. У меня есть пользовательская тема (Seti UI), но теперь тема исчезла, и фактически весь интерфейс испортился. Строки состояния отсутствуют, а вкладки ведут себя очень странно:
Что я могу сделать, чтобы это снова заработало?
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
spywhere commented Jul 27, 2014
This new version will not show any note about update but you can check current version via Ctrl+Shift+K, Ctrl+Shift+H since this update did not fix anything big or feature improvements.
Related Issues (20)
- Cycle through errors with F4 HOT 4
- building always lands on the last error HOT 1
- Support for "go fmt" HOT 11
- Golang vs. Go HOT 2
- Can't split main package over multiple files HOT 7
- Expand relative paths for settings?
- Font color change and word warp settings for the command prompt?
- Environment Autodetection
- Edit plugins and IDEs HOT 1
- Missing attributes on Sublime 3.0 HOT 2
- Language Server? HOT 2
- Once compiled, the CPU jumps HOT 1
- Builder doesn't support the new (Go 1.12) module way of organizing source. HOT 1
- Setting environment variables. HOT 1
- changing flags for the run command to "." HOT 2
- Error in ST3 console after running a build
- Create a new version
- terminus support instead of default terminal.
- Adding goimports
Читайте также: