Home Download Buy Blog Forum Support

ST3: plugin_host crash on panel focus change

ST3: plugin_host crash on panel focus change

Postby enzy on Thu Nov 07, 2013 10:45 am

Sublime Text 3, build 3054
Windows 8 x64

Console:
Code: Select all
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 319, in on_deactivated
    callback.on_deactivated(v)
  File "history_list in C:\Program Files\Sublime Text 3\Packages\Default.sublime-package", line 199, in on_deactivated
AttributeError: 'NoneType' object has no attribute 'id'
error: plugin_host has exited unexpectedly, plugin functionality won't be available until Sublime Text has been restarted


Case:
Switching between files in 2 column layout, while previous file has some unfinished code, cause plugin_host crash.

Expected behavior:
plugin_host prints error to sublime text console and do not crash. If it eventually crash, sublime restart it automatically.

Plugins:
Code: Select all
{
   "installed_packages":
   [
      "AdvancedNewFile",
      "ApacheConf.tmLanguage",
      "Better TypeScript",
      "BufferScroll",
      "Clipboard Manager",
      "Compass",
      "DocBlockr",
      "EditorConfig",
      "Ember.js Snippets",
      "Emmet Css Snippets",
      "HTML Mustache",
      "HTML5",
      "JavaScript Refactor",
      "jQuery",
      "LESS",
      "Nette",
      "nginx",
      "Open-Include",
      "Package Control",
      "ShowEncoding",
      "SideBarEnhancements",
      "SublimeCodeIntel",
      "Syntax Highlighting for Sass",
      "Tag",
      "Terminal",
      "Theme - Soda"
   ],
   "repositories":
   [
      "https://github.com/sergeche/emmet-sublime/",
      "https://github.com/dnatag/SublimeTODO"
   ]
}


I have enabled save_on_focus_lost option.
enzy
 
Posts: 6
Joined: Mon Oct 03, 2011 3:40 pm

Re: ST3: plugin_host crash on panel focus change

Postby tito on Mon Nov 11, 2013 7:27 am

Disable one by one of the installed packages, untill you find the one that crash it. {2cents}
Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay

Re: ST3: plugin_host crash on panel focus change

Postby enzy on Mon Nov 18, 2013 7:13 pm

SublimeLinter is the bad boy, but that nothings changes about plugin_host crashing, which should not behave like this.
enzy
 
Posts: 6
Joined: Mon Oct 03, 2011 3:40 pm


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 25 guests