graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

[Bug] graphman fails to show the info when there are many entries

Open rotarur opened this issue 8 months ago • 1 comments

Bug report

graphman fails to show the list when there are many entries

Relevant log output

➜  ~ kubectl exec -ti index-node-community-quarantine-0 -- bash -c "graphman info -s sgd723071"
Defaulted container "graph-node" out of: graph-node, sysctl (init)
name      | levi0522/uniswap
status    | unused
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | levi0522/uniswap-v2
status    | unused
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | levi0522/uniswap-v2
status    | unused
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | levi0522/uniswap-v2
status    | unused
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | ianlapham/uniswap-v2-dev
status    | current
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | u51331/s39941/latest
status    | unused
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | u51331/s39941/v118615
status    | unused
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | u51331/s39941/v118615
status    | unused
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | u51331/s39941/latest
status    | unused
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | u51331/s39941/latest
status    | current
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | u51331/s39941/v118615
status    | current
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | u75140/s60826/latest
status    | current
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | u75140/s60826/v160551
status    | current
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | uniswap/uniswap-v2
status    | current
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | u75140/s63138/latest
status    | current
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---
----------+-------------------------------------------------------------------
name      | u75140/s63138/v166905
status    | current
id        | QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE
namespace | sgd723071
shard     | uniswap_a
active    | false
chain     | mainnet
node_id   | ---

➜  ~ kubectl exec -ti index-node-community-quarantine-0 -- bash -c "graphman info -s QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE"
Defaulted container "graph-node" out of: graph-node, sysctl (init)
thread 'main' panicked at node/src/manager/display.rs:17:13:
there are 14 headers but the row has 8 entries: ["levi0522/uniswap", "unused", "QmZzsQGDmQFbzYkv2qx4pVnD6aVnuhKbD3t1ea7SAvV7zE", "sgd723071", "uniswap_a", "false", "mainnet", "---"]
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: graph_node::manager::display::List::append
   3: graph_node::manager::commands::info::run
   4: graphman::main::{{closure}}.51830
   5: graphman::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
command terminated with exit code 101

IPFS hash

No response

Subgraph name or link to explorer

No response

Some information to help us out

  • [ ] Tick this box if this bug is caused by a regression found in the latest release.
  • [X] Tick this box if this bug is specific to the hosted service.
  • [X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information

Linux

rotarur avatar Jun 07 '24 10:06 rotarur