:IF: Announcing - MutAnt: Mutable Key/Value storage (prev: Anthill)

Haha no worries, that’s what beta tests are for :slight_smile:

1 Like

Just ping me with whatever you want poked at next.

1 Like

@Champii

Potential bug in your install script from github

    log_step "Detecting operating system..."
    
    if [[ "$OSTYPE" == "linux-gnu"* ]]; then
        OS="linux"
        if command -v apt-get &> /dev/null; then
            PACKAGE_MANAGER="apt"
        elif command -v yum &> /dev/null; then
            PACKAGE_MANAGER="yum"
        elif command -v pacman &> /dev/null; then
            PACKAGE_MANAGER="pacman"
        elif command -v zypper &> /dev/null; then
            PACKAGE_MANAGER="zypper"
        else
            log_error "Unsupported Linux distribution. Please install dependencies manually."
            exit 1
        fi
    elif [[ "$OSTYPE" == "darwin"* ]]; then
        OS="macos"
        PACKAGE_MANAGER="brew"
    elif [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "cygwin" ]]; then
        OS="windows"
        PACKAGE_MANAGER="choco"
    else
        log_error "Unsupported operating system: $OSTYPE"
        exit 1
    fi
    
    log_info "Detected OS: $OS with package manager: $PACKAGE_MANAGER"
}

if [[ “$OSTYPE” == “linux-gnu”* ]]; then
OS=“linux”

here you detect if linux-gnu and set OS to linux and this ends the if statement

But my OS reports it is “linux” (opensuse - standard linux) and the if statement falls through to

log_error “Unsupported operating system: $OSTYPE”

and fails. Yet my OS is linux

Is there some issue that my OS reports itself as just “linux” ? It uses zypper so I would think it should work fine and the linux-gnu test needs to allow just linux

Can I also suggest in the install script you either remove the timeout for the user entering the keys or make them a lot longer.

When I got to there, after waiting 1/2 hour for previous install, I had no time to enter the info. By the time I read the request for info it timed out. Cannot expect people to keep keen eyed watching installs and building and jump on a request for keys that timeout very quickly.

In addition it failed due to my system not having C++ Might be an idea to let the user know before hand that a C++ tool chain is needed.

EDIT: actually I have the c++ tool chain
the error is

error ocurred in cc-rs:failed to find tool “c++”: No such file or directory (os error 2)

Did you get this working ok?

I’m having a go, but I’m on Windows, so had to set up a linux VM.

I’ve not got very far; I installed Ubuntu on a VM, installed mutant, but when entering the test command from the tutorial, I get ‘command not found’.

The install script didn’t ask for any private key or mnemonic & while it didn’t say it failed, it gave many errors (‘failed to fetch’ a bunch of stuff, ‘unable to connect’ to a bunch of stuff) so I suspect it did fail.

I’d like to give this a go, as the concept of making scratchpads accessible for many use cases for mutable data on Autonomi seems great, but it seems a bit above my level of competency with linux etc.

Hope this gets more accessible in time :slight_smile:

1 Like

Hey guys ! I’m sorry I’m in holidays right now, I don’t have the means to check this for the moment, but I will get to it in a couple of weeks :wink:

2 Likes

Look in $HOME/.cargo

And no, I have not progressed

1 Like