Running Sublime Text 3 Build 3047, I have recently had issues loading some packages. Specifically, my SublimeLinter stopped working and it’s one I would like to get working again.
In trying to see what might be causing the issue, I noticed that my HTML.encode_html_entities package isn’t loading either. I don’t know if it’s related, but here’s the issues in my log: (all other user-installed packages are disabled except for SublimeLinter).
I’m not sure that it’s strictly related to SublimeLinter, but I did open a ticket on their GitHub: github.com/SublimeLinter/Sublim … issues/495
I’ve been using Sublime 3 for a while, pretty much since the start of Beta, and have only recently had noticeable problems. I can’t think of anything I did that would have caused this (i.e. install a new package, changed any settings, etc), except maybe update to Build 3047? I can’t recall if it’s been a month since it was working.
Here’s the relevant code from the console:
[code]# everything’s normal until…
reloading plugin HTML.encode_html_entities
Traceback (most recent call last):
File “/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py”, line 73, in reload_plugin
m = importlib.import_module(modulename)
File “X/importlib/init.py”, line 88, in import_module
File “”, line 1577, in _gcd_import
File “”, line 1558, in _find_and_load
File “”, line 1525, in _find_and_load_unlocked
File “/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py”, line 671, in load_module
exec(compile(source, source_path, ‘exec’), mod.dict)
File “/Users/cameron/Dropbox/Application Support/Sublime Text 3/Packages/HTML/encode_html_entities.py”, line 6, in
from htmlentitydefs import codepoint2name as cp2n
ImportError: No module named ‘htmlentitydefs’
reloading plugin HTML.html_completions
reloading plugin SublimeLinter.SublimeLinter
Traceback (most recent call last):
File “/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py”, line 73, in reload_plugin
m = importlib.import_module(modulename)
File “X/importlib/init.py”, line 88, in import_module
File “”, line 1577, in _gcd_import
File “”, line 1558, in _find_and_load
File “”, line 1525, in _find_and_load_unlocked
File “”, line 586, in _check_name_wrapper
File “”, line 1023, in load_module
File “”, line 1004, in load_module
File “”, line 562, in module_for_loader_wrapper
File “”, line 854, in _load_module
File “”, line 981, in get_code
File “”, line 313, in _call_with_frames_removed
File “/Users/cameron/Dropbox/Application Support/Sublime Text 3/Packages/SublimeLinter/SublimeLinter.py”, line 393
print ‘SublimeLinter: {0} {1} ({2})’.format(language, ‘enabled’ if enabled else ‘disabled’, message)
^
SyntaxError: invalid syntax
plugins loaded
loaded 851 snippets[/code]