Publication
Partagez vos connaissances.
How to fix 'Cannot open wallet config file' error in Walrus?
I'm trying to use the Walrus CLI to store a file with the command walrus store <path_to_file> --wallet
. However, I'm encountering an error: Cannot open wallet config file at "~/.sui/sui_config/client.yaml". Err: Unable to load config
. I've tried using relative and absolute paths in the command, but the error persists. I can open the file using a text editor, so I know it exists. How can I resolve this issue?
- Walrus
- Typescript SDK
Réponses
4Ensure that you're using an absolute path starting with a '/' symbol. For UNIX-like systems, it should look like /home/user_name/.sui/sui_config/client.yaml
.
If none of the above solutions work, try specifying a different directory in the Walrus configuration settings for both config and wallet to see if it resolves any path issues.
If you have confirmed the file exists and is readable by a text editor, double-check the access permissions on the file to see if your user account has the necessary permissions to access it in the terminal.
Update both the Walrus client and the Sui CLI to the latest versions as there might be fixes that address this error.
Connaissez-vous la réponse ?
Veuillez vous connecter et la partager.
Walrus is a decentralized storage and data availability protocol designed specifically for large binary files, or "blobs"
Gagne ta part de 1000 Sui
Gagne des points de réputation et obtiens des récompenses pour avoir aidé la communauté Sui à se développer.