Closed Maweypeyyu closed 9 years ago
The try/except around the import is intended to take care of this. I wonder why the first (non-relative) import fails.
Adding an encoding declaration does not help at all when I create a test case for this problem. How would that help?
Actually, the encoding declaration does work (but only in the context of ST2, not raw python2.7). I have tried to look around to figure out why it would work, but couldn't find anything. Still interested in an explanation, but in the meantime, attached patch adds the magic comment.
Hi,
on my system after installing tern_for_sublime (either from package-control or via git clone) I get the following error message in sublime's console:
python: 2.7.9 sublime-text2: v2221 linux x64 channel: stable os: debian jessy
You can simply fix it by adding the following line as the first line to utils/renderer.py:
Best wishes