Sublime Forum

Plugin_host.exe has stopped working

#1

I am running a ST3 version 3143 64 bit,

Every time I double click any file (.py, .c, .h, .txt etc) I get a message saying ‘plugin_host.exe has stopped working - A problem caused the program to stop working correctly. Please close the program’

I am not able to print a console log as all the ribbons disappear which is really annoying

I have tried looking online for information but nothing seems to fix, I have removed and reinstalled ST multiple times, I have tried to ignore packages, I am really stuck as to why this is happening. My company are using Trend as their antivirus and it is an absolute pain for us software developers, I read somewhere that this may be the cause of this? is that possible?

If so then I am completely screwed as I love this text editor and have a paid license, would be a shame to not be able to use it properly due to an antivirus!

If I open the application and drag the files I want to open into the application tabs then I have no problem, its only when you double click a file and it has to manually open through ST.

Please someone help!

0 Likes

#2

Did you try:

  • View
  • Show Console
  • import sublime; sublime.log_commands(True) (set False to disable again)

to find out what’s happening? Not sure if that’s what you meant with “printing a console log”.


Make sure you’re targeting the Sublime Text 3\sublime_text.exe binary, not the Sublime Text 3\subl.exe:

  • WIN + I (Win10 Settings)
  • Apps
  • Standard Apps
  • Standard Apps by file type
0 Likes

#3

Hi rppn,

Thank you for a reply.

This is the log from Sublime text when I open it up normally:

DPI scale: 1
startup, version: 3143 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
working dir: /C/Program Files/Sublime Text 3
packages path: /C/Users/edgells01/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/edgells01/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /C/Users/edgells01/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: [“Vintage”]
pre session restore time: 0.252917
startup time: 0.285917
first paint time: 0.287917
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
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.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.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
plugins loaded
Unable to fetch update url contents

Unfortunately I am not able to access any of the tabs at the top of Sublime when I double click a file to be opened in ST.

I am literally missing everything when I try to open a file through sublime text - I have no ‘file’ ‘edit’ ‘selection’ ‘find’ ‘view’ ‘goto’ ‘tools’ ‘project’ ‘preferences’ ‘help’

0 Likes