Skip to content
Snippets Groups Projects
Unverified Commit e07476e3 authored by Marcin S.'s avatar Marcin S. Committed by GitHub
Browse files

Update missing worker binaries error (#2853)

Please let me know if this would be a better UX. Should we have specific
links in the error message?
parent 99290fd9
Branches
No related merge requests found
Pipeline #431603 failed with stages
in 43 minutes and 20 seconds
......@@ -31,4 +31,5 @@ jobs:
env:
CONFIG: .github/.markdownlint.yaml
run: |
echo "Checking markdown formatting. More info: docs/contributor/markdown_linting.md"
markdownlint --config "$CONFIG" --ignore target .
......@@ -9,9 +9,11 @@ guides, like how to run a validator node, see the [Polkadot Wiki](https://wiki.p
### Using a pre-compiled binary
If you just wish to run a Polkadot node without compiling it yourself, you may either run the latest
binary from our [releases](https://github.com/paritytech/polkadot-sdk/releases) page, or install
Polkadot from one of our package repositories.
If you just wish to run a Polkadot node without compiling it yourself, you may either:
- run the latest binary from our [releases](https://github.com/paritytech/polkadot-sdk/releases) page (make sure to also
download all the `worker` binaries and put them in the same directory as `polkadot`), or
- install Polkadot from one of our package repositories.
### Debian-based (Debian, Ubuntu)
......
......@@ -239,7 +239,7 @@ pub enum Error {
InvalidWorkerBinaries { prep_worker_path: PathBuf, exec_worker_path: PathBuf },
#[cfg(feature = "full-node")]
#[error("Worker binaries could not be found, make sure polkadot was built/installed correctly. If you ran with `cargo run`, please run `cargo build` first. Searched given workers path ({given_workers_path:?}), polkadot binary path ({current_exe_path:?}), and lib path (/usr/lib/polkadot), workers names: {workers_names:?}")]
#[error("Worker binaries could not be found, make sure polkadot was built and installed correctly. Please see the readme for the latest instructions (https://github.com/paritytech/polkadot-sdk/tree/master/polkadot). If you ran with `cargo run`, please run `cargo build` first. Searched given workers path ({given_workers_path:?}), polkadot binary path ({current_exe_path:?}), and lib path (/usr/lib/polkadot), workers names: {workers_names:?}")]
MissingWorkerBinaries {
given_workers_path: Option<PathBuf>,
current_exe_path: PathBuf,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment