{"record":{"id":"743dea2d293a3827","repo":"zed-industries/zed","slug":"downloading-language-servers-disabled","errorCode":null,"errorMessage":"downloading language servers disabled","messagePattern":"downloading language servers disabled","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/language/src/language.rs","lineNumber":841,"sourceCode":"            if binary_options.allow_path_lookup\n                && let Some(binary) = self\n                    .check_if_user_installed(&delegate, toolchain, &mut cx)\n                    .await\n            {\n                log::info!(\n                    \"found user-installed language server for {}. path: {:?}, arguments: {:?}\",\n                    self.name().0,\n                    binary.path,\n                    binary.arguments\n                );\n                return (Ok(binary), None);\n            }\n\n            if let Some((pre_release, cached_binary)) = cached_binary_deref\n                && *pre_release == binary_options.pre_release\n            {\n                return (Ok(cached_binary.clone()), None);\n            }\n\n            if !binary_options.allow_binary_download {\n                return (\n                    Err(anyhow::anyhow!(\"downloading language servers disabled\")),\n                    None,\n                );\n            }\n\n            let Some(container_dir) = delegate.language_server_download_dir(&self.name()).await\n            else {\n                return (\n                    Err(anyhow::anyhow!(\"no language server download dir defined\")),\n                    None,\n                );\n            };\n\n            let last_downloaded_binary = self\n                .cached_server_binary(container_dir.to_path_buf(), delegate.as_ref())","sourceCodeStart":823,"sourceCodeEnd":859,"githubUrl":"https://github.com/zed-industries/zed/blob/9d272b036335401f339d024ea94968fd51016c40/crates/language/src/language.rs#L823-L859","documentation":"Sentinel error in get_language_server_command: no user-installed or cached language server binary was found and binary_options.allow_binary_download is false, so the registry is not permitted to download the server and cannot provide one. This is a configuration-state error — downloads were disabled (e.g. by settings or the test/production environment) but an auto-download path was still requested.","triggerScenarios":"Thrown at crates/language/src/language.rs:838 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Install the language server manually (user-installed binaries are picked up via allow_path_lookup)","Enable language server binary downloads in settings if downloads are acceptable","Check the cached binary path settings so an existing install is discovered"],"exampleFix":null,"handlingStrategy":"fallback","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9d272b036335401f339d024ea94968fd51016c40","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}