Weather report

I had zero success downloading this or anything else until I manually wiped my bootstrap_cache directory.

Once deleted, everything sprang into life, using ant.

I tried an existing version of AntTP and that didn’t work either. So, I just built a new version with autonomi 0.5.3 libraries. That didn’t work either, until the cache was deleted above. Now it is flying again, including resolving pointers/registers within a few seconds.

So, deleting the stale bootstrap directory seems to be necessary, at least for my ubuntu setup.

4 Likes

Right, thanks.

This was honestly just not something that came up during the testing we done.

Didn’t really account for people out in the wild having old versions of the bootstrap cache. I thought it wasn’t working correctly.

Glad we’ve discovered it. I will add a post to the release thread.

5 Likes

made my scratchpad speed tests consistently fail…….

No - that’s the forked Scratchpad… Maybe… Hey the ant client does support Scratchpad read too doesn’t it? Can we read it from the there?

1 Like

willie@gagarin:~$ ant scratchpad --help
Operations related to scratchpad management

Usage: ant scratchpad [OPTIONS]

Commands:
generate-key Generate a new general scratchpad key from which all your scratchpad keys can be derived (using their names)
cost Estimate cost to create a scratchpad
create Create a new scratchpad
share Share a scratchpad secret key with someone else. Sharing this key means that the other party will have permanent read and write access to the scratchpad
get Get the contents of an existing scratchpad from the network
edit Edit the contents of an existing scratchpad
list List owned scratchpads
help Print this message or the help of the given subcommand(s)

Options:
–timeout <CONNECTION_TIMEOUT>
The maximum duration to wait for a connection to the network before timing out

-x, --no-verify
Prevent verification of data storage on the network.

      This may increase operation speed, but offers no guarantees that operations were successful.

-h, --help
Print help (see a summary with ‘-h’)

ant scratchpad get -s 3a728f71282bd68fcbc6da9e335b46c1122e30eb4dc1ab4ba5c96ef65d365f47

(running here now … we’ll see where it ends)

1 Like

^C
willie@gagarin:~$ time ant scratchpad get -s 3a728f71282bd68fcbc6da9e335b46c1122e30eb4dc1ab4ba5c96ef65d365f47
Logging to directory: “/home/willie/.local/share/autonomi/client/logs/log_2025-08-01_21-52-25”
Connecting to the Autonomi network…
Connected to the network
Retrieving scratchpad from network…
:white_check_mark: Successfully loaded scratchpad:
Address: 8e2d0725e1ef3847b21f1e8c2e37c28797717fbff4139d1fff74ff17162fc9f9473f96149c21f3b8f47d38847de3fbd7
Counter: 711
Data: this is a test

real 0m6.853s
user 0m0.416s
sys 0m0.222s

Connecting to the Autonomi network...
Connected to the network
Retrieving scratchpad from network...
Error: 
   0: Failed to retrieve scratchpad from network
   1: Record could not be found.

Location:
   ant-cli/src/commands/scratchpad.rs:152

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

funnily that’s no rubbish which means it’s the data I wrote in there by hand to resolve the fork

so you get the right state with the ant client - I just get fails

You might need to try clearing the bootstrap cache too.

I got the forking error:

❯ ant scratchpad get -s 3a728f71282bd68fcbc6da9e335b46c1122e30eb4dc1ab4ba5c96ef65d365f47
Logging to directory: "/home/chris/.local/share/autonomi/client/logs/log_2025-08-01_21-54-46"
Connecting to the Autonomi network...
Connected to the network
Retrieving scratchpad from network...
Error:
   0: Failed to retrieve scratchpad from network
   1: Got multiple conflicting scratchpads with the latest version, the fork can be resolved by putting a new scratchpad with a higher counter

Location:
   ant-cli/src/commands/scratchpad.rs:152

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

sadly I did run that rm command after @Toivo posted it … and it doesn’t help

What about a file download? Does that work for you?

hmmm - no - not working either

I’m on macOS

location is the same - right?

running rm -rf ~/.local/share/autonomi/bootstrap_cache a second time

I guess the location is different here - no share/autonomi/ existing

Possibly not.

I’ll find the macOS and Windows locations…

1 Like
/// The default location is platform specific:
///  - Linux: $HOME/.local/share/autonomi/bootstrap_cache/bootstrap_cache_<network_id>.json
///  - macOS: $HOME/Library/Application Support/autonomi/bootstrap_cache/bootstrap_cache_<network_id>.json
///  - Windows: C:\Users\<username>\AppData\Roaming\autonomi\bootstrap_cache\bootstrap_cache_<network_id>.json

rm -rf ~/Library/Application\ Support/autonomi/bootstrap_cache

and the file download works now - testing scratchpad now


Connecting to the Autonomi network…
Connected to the network
Retrieving scratchpad from network…
Error:
0: Failed to retrieve scratchpad from network
1: Got multiple conflicting scratchpads with the latest version, the fork can be resolved by putting a new scratchpad with a higher counter

Location:
ant-cli/src/commands/scratchpad.rs:152

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.

That was the same failure I had.

OK, it looks like the data is retrievable but there is something else wrong.

I will feed this back internally and see if we can shift focus here.

4 Likes

thank you for your patience :slight_smile:

4 Likes

Are we in danger of being taken seriously :laughing:

5 Likes

Don’t mess it up now :stuck_out_tongue_winking_eye:

3 Likes

Do we really need this?

6 Likes