Could not initialize DCD for /Users/a/sauv/htdocs/MES-SITES/info/site. client & server version mismatch
See original GitHub issueOS : MAC 10.15.4 VSCODE : Version: 1.45.1
Hello, i have installed code-d but I have this message
Could not initialize DCD for /Users/a/sauv/htdocs/MES-SITES/info/site. client & server version mismatch
With
- brew install dcd
- brew install dub
- ext install webfreak.code-d
or directly
- ext install webfreak.code-d
OK i get

but It is the same I get:

Thanks for your help
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:17 (7 by maintainers)
Top Results From Across the Web
Client And Server Version Mismatch Causes Server ...
Information in this document applies to any platform. Symptoms. When making a new server connection from Director, One of below error scenarios ...
Read more >Cisco2811 Client-server version mismatch - Cisco Community
Cisco2811 Client-server version mismatch ... But the router is still working , the worst thing is that I can't login in the router...
Read more >Error code 40026 - Client/Server Version Mismatch : r/starcitizen
Hi all, so my client patched (again) today despite already being current. now when i try to connect to a server i am...
Read more >Connections fail with error 642 when trying to connect a client ...
Client connections fail when an earlier client executable is used to connect to a later major version database, PROGRESS client/server ...
Read more >Client/Server version mismatch - ParaView - GitLab
c:481 ). I have installed Paraview version 5.9.0 using the prebuilt download on both the server and client, so I cannot understand why...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

this is very likely an issue with the precompiled DCD binaries. The latest workspace-d will fix this with including dcd-client as library and more compatibility versions with dcd-server, however for this first DCD needs a new release tagged and release on dub.
There are newer working precompiled DCD binaries starting with v0.12.0, however that version has a severe flaw in symbol resolution making auto completion much worse so I downgraded the downloaded DCD version currently. This was an issue in dsymbol which is fixed in master, however upgrading this will also require the newest libdparse release to be available on dub.
Currently on dub libdparse doesn’t upgrade so the programs are kind of stuck not upgradable. Once it does release however we can also publish new dsymbol and dcd and new dfmt and dscanner. The current workspace-d changes are dependent on current DCD changes to compile properly, so until there is a new DCD release (which in turn needs a new dsymbol release which should contain the latest libdparse release) this is kind of stuck.
As a workaround it’s possible to clone DCD yourself,
git checkout v0.11.0and builddub build --config=clientanddub build --config=serverand configure these generated ./bin/dcd-client and ./bin/dcd-server binaries in your user settings (and reload) to have something working.assuming fixed with last release