Closed nikto-b closed 4 years ago
Hi @niktob560, thank you for the comment. Were not more log lines output?
Shure, there is a full output of console at cold start of VS code with calling a picker:
[Extension Host] activating extension
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] starting language server
2/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] (node:1355460) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Start child process...
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Check version of: electron-prebuilt
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Check version of: comma-separated-values
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Check version of: js-yaml
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Check version of: process-bridge
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Try to send IPC message: 1
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] [STDERR]: (electron:1355747): Pango-ERROR **: 13:08:57.382: Harfbuzz version too old (1.1.3)
t.log @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Child process disconnected
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Child process exited with code: null
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Error: Child process exited with code: null at /home/nikto_b/.vscode-oss/extensions/anseki.vscode-color-0.4.5/node_modules/process-bridge/process-bridge.js:478:19 at ChildProcess.<anonymous> (/home/nikto_b/.vscode-oss/extensions/anseki.vscode-color-0.4.5/node_modules/process-bridge/process-bridge.js:394:19) at ChildProcess.emit (events.js:203:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
t.log @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:2855 [processBridge]: Error: Child process exited with code: null
onDidChangeNotification @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:2855
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Error: Child process already exited. at sendIpc (/home/nikto_b/.vscode-oss/extensions/anseki.vscode-color-0.4.5/node_modules/process-bridge/process-bridge.js:415:31) at Timeout.<anonymous> (/home/nikto_b/.vscode-oss/extensions/anseki.vscode-color-0.4.5/node_modules/process-bridge/process-bridge.js:394:19) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7)
t.log @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:2855 [processBridge]: Error: Child process already exited.
onDidChangeNotification @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:2855
The Electron in your computer might have a problem. Try this:
/home/nikto_b/.vscode-oss/extensions/anseki.vscode-color-0.4.5
npm uninstall -g electron
npm uninstall -g electron-prebuilt
npm cache clean
npm cache ls
~/.electron
.node -e "console.log(require('electron-prebuilt'))"
Error: Cannot find module 'electron-prebuilt'
should occur (this is correct result).npm cache clean
requires --force
flag
npm cache ls
not found:
$ npm cache ls
npm ERR! Usage: npm cache add <tarball file>
npm ERR! npm cache add <folder>
npm ERR! npm cache add <tarball url>
npm ERR! npm cache add <git url>
npm ERR! npm cache add <name>@<version>
npm ERR! npm cache clean
npm ERR! npm cache verify
Other steps passed with no errors
Error still here
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] activating extension
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] starting language server
2/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] (node:1738817) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
t.log @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Start child process...
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Check version of: electron-prebuilt
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Check version of: comma-separated-values
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Check version of: js-yaml
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Check version of: process-bridge
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Try to send IPC message: 1
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] [STDERR]: (electron:1739363): Pango-ERROR **: 17:34:27.878: Harfbuzz version too old (1.1.3)
t.log @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Child process disconnected
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Child process exited with code: null
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Error: Child process exited with code: null at /home/nikto_b/.vscode-oss/extensions/anseki.vscode-color-0.4.5/node_modules/process-bridge/process-bridge.js:478:19 at ChildProcess.<anonymous> (/home/nikto_b/.vscode-oss/extensions/anseki.vscode-color-0.4.5/node_modules/process-bridge/process-bridge.js:394:19) at ChildProcess.emit (events.js:203:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
t.log @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:2855 [processBridge]: Error: Child process exited with code: null
onDidChangeNotification @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:2855
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262 [Extension Host] Error: Child process already exited. at sendIpc (/home/nikto_b/.vscode-oss/extensions/anseki.vscode-color-0.4.5/node_modules/process-bridge/process-bridge.js:415:31) at Timeout.<anonymous> (/home/nikto_b/.vscode-oss/extensions/anseki.vscode-color-0.4.5/node_modules/process-bridge/process-bridge.js:394:19) at listOnTimeout (internal/timers.js:531:17) at processTimers (internal/timers.js:475:7)
t.log @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:262
/usr/lib/code/out/vs/workbench/workbench.desktop.main.js:2855 [processBridge]: Error: Child process already exited.
onDidChangeNotification @ /usr/lib/code/out/vs/workbench/workbench.desktop.main.js:2855
Hmm... If an error about a library was shown, this may solve this issue: https://github.com/anseki/vscode-color/issues/89 However, this issue might be related to glibc. If so, it is not easy... https://github.com/anseki/vscode-color/issues/90 Then, you had better use Color Picker of VS Code instead.
No reply came, then this abandoned issue is closed.
VS Code about page:
OS more info:
Some 'special' env variables:
colorHelper.disableGpu
set to1
colorHelper.disableShadow
set totrue
andcolorHelper.disableTransparent
set totrue
Steps to Reproduce:
Log (All lines): (Click menu of VS Code "Help > Toggle Developer Tools", and click "Console" tab)