Sublime Forum

ST3 lots of errors in the console

#1

Hi,

I’ve just been installing a bunch of packages into ST3 and had them all working (I think) but today I started it up and got a package_host failed message.

I removed emmet and ternjs (errors from both of them to do with pyV8 not working) and now the host is working, but the log has a bunch of messages saying

Traceback (most recent coll last):
File: “/opt/sublime_text/sublime_plugin.py”, line 445, in is_enabled_
raise ValueError("is_enabled must return a bool’, <Nodejs.Nodejs.NodeNpmPublishCommand object at 0x7f21802dfb90)

The firs one happens just after

reloading plugin SublimeLinter.sublimelinter
plugins loaded
SublimeLinter: debug mode: off
SublimeLinter: jshint activated: /usr/bin/jshint (disabled in settings)
SublimeLinter: csslint activated: /usr/bin/csslint
reloading Packages/User/Side Bar.sublime-settings
found 13 files for base name Main.sublime-menu

and it keeps adding one to the console about every 2 seconds.

Any ideas??

I had to remove TernJS manually from the system, used the package manager for emmit.

Peter.

0 Likes

#2

One of the plugins you have installed is not returning a boolean for the is_enabled method. Do you have a Nodejs package installed? It’s hitting the problem every time it tries to figure out if the command is enabled or not.

0 Likes

#3

Thanks for the input skuroda, you are correct, I removed the node.js package and the errors have gone.

I just looked at re-installing it, but saw from the package manager that its a sublimetext-2 package. Is that likely to be the problem? I’ve not installed it for now.

Will try and install ternJS and emmet and see what happens.

Thanks again.

Peter

0 Likes