zedapp / zed

Rethinking code editing.
http://zedapp.org
MIT License
2.22k stars 162 forks source link

An issue with installing an extension #548

Open domenkozar opened 9 years ago

domenkozar commented 9 years ago

I created https://github.com/domenkozar/zed-flake8, but once it's installed I get following output (in standalone mode using Zed 1.1.0):

[32487:0525/125411:INFO:CONSOLE(28)] ""Error while emitting" "modeset" "Cannot read property 'requiredCapabilities' of undefined" "TypeError: Cannot read property 'requiredCapabilities' of undefined\n    at Object.api.isVisible (app://./js/command.js:76:47)\n    at eval (app://./js/handlers.js:104:32)\n    at Array.filter (native)\n    at getHandlerCommandsForMode (app://./js/handlers.js:103:41)\n    at runSessionHandler (app://./js/handlers.js:115:32)\n    at analyze (app://./js/handlers.js:190:13)\n    at eval (app://./js/handlers.js:41:21)\n    at EventEmitter.emit (app://./js/lib/events.js:47:30)\n    at Object.api.setSessionMode (app://./js/modes.js:110:30)\n    at eval (app://./js/session_manager.js:52:31)"", source: app://./js/log.js (28)

Once I restart Zed, the addon starts to work.

cc @zefhemel