eclipse-theia / theia

Eclipse Theia is a cloud & desktop IDE framework implemented in TypeScript.
http://theia-ide.org
Eclipse Public License 2.0
19.71k stars 2.47k forks source link

root ERROR [hosted-plugin: 19576] Could not identify plugin for 'Theia' when testing VS Code extension #4881

Open apupier opened 5 years ago

apupier commented 5 years ago

Description

there is an error in Theia log, seems no impact functionally.

Reproduction Steps

OS and Theia version:

Windows 10 master

Diagnostics:

C:\git\theia\examples\browser>yarn run start
yarn run v1.13.0
$ theia start --plugins=local-dir:../../plugins
root INFO Theia app listening on http://localhost:3000.
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginVsCodeFileHandler {
     unpackedFolder: 'C:\\Users\\AURELI~1\\AppData\\Local\\Temp\\vscode-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:../../plugins',
     pluginId: 'vscode-apache-camel-0.0.15.vsix',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath: 'C:\\git\\theia\\plugins\\vscode-apache-camel-0.0.15.vsix',
     initPath: 'C:\\git\\theia\\plugins\\vscode-apache-camel-0.0.15.vsix',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginVsCodeFileHandler' }
root INFO Using Git [2.10.1.windows.1] from the PATH. (C:\Program Files\Git\cmd\git.exe)
root INFO PluginTheiaDirectoryHandler: accepting plugin with path C:\Users\AURELI~1\AppData\Local\Temp\vscode-unpacked\vscode-apache-camel-0.0.15.vsix
root INFO Resolved "vscode-apache-camel-0.0.15.vsix" to a VS Code extension "vscode-apache-camel@0.0.15" with engines: { vscode: '^1.25.1' }
root INFO [nsfw-watcher: 4580] Started watching: c:\git\theia\examples\browser\package.json
root INFO Deploying backend plugin "vscode-apache-camel@0.0.15" from "C:\Users\AURELI~1\AppData\Local\Temp\vscode-unpacked\vscode-apache-camel-0.0.15.vsix\extension\out\extension"
root INFO [nsfw-watcher: 9416] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 9416] Started watching: c:\Users\Aurelien Pupier\.theia
Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 9416] Started watching: c:\ws\workingDirectoryForTest\theia\camel.xml
Started watching: c:\ws\workingDirectoryForTest\theia
root INFO Using Git [2.10.1.windows.1] from the PATH. (C:\Program Files\Git\cmd\git.exe)
root INFO [nsfw-watcher: 7804] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 7804] Started watching: c:\Users\Aurelien Pupier\.theia
root INFO [nsfw-watcher: 7804] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 7804] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 7804] Started watching: c:\ws\workingDirectoryForTest\theia\camel.xml
root WARN Collided keybinding is ignored;  {"command":"passthrough","keybinding":"ctrl+k","context":"terminalActive"}  collided with  {"command":"terminal:clear","keybinding":"ctrlcmd+k","context":"terminalActive"}
root WARN Could not register keybinding:
  {"command":"passthrough","keybinding":"ctrl+k","context":"terminalActive"}
Error: "ctrl+k" is in collision with something else [scope:0]
root WARN LanguagesFrontendContribution.onStart is slow, took: 152.97500000451691 ms
root INFO Using Git [2.10.1.windows.1] from the PATH. (C:\Program Files\Git\cmd\git.exe)
root INFO [hosted-plugin: 19576] PLUGIN_HOST(19576) starting instance

root INFO [nsfw-watcher: 19996] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 19996] Started watching: c:\Users\Aurelien Pupier\.theia
root WARN EditorNavigationContribution.onStart is slow, took: 639.3549999993411 ms
root INFO [nsfw-watcher: 19996] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 19996] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO Config file tasks.json does not exist under file:///c%3A/ws/workingDirectoryForTest/theia
root INFO [hosted-plugin: 19576] PLUGIN_HOST(19576): PluginManagerExtImpl/init()
PLUGIN_HOST(19576): initializing(C:\git\theia\packages\plugin-ext-vscode\lib\node/plugin-vscode-init.js)

root INFO [nsfw-watcher: 19996] Started watching: c:\ws\workingDirectoryForTest\theia\camel.xml
root INFO [hosted-plugin: 19576] PLUGIN_HOST(19576): PluginManagerExtImpl/loadPlugin(C:\Users\AURELI~1\AppData\Local\Temp\vscode-unpacked\vscode-apache-camel-0.0.15.vsix\extension\out\extension)

root ERROR [hosted-plugin: 19576] Could not identify plugin for 'Theia' require call from C:\Users\AURELI~1\AppData\Local\Temp\vscode-unpacked\vscode-apache-camel-0.0.15.vsix\extension\out\extension.js

root INFO [hosted-plugin: 19576] C:\Users\AURELI~1\AppData\Local\Temp\vscode-unpacked\vscode-apache-camel-0.0.15.vsix\extension\jars\language-server.jar

^CTerminate batch job (Y/N)? Terminate batch job (Y/N)? y

C:\git\theia\examples\browser>yarn run start
yarn run v1.13.0
$ theia start --plugins=local-dir:../../plugins
root INFO Theia app listening on http://localhost:3000.
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginVsCodeFileHandler {
     unpackedFolder: 'C:\\Users\\AURELI~1\\AppData\\Local\\Temp\\vscode-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:../../plugins',
     pluginId: 'camel-tooling.vscode-apache-camel-0.0.14.vsix',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath:
      'C:\\git\\theia\\plugins\\camel-tooling.vscode-apache-camel-0.0.14.vsix',
     initPath:
      'C:\\git\\theia\\plugins\\camel-tooling.vscode-apache-camel-0.0.14.vsix',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginVsCodeFileHandler' }
root INFO PluginTheiaDirectoryHandler: accepting plugin with path C:\Users\AURELI~1\AppData\Local\Temp\vscode-unpacked\camel-tooling.vscode-apache-camel-0.0.14.vsix
root INFO Resolved "camel-tooling.vscode-apache-camel-0.0.14.vsix" to a VS Code extension "vscode-apache-camel@0.0.14" with engines: { vscode: '^1.25.1' }
root INFO Deploying backend plugin "vscode-apache-camel@0.0.14" from "C:\Users\AURELI~1\AppData\Local\Temp\vscode-unpacked\camel-tooling.vscode-apache-camel-0.0.14.vsix\extension\out\extension"
root INFO Using Git [2.10.1.windows.1] from the PATH. (C:\Program Files\Git\cmd\git.exe)
root INFO [nsfw-watcher: 14916] Started watching: c:\git\theia\examples\browser\package.json
root INFO [nsfw-watcher: 6156] Started watching: c:\Users\Aurelien Pupier\.theia
root INFO [nsfw-watcher: 6156] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 6156] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 6156] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 6156] Started watching: c:\ws\workingDirectoryForTest\theia\camel.xml
root WARN Collided keybinding is ignored;  {"command":"passthrough","keybinding":"ctrl+k","context":"terminalActive"}  collided with  {"command":"terminal:clear","keybinding":"ctrlcmd+k","context":"terminalActive"}
root WARN Could not register keybinding:
  {"command":"passthrough","keybinding":"ctrl+k","context":"terminalActive"}
Error: "ctrl+k" is in collision with something else [scope:0]
root WARN LanguagesFrontendContribution.onStart is slow, took: 169.96999999537366 ms
root INFO Using Git [2.10.1.windows.1] from the PATH. (C:\Program Files\Git\cmd\git.exe)
root INFO [hosted-plugin: 17996] PLUGIN_HOST(17996) starting instance

root INFO [nsfw-watcher: 17364] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO [nsfw-watcher: 17364] Started watching: c:\Users\Aurelien Pupier\.theia
root INFO [nsfw-watcher: 17364] Started watching: c:\ws\workingDirectoryForTest\theia
root WARN EditorNavigationContribution.onStart is slow, took: 648.2350000005681 ms
root INFO [nsfw-watcher: 17364] Started watching: c:\ws\workingDirectoryForTest\theia
root INFO Config file tasks.json does not exist under file:///c%3A/ws/workingDirectoryForTest/theia
root INFO [hosted-plugin: 17996] PLUGIN_HOST(17996): PluginManagerExtImpl/init()
PLUGIN_HOST(17996): initializing(C:\git\theia\packages\plugin-ext-vscode\lib\node/plugin-vscode-init.js)

root INFO [nsfw-watcher: 17364] Started watching: c:\ws\workingDirectoryForTest\theia\camel.xml
root INFO [hosted-plugin: 17996] PLUGIN_HOST(17996): PluginManagerExtImpl/loadPlugin(C:\Users\AURELI~1\AppData\Local\Temp\vscode-unpacked\camel-tooling.vscode-apache-camel-0.0.14.vsix\extension\out\extension)

root ERROR [hosted-plugin: 17996] Could not identify plugin for 'Theia' require call from C:\Users\AURELI~1\AppData\Local\Temp\vscode-unpacked\camel-tooling.vscode-apache-camel-0.0.14.vsix\extension\out\extension.js

root INFO [hosted-plugin: 17996] C:\Users\AURELI~1\AppData\Local\Temp\vscode-unpacked\camel-tooling.vscode-apache-camel-0.0.14.vsix\extension\jars\language-server.jar
adrienrenaud commented 5 years ago

Would you consider to outline the usage of --plugins=local-dir:../../plugins in the wiki https://github.com/theia-ide/theia/wiki/Testing-VS-Code-extensions? Because I used to start theia with yarn theia start that do not trigger plugins discovery.

vince-fugnitto commented 4 years ago

@apupier are you still struggling with getting the VS Code extensions working correctly in the application?

apupier commented 4 years ago

it was working well, except that there was this error in log. I have not tried in Theia directly since i reported the issue.