Open sachin3593 opened 10 months ago
What version of Sublime Text are you using?
I am getting this error very frequently, and it's starting to make Sublime Text nearly unusable. Any help resolving this would be very gratefully received. I've tried disabling any unused packages, but obviously something is still not happy.
Using build 4169 on Ubuntu 20.04.
Console output:
startup, version: 4169 linux x64 channel: stable
executable: /opt/sublime_text/sublime_text
application: /opt/sublime_text
working dir: /home/<myusername>
packages path: /home/<myusername>/.config/sublime-text-3/Packages
state path: /home/<myusername>/.config/sublime-text-3/Local
zip path: /opt/sublime_text/Packages
zip path: /home/<myusername>/.config/sublime-text-3/Installed Packages
ignored_packages: ["ActionScript", "AppleScript", "ASP", "C#", "C++", "Clojure", "D", "Erlang", "Graphviz", "Groovy", "Haskell", "Lisp", "Markdown", "MarkdownEditing", "Matlab", "Objective-C", "Outline", "R", "Rails", "Swift", "Twig", "Vintage"]
pre session restore time: 0.142132
OpenGL Context Information:
GL API Version: 4.6 (Core Profile) Mesa 21.2.6
GLSL Version: 4.60
Vendor: Intel
Renderer: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
startup time: 0.607415
first paint time: 0.623977
git: located Sublime Merge installed at /opt/sublime_merge
git: using configuration from system git install
git: tracking working dir /home/<myusername>/Projects/<redacted>
git: tracking working dir /home/<myusername>/Projects/<redacted>
git: tracking working dir /home/<myusername>/Projects/<redacted>
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading python 3.3 plugin Alignment.Alignment
reloading plugin Default.copy_path
reloading plugin Default.echo
reloading plugin Default.exec
reloading python 3.3 plugin BracketHighlighter.bh_core
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.html_print
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.keymap
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin Bracketeer.bracketeer
reloading plugin EditorConfig.EditorConfig
reloading plugin Package Control.plugin
reloading plugin Sass.plugin
reloading python 3.3 plugin BracketHighlighter.bh_logging
reloading python 3.3 plugin BracketHighlighter.bh_plugin
reloading python 3.3 plugin BracketHighlighter.bh_popup
reloading python 3.3 plugin BracketHighlighter.bh_regions
reloading python 3.3 plugin BracketHighlighter.bh_remove
reloading python 3.3 plugin BracketHighlighter.bh_rules
reloading python 3.3 plugin BracketHighlighter.bh_search
reloading python 3.3 plugin BracketHighlighter.bh_swapping
reloading python 3.3 plugin BracketHighlighter.bh_wrapping
reloading python 3.3 plugin BracketHighlighter.support
reloading python 3.3 plugin Case Conversion.case_conversion
reloading python 3.3 plugin Case Conversion.case_parse
reloading python 3.3 plugin Delphi Style Bookmarks.delphi_style_bookmarks
reloading python 3.3 plugin GenerateUUID.generate_uuid
reloading python 3.3 plugin HTMLBeautify.HTMLBeautify
reloading python 3.3 plugin InsertDate.insert_date
reloading python 3.3 plugin Javascript Beautify.jsbeautify
reloading python 3.3 plugin JsFormat.js_formatter
reloading python 3.3 plugin LSP-angular.plugin
reloading python 3.3 plugin LSP-json.commands
reloading python 3.3 plugin LSP-json.plugin
reloading python 3.3 plugin LSP-json.schema_store
reloading python 3.3 plugin LSP-typescript.commands
reloading python 3.3 plugin LSP-typescript.plugin
reloading python 3.3 plugin LSP-typescript.plugin_types
reloading python 3.3 plugin LSP.boot
reloading python 3.3 plugin MarkdownPreview.browser
reloading python 3.3 plugin MarkdownPreview.markdown_preview
reloading python 3.3 plugin MarkdownPreview.markdown_settings
reloading python 3.3 plugin MarkdownPreview.markdown_wrapper
reloading python 3.3 plugin Select Quoted.select_quotes
reloading python 3.3 plugin Swap Selections.SwapSelections
reloading python 3.3 plugin TrailingSpaces.trailing_spaces
reloading python 3.3 plugin xpath.lxml_parser
reloading python 3.3 plugin xpath.sublime_helper
reloading python 3.3 plugin xpath.sublime_input
reloading python 3.3 plugin xpath.sublime_input_quickpanel
reloading python 3.3 plugin xpath.sublime_input_view
reloading python 3.3 plugin xpath.sublime_lxml
reloading python 3.3 plugin xpath.tests
reloading python 3.3 plugin xpath.xpath
reloading python 3.3 plugin LiveReload.__init__
reloading python 3.3 plugin LiveReload.CoffeescriptPlugin
LiveReload: added file /livereload.js with content-type: text/javascript
reloading python 3.3 plugin LiveReload.CommandAPI
reloading python 3.3 plugin LiveReload.CompassPlugin
reloading python 3.3 plugin LiveReload.LESSPlugin
reloading python 3.3 plugin LiveReload.LiveReload
reloading python 3.3 plugin LiveReload.SimpleReloadCallback
reloading python 3.3 plugin LiveReload.SimpleReloadPlugin
reloading python 3.3 plugin LiveReload.SimpleReloadPluginDelay
reloading python 3.3 plugin LiveReload.SimpleWSCallback
reloading python 3.3 plugin TypeScript.main
2024-03-26 09:19:46,175: 140341995403072: WARNING: TypeScript plugin initialized.
WARNING:TS:TypeScript plugin initialized.
plugins loaded
Package Control: All specified packages up-to-date!
Error loading Packages/Markdown/Markdown.sublime-syntax: Unable to read Packages/Markdown/Markdown.sublime-syntax in Packages/Sass/Syntaxes/SCSS.sublime-syntax
no such context Packages/Markdown/Markdown.sublime-syntax#bold at line 502 column 16 of Packages/Sass/Syntaxes/SCSS.sublime-syntax
no such context Packages/Markdown/Markdown.sublime-syntax#italic at line 503 column 16 of Packages/Sass/Syntaxes/SCSS.sublime-syntax
no such context Packages/Markdown/Markdown.sublime-syntax#code-spans at line 504 column 16 of Packages/Sass/Syntaxes/SCSS.sublime-syntax
error: plugin_host-3.3 has exited unexpectedly, some plugin functionality won't be available until Sublime Text has been restarted
@robpoyntz Does it happen in safe mode?
Seems to be OK in safe mode. I have been using it for a few hours and not noticed an issue. Switching back to the normal mode and the error appeared almost immediately.
There is nothing in particular that seems to trigger the error, although I have noticed that some file types generate the error more often than others. eg Angular HTML template files produces the error very often (eg it's often hard to write any code at all without the error occurring). TypeScript and JavaScript files the error still occurs, but less often.
How can I help in debugging this?
Syntax error messages are caused by "Markdown" and/or "MarkdownEditing" packages being disabled, which syntaxes such as SCSS rely on.
Also Microsoft's TypeScript package is problematic in ST4 as it provides cumbersome plugin functionality and overrides the more advanced core TypeScript syntax of ST4.
As for the Typescript package check https://github.com/microsoft/TypeScript-Sublime-Plugin/issues/786
Thanks for the responses. Have been a long-time user of ST, and wasn't aware of the Microsoft Typescript package issue.
Have removed MS Typescript package, now just using LSP + LSP-Typescript. I re-enabled the Markdown and MarkdownEditing packages. Things seemed to be much improved for a few hours, but unfortunately the error just reoccurred.
I suggest using the "ignored_packages"
setting to systematically narrow down the package causing the crash.
I've disabled a number of packages, and have had zero crashes so far today. I'll slowly start adding them back in until I discover the culprit.
Thanks for your assistance everyone 🙇♂️
What version of Sublime Text are you using?
I am using version 4169
@sachin3593 Does it happen in safe mode?
@sachin3593 Does it happen in safe mode?
Yes, I tried in safe mode also
@sachin3593 Do you have a anti-virus or other 3rd party software that may interfere? Does it still happen if you temporarily disable it?
Description of the bug
plugin_host-3.3 has exited unexpectedly
Steps to reproduce
Start ST
Expected behavior
plugin_host-3.3 has exited unexpectedly
Actual behavior
plugin_host-3.3 has exited unexpectedly
Sublime Text build number
plugin_host-3.3 has exited unexpectedly
Operating system & version
WIndows 10
(Linux) Desktop environment and/or window manager
No response
Additional information
No response
OpenGL context information
No response