Skip to content

install succeeds but can't find dcd-client #206

@qwertzui11

Description

@qwertzui11

after a fresh install of the extension the extension downloads dcd-server, dcd-client and serve-d

find ~/.local/share/code-d/
/home/user/.local/share/code-d/
/home/user/.local/share/code-d/bin
/home/user/.local/share/code-d/bin/dcd-server
/home/user/.local/share/code-d/bin/dcd-client
/home/user/.local/share/code-d/bin/serve-d

but when I open a hello world *.d file I seems not to be able to find dcd-client

full log

2018-08-17T09:26:09.034:app.d:main:211 Features fulfilled
2018-08-17T09:26:09.034:app.d:main:217 Started reading from stdin
2018-08-17T09:26:09.034:app.d:main:221 RPC started
2018-08-17T09:26:09.054:app.d:processRequest:50 Initializing
2018-08-17T09:26:09.054:extension.d:initialize:258 Set capabilities to InitializeParams(20394, "/home/user/Development/projects/hello_world", "file:///home/user/Development/projects/hello_world", null, ClientCapabilities(const(WorkspaceClientCapabilities)(true, const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), true, true), const(TextDocumentClientCapabilities)(const(SyncInfo)(true, true, true, true), const(CompletionInfo)(const(CompletionItem)(true)), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(DynamicRegistration)(true), const(PublishDiagnosticsCap)(true)), null), "off", [WorkspaceFolder("file:///home/user/Development/projects/hello_world", "build")])
2018-08-17T09:26:09.055:extension.d:setTimeout:2342 Setting timeout for 1 sec
2018-08-17T09:26:09.055:app.d:processRequest:52 Initialized
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:300 Initializing serve-d for global access
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:307 Setup global configuration as {"dcd":{"clientPath":"dcd-client","port":9166,"serverPath":"dcd-server"},"dmd":{"path":"dmd"}}
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:309 Registering dub
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:311 Registering fsworkspace
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:313 Registering dcd
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:315 Registering dcdext
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:317 Registering dmd
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:319 Starting dscanner
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:321 Starting dfmt
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:323 Starting dlangui
2018-08-17T09:26:09.086:extension.d:doGlobalStartup:325 Starting importer
2018-08-17T09:26:09.087:extension.d:doGlobalStartup:327 Starting moduleman
2018-08-17T09:26:09.092:extension.d:doStartup:414 Initializing serve-d for file:///home/user/Development/projects/hello_world
2018-08-17T09:26:09.093:extension.d:rootsForProject:402 Root Suggestions: [RootSuggestion("/home/user/Development/projects/hello_world", false)]
2018-08-17T09:26:09.093:extension.d:startDCD:505 Starting dcd
2018-08-17T09:26:09.093:extension.d:startDCD:508 Starting dcdext
2018-08-17T09:26:09.093:extension.d:startDCD:511 Running DCD setup
2018-08-17T09:26:09.093:extension.d:startDCD:514 findAndSelectPort 9166
2018-08-17T09:26:09.103:jsonrpc.d:showErrorMessage:313 Error message:  Could not initialize DCD for /home/user/Development/projects/hello_world. See console for details!
2018-08-17T09:26:09.103:extension.d:startDCD:527 std.process.ProcessException@std/process.d(379): Executable file not found: dcd-client
----------------
??:? [0x558e1143683e]
??:? [0x558e1143e19a]
??:? [0x558e11427fdd]
??:? [0x558e113f09d7]
??:? [0x558e113efff3]
??:? [0x558e113f21c4]
??:? [0x558e113f3216]
??:? [0x558e113f31c5]
??:? [0x558e11177cd7]
??:? [0x558e1141db1e]
??:? [0x7f8354ac06da]
??:? clone [0x7f835423388e]
2018-08-17T09:26:09.104:extension.d:startDCD:528 Instance Config: Configuration({"dcd":{"clientPath":"dcd-client","port":9166,"serverPath":"dcd-server"},"dmd":{"path":"dmd"},"fsworkspace":{"additionalPaths":["\/home\/user\/Development\/projects\/hello_world"]}})
2018-08-17T09:26:09.104:extension.d:doStartup:469 Loaded Components for /home/user/Development/projects/hello_world: ["dscanner", "dfmt", "dlangui", "importer", "moduleman", "fsworkspace", "dmd", "dcd", "dcdext"]
2018-08-17T09:26:09.104:extension.d:changedConfig:151 Finished config change of file:///home/user/Development/projects/hello_world with 2 changes in 18 ms, 467 μs, and 7 hnsecs.
2018-08-17T09:26:09.114:app.d:processRequest:77 Calling getConfig
2018-08-17T09:26:09.115:app.d:__lambda7:246 Failed processing request: object.Exception@../../.dub/packages/workspace-d-3.2.0/workspace-d/source/workspaced/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:/home/user/Development/projects/hello_world
----------------
??:? [0x558e1143683e]
??:? [0x558e1143e19a]
??:? [0x558e11427fdd]
??:? [0x558e110d3248]
??:? [0x558e1111873c]
??:? [0x558e1111b398]
??:? [0x558e1141f451]
{"code":-32603,"data":"object.Exception@..\/..\/.dub\/packages\/workspace-d-3.2.0\/workspace-d\/source\/workspaced\/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world\n----------------\n??:? [0x558e1143683e]\n??:? [0x558e1143e19a]\n??:? [0x558e11427fdd]\n??:? [0x558e110d3248]\n??:? [0x558e1111873c]\n??:? [0x558e1111b398]\n??:? [0x558e1141f451]","message":"Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world"}
2018-08-17T09:26:09.125:app.d:processRequest:77 Calling getArchType
2018-08-17T09:26:09.126:app.d:__lambda7:246 Failed processing request: object.Exception@../../.dub/packages/workspace-d-3.2.0/workspace-d/source/workspaced/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:/home/user/Development/projects/hello_world
----------------
??:? [0x558e1143683e]
??:? [0x558e1143e19a]
??:? [0x558e11427fdd]
??:? [0x558e110d3248]
??:? [0x558e11118506]
??:? [0x558e1111b398]
??:? [0x558e1141f451]
{"code":-32603,"data":"object.Exception@..\/..\/.dub\/packages\/workspace-d-3.2.0\/workspace-d\/source\/workspaced\/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world\n----------------\n??:? [0x558e1143683e]\n??:? [0x558e1143e19a]\n??:? [0x558e11427fdd]\n??:? [0x558e110d3248]\n??:? [0x558e11118506]\n??:? [0x558e1111b398]\n??:? [0x558e1141f451]","message":"Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world"}
2018-08-17T09:26:09.137:app.d:processRequest:77 Calling getBuildType
2018-08-17T09:26:09.137:app.d:__lambda7:246 Failed processing request: object.Exception@../../.dub/packages/workspace-d-3.2.0/workspace-d/source/workspaced/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:/home/user/Development/projects/hello_world
----------------
??:? [0x558e1143683e]
??:? [0x558e1143e19a]
??:? [0x558e11427fdd]
??:? [0x558e110d3248]
??:? [0x558e111184de]
??:? [0x558e1111b398]
??:? [0x558e1141f451]
{"code":-32603,"data":"object.Exception@..\/..\/.dub\/packages\/workspace-d-3.2.0\/workspace-d\/source\/workspaced\/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world\n----------------\n??:? [0x558e1143683e]\n??:? [0x558e1143e19a]\n??:? [0x558e11427fdd]\n??:? [0x558e110d3248]\n??:? [0x558e111184de]\n??:? [0x558e1111b398]\n??:? [0x558e1141f451]","message":"Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world"}
2018-08-17T09:26:09.148:app.d:processRequest:77 Calling getCompiler
2018-08-17T09:26:09.148:app.d:__lambda7:246 Failed processing request: object.Exception@../../.dub/packages/workspace-d-3.2.0/workspace-d/source/workspaced/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:/home/user/Development/projects/hello_world
----------------
??:? [0x558e1143683e]
??:? [0x558e1143e19a]
??:? [0x558e11427fdd]
??:? [0x558e110d3248]
??:? [0x558e11118717]
??:? [0x558e1111b398]
??:? [0x558e1141f451]
{"code":-32603,"data":"object.Exception@..\/..\/.dub\/packages\/workspace-d-3.2.0\/workspace-d\/source\/workspaced\/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world\n----------------\n??:? [0x558e1143683e]\n??:? [0x558e1143e19a]\n??:? [0x558e11427fdd]\n??:? [0x558e110d3248]\n??:? [0x558e11118717]\n??:? [0x558e1111b398]\n??:? [0x558e1141f451]","message":"Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world"}
2018-08-17T09:26:09.158:app.d:processRequest:77 Calling provideDocumentSymbols
2018-08-17T09:26:09.169:app.d:processRequest:77 Calling getConfig
2018-08-17T09:26:09.169:app.d:__lambda7:246 Failed processing request: object.Exception@../../.dub/packages/workspace-d-3.2.0/workspace-d/source/workspaced/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:/home/user/Development/projects/hello_world
----------------
??:? [0x558e1143683e]
??:? [0x558e1143e19a]
??:? [0x558e11427fdd]
??:? [0x558e110d3248]
??:? [0x558e1111873c]
??:? [0x558e1111b398]
??:? [0x558e1141f451]
{"code":-32603,"data":"object.Exception@..\/..\/.dub\/packages\/workspace-d-3.2.0\/workspace-d\/source\/workspaced\/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world\n----------------\n??:? [0x558e1143683e]\n??:? [0x558e1143e19a]\n??:? [0x558e11427fdd]\n??:? [0x558e110d3248]\n??:? [0x558e1111873c]\n??:? [0x558e1111b398]\n??:? [0x558e1141f451]","message":"Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world"}
2018-08-17T09:26:09.180:app.d:processRequest:77 Calling getArchType
2018-08-17T09:26:09.180:app.d:__lambda7:246 Failed processing request: object.Exception@../../.dub/packages/workspace-d-3.2.0/workspace-d/source/workspaced/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:/home/user/Development/projects/hello_world
----------------
??:? [0x558e1143683e]
??:? [0x558e1143e19a]
??:? [0x558e11427fdd]
??:? [0x558e110d3248]
??:? [0x558e11118506]
??:? [0x558e1111b398]
??:? [0x558e1141f451]
{"code":-32603,"data":"object.Exception@..\/..\/.dub\/packages\/workspace-d-3.2.0\/workspace-d\/source\/workspaced\/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world\n----------------\n??:? [0x558e1143683e]\n??:? [0x558e1143e19a]\n??:? [0x558e11427fdd]\n??:? [0x558e110d3248]\n??:? [0x558e11118506]\n??:? [0x558e1111b398]\n??:? [0x558e1141f451]","message":"Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world"}
2018-08-17T09:26:09.191:app.d:processRequest:77 Calling getBuildType
2018-08-17T09:26:09.191:app.d:__lambda7:246 Failed processing request: object.Exception@../../.dub/packages/workspace-d-3.2.0/workspace-d/source/workspaced/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:/home/user/Development/projects/hello_world
----------------
??:? [0x558e1143683e]
??:? [0x558e1143e19a]
??:? [0x558e11427fdd]
??:? [0x558e110d3248]
??:? [0x558e111184de]
??:? [0x558e1111b398]
??:? [0x558e1141f451]
{"code":-32603,"data":"object.Exception@..\/..\/.dub\/packages\/workspace-d-3.2.0\/workspace-d\/source\/workspaced\/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world\n----------------\n??:? [0x558e1143683e]\n??:? [0x558e1143e19a]\n??:? [0x558e11427fdd]\n??:? [0x558e110d3248]\n??:? [0x558e111184de]\n??:? [0x558e1111b398]\n??:? [0x558e1141f451]","message":"Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world"}
2018-08-17T09:26:09.202:app.d:processRequest:77 Calling getCompiler
2018-08-17T09:26:09.202:app.d:__lambda7:246 Failed processing request: object.Exception@../../.dub/packages/workspace-d-3.2.0/workspace-d/source/workspaced/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:/home/user/Development/projects/hello_world
----------------
??:? [0x558e1143683e]
??:? [0x558e1143e19a]
??:? [0x558e11427fdd]
??:? [0x558e110d3248]
??:? [0x558e11118717]
??:? [0x558e1111b398]
??:? [0x558e1141f451]
{"code":-32603,"data":"object.Exception@..\/..\/.dub\/packages\/workspace-d-3.2.0\/workspace-d\/source\/workspaced\/api.d(425): Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world\n----------------\n??:? [0x558e1143683e]\n??:? [0x558e1143e19a]\n??:? [0x558e11427fdd]\n??:? [0x558e110d3248]\n??:? [0x558e11118717]\n??:? [0x558e1111b398]\n??:? [0x558e1141f451]","message":"Attempted to get unknown instance component DubComponent in instance cwd:\/home\/user\/Development\/projects\/hello_world"}
2018-08-17T09:26:09.334:app.d:processRequest:77 Calling provideCodeLens
2018-08-17T09:26:10.061:extension.d:parallelMain:2400 Calling timeout
2018-08-17T09:26:33.042:app.d:processRequest:77 Calling provideCodeActions
2018-08-17T09:26:33.053:app.d:processRequest:77 Calling provideDocumentSymbols
2018-08-17T09:26:33.265:app.d:processRequest:77 Calling provideCodeLens
2018-08-17T09:26:36.121:app.d:processRequest:77 Calling provideHover
2018-08-17T09:30:35.810:app.d:processRequest:77 Calling provideCodeActions

OS:

Ubuntu 18.04, fairly fresh install.

have you got any idea? Thanks for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions