hashgraph / hedera-local-node

Run your own local Hedera network for development purposes.
Apache License 2.0
74 stars 58 forks source link

hedera start command fails w stack related printout #820

Closed Nana-EC closed 3 weeks ago

Nana-EC commented 1 month ago

Description

Running the hedera start command show the UI in teh command line temporarily and then fails wtih

─Consensus Node Log─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│[Hedera-Local-Node] INFO (RecoveryState) ⏳ Starting Recovery State...                                                                                                                                                                                                      │
│[Hedera-Local-Node] INFO (RecoveryState) ⏳ Trying to startup again...                                                                                                                                                                                                       │[Hedera-Local-Node] INFO (StartState) ⏳ Detecting network...
│[Hedera-Local-Node] INFO (ConnectionService) Mirror Node GRPC not yet available at: 127.0.0.1:5600. Retrying...                                                                                                                                                             │
│[Hedera-Local-Node] INFO (ConnectionService) Mirror Node GRPC not yet available at: 127.0.0.1:5600. Retrying...                                                                                                                                                             │
│[Hedera-Local-Node] INFO (ConnectionService) Mirror Node GRPC not yet available at: 127.0.0.1:5600. Retrying...
...
[Hedera-Local-Node] INFO (InitState) [✔︎] Needed bootsrap properties were set for this configuration.
[Hedera-Local-Node] INFO (InitState) [✔︎] Needed mirror node properties were set for this configuration.
[Hedera-Local-Node] INFO (StartState) ⏳ Starting Hedera Local Node...
──────────────────────────────────────────────────────────────────────────────

Error on xterm-256color.Setulc:
"\u001b[58::2::%p1%{65536}%/%d::%p1%{256}%/%{255}%&%d::%p1%{255}%&%d%;m"

var v,
 stack = [],
 out = ["\x1b[58::2::"];
(stack.push(v = params[0]),
 v),
(stack.push(v = 65536),
 v),
(v = stack.pop(),
 stack.push(v = (stack.pop() / v) || 0),
 v),
out.push(stack.pop()),
out.push("::"),
(stack.push(v = params[0]),
 v),
(stack.push(v = 256),
 v),
(v = stack.pop(),
 stack.push(v = (stack.pop() / v) || 0),
 v),
(stack.push(v = 255),
 v),
(v = stack.pop(),
 stack.push(v = (stack.pop() & v) || 0),
 v),
out.push(stack.pop()),
out.push("::"),
(stack.push(v = params[0]),
 v),
(stack.push(v = 255),
 v),
(v = stack.pop(),
 stack.push(v = (stack.pop() & v) || 0),
 v),
out.push(stack.pop())}out.push("m");
return out.join("");

This resulted in 7 out of 19 containers running for me

Steps to reproduce

In a new folder

  1. git clone https://github.com/hashgraph/hedera-local-node.git
  2. cd hedera-local-node
  3. npm install && npm install -g
  4. hedera start

Additional context

No response

Hedera network

other

Version

v2.31.0

Operating system

macOS

natanasow commented 1 month ago

@Nana-EC the bug might be caused by a problem (or incompatibility) between the local user's terminal and the Sunset Terminal UI used in the local node.

@georgi-l95 has proposed a complete deprecation of the Sunset TUI due to not reaching the desired user experience. Here is the ticket https://github.com/hashgraph/hedera-local-node/issues/793.