question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

install succeeds but can't find dcd-client

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
WebFreak001commented, Dec 3, 2018

@Disco1267 ctrl-shift-p -> User Settings

1reaction
qwertzui11commented, Aug 17, 2018

when I change my settings.json file from

{
    "d.servedPath": "/home/user/.local/share/code-d/bin/serve-d",
}

to

{
    "d.servedPath": "/home/user/.local/share/code-d/bin/serve-d",
    "d.dcdClientPath": "/home/user/.local/share/code-d/bin/dcd-client",
    "d.dcdServerPath": "/home/user/.local/share/code-d/bin/dcd-server",
}

everything works

Read more comments on GitHub >

github_iconTop Results From Across the Web

ddclient won't work - ClearOS
I have been trying to get ddclient to work on 7.2 but I can't. The Windows updater works fine but I do not...
Read more >
Tutorial: Setting Up ddclient on Ubuntu to Update Dynamic DNS
Test configuration. Verify the configuration by running ddclient manually: sudo ddclient. If everything is configured correctly, you should get ...
Read more >
Can't get ddclient daemon started - SourceForge
I can't seem to get ddclient daemon started. I've installed: ... the script runs and says "Starting ddclient" but the process never starts....
Read more >
can't get root domain to update. · Issue #364 - GitHub
I go add it to ddclient and run sudo ddclient -daemon=0 -verbose -noquiet and I get the following output, which looks good :...
Read more >
Supported Protocols - ddclient docs
According to [bugs:#54] you have to use ssl and set the server to www.dnspark.org to get it working but that bug isn't confirmed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found