bittensor icon indicating copy to clipboard operation
bittensor copied to clipboard

btcli 6.12.2 hangs

Open zhedgehog opened this issue 1 year ago • 0 comments

Describe the bug

There are several issues with bittensor 6.12.2 version:

  1. Unable to perform btcli w overview
  2. Unable to register btcli s register
  3. Unable to remove stake btcli st remove

For example, running a while loop for wallet overview (with 40 hotkeys) is causing it to hang:

while true; do btcli w overview --subtensor.chain_endpoint 192.168.13.10:9944 --all; sleep 1800; done;

To Reproduce

Create 2 coldkeys with 40 hotkeys in each.

Run while loop with 900+ seconds delay, for example:

while true; do btcli w overview --subtensor.chain_endpoint 192.168.13.10:9944 --all; sleep 1800; done;

While this runs, try to register on a subnet.

Expected behavior

Successful report of wallet overviews.

You should also be able to break-out of btcli with ctrl+c, yet this fails as the session hangs.

Screenshots

No response

Environment

Debian 12 / Bittensor 6.12.2

Additional context

NOTE: 6.10.1 works well, rollback is a workaround

pip install bittensor==6.10.1

zhedgehog avatar May 25 '24 18:05 zhedgehog