microsoft / microsoft/TypeScript-Sublime-Plugin

Stop spamming ERROR: can not send request; node process not running, on my console

Open
#618 3 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
236
Avg merge
21d 13h
Merged PRs (30d)
1

Description

I have this package installed on my Sublime Text on a machine where I do not have node installed. So it is expected it to not work, however this should not keep spamming my console with these messages every time some thing happens:

unloading plugin MaxPane.layouts_doc
unloading plugin MaxPane.max_pane
unloading plugin MultiEditUtils.MultiEditUtils
unloading plugin MultiEditUtils.selection_fields
unloading plugin UnitTesting.ut
2017-09-11 11:41:29,232: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:29,241: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:29,251: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:29,261: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:29,267: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:29,282: -1219987712: ERROR: can not send request; node process not running
reloading settings Packages/User/Package Control.sublime-settings
Unable to parse binding {keys: [ctrl+alt+w]}
Unable to parse binding {keys: [ctrl+shift+w]}
Unable to parse binding {keys: [ctrl+alt+w]}
Unable to parse binding {keys: [ctrl+shift+w]}
reloading settings Packages/User/Preferences.sublime-settings
2017-09-11 11:41:31,854: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:31,865: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:31,877: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:31,886: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:31,889: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:31,892: -1219987712: ERROR: can not send request; node process not running
Package Control: The dependency 'python-markdown' is installed, but out of date; upgrading to latest release 2.6.9 from 2.6.6...
Package Control: The dependency 'python-markdown' has successfully been installed or updated
Package Control: Upgraded GitGutter to 1.7.4
Package Control: Upgraded MaxPane to 2017.09.06.17.38.05
ignored packages updated to: ["All Autocomplete", "Anaconda", "ApplySyntax", "BracketHighlighter", "C++ Completions", "C++ Snippets", "C++ Starting Kit", "ColorHelper", "DictionaryAutoComplete", "FileManager", "Find++", "FuzzyFilePath", "Gist", "Git", "GitGutter", "GotoLastEditEnhanced", "Javatar", "Jedi - Python autocompletion", "Local History", "Matlab Completions", "MatlabFilenameAutoComplete", "MultiEditUtils", "MySQL Snippets", "Project Specific Syntax Settings", "Qt Completions for C++", "ScopeAlways", "sublime-text-2-buildview", "SublimeCodeIntel", "SyncedSideBar", "UnitTesting", "Vintage", "WordHighlight"]
2017-09-11 11:41:40,153: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:40,158: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:40,164: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:40,169: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:40,175: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:40,182: -1219987712: ERROR: can not send request; node process not running
reloading plugin MaxPane.layouts_doc
reloading plugin MaxPane.max_pane
Unable to parse binding {keys: [ctrl+alt+w]}
Unable to parse binding {keys: [ctrl+shift+w]}
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
2017-09-11 11:41:41,527: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:41,534: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:41,543: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:41,551: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:41,561: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:41,574: -1219987712: ERROR: can not send request; node process not running
ignored packages updated to: ["All Autocomplete", "Anaconda", "ApplySyntax", "BracketHighlighter", "C++ Completions", "C++ Snippets", "C++ Starting Kit", "ColorHelper", "DictionaryAutoComplete", "FileManager", "Find++", "FuzzyFilePath", "Gist", "Git", "GitGutter", "GotoLastEditEnhanced", "Javatar", "Jedi - Python autocompletion", "Local History", "Matlab Completions", "MatlabFilenameAutoComplete", "MySQL Snippets", "Project Specific Syntax Settings", "Qt Completions for C++", "ScopeAlways", "sublime-text-2-buildview", "SublimeCodeIntel", "SyncedSideBar", "UnitTesting", "Vintage", "WordHighlight"]
2017-09-11 11:41:43,569: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:43,577: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:43,586: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:43,598: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:43,609: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:43,622: -1219987712: ERROR: can not send request; node process not running
Package Control: Upgraded MultiEditUtils to 1.8.3
reloading plugin MultiEditUtils.MultiEditUtils
reloading plugin MultiEditUtils.selection_fields
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
2017-09-11 11:41:45,342: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:45,346: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:45,349: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:45,352: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:45,355: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:45,359: -1219987712: ERROR: can not send request; node process not running
Unable to parse binding {keys: [ctrl+alt+w]}
Unable to parse binding {keys: [ctrl+shift+w]}
reloading settings Packages/User/Preferences.sublime-settings
2017-09-11 11:41:46,568: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:46,572: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:46,577: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:46,586: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:46,590: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:46,596: -1219987712: ERROR: can not send request; node process not running
Package Control: Upgraded UnitTesting to 1.0.6
ignored packages updated to: ["All Autocomplete", "Anaconda", "ApplySyntax", "BracketHighlighter", "C++ Completions", "C++ Snippets", "C++ Starting Kit", "ColorHelper", "DictionaryAutoComplete", "FileManager", "Find++", "FuzzyFilePath", "Gist", "Git", "GitGutter", "GotoLastEditEnhanced", "Javatar", "Jedi - Python autocompletion", "Local History", "Matlab Completions", "MatlabFilenameAutoComplete", "MySQL Snippets", "Project Specific Syntax Settings", "Qt Completions for C++", "ScopeAlways", "sublime-text-2-buildview", "SublimeCodeIntel", "SyncedSideBar", "Vintage", "WordHighlight"]
2017-09-11 11:41:50,266: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:50,271: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:50,279: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:50,285: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:50,290: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:50,296: -1219987712: ERROR: can not send request; node process not running
reloading plugin UnitTesting.ut
Traceback (most recent call last):
  File "/opt/sublime_text/sublime_plugin.py", line 109, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "/opt/sublime_text/sublime_plugin.py", line 915, in load_module
    exec(compile(source, source_path, 'exec'), mod.__dict__)
  File "ut in /home/linux/.config/sublime-text-3/Installed Packages/UnitTesting.sublime-package", line 19, in <module>
ImportError: cannot import name UnitTestingCurrentPackageCommand
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
2017-09-11 11:41:51,308: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:51,316: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:51,324: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:51,326: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:51,328: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:51,331: -1219987712: ERROR: can not send request; node process not running
reloading settings Packages/User/Preferences.sublime-settings
2017-09-11 11:41:52,132: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:52,135: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:52,139: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:52,142: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:52,152: -1219987712: ERROR: can not send request; node process not running
2017-09-11 11:41:52,157: -1219987712: ERROR: can not send request; node process not running
2017-09-11 12:18:20,745: -1219987712: ERROR: can not send request; node process not running

Showing this message one time show is more than enough to know what is happening

Related:

  1. https://github.com/Microsoft/TypeScript-Sublime-Plugin/issues/235 ERROR: can not send request; node process not running

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with Node unavailable and review the related TypeScript-Sublime-Plugin issue #235. Trace where the “can not send request; node process not running” message is emitted; done means the missing process is reported once rather than repeatedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.