clockworklabs / SpacetimeDB

Multiplayer at the speed of light
https://spacetimedb.com
Other
4.36k stars 110 forks source link

Panic in `spacetime energy status` command in standalone #182

Closed cloutiertyler closed 4 months ago

cloutiertyler commented 1 year ago
$ RUST_BACKTRACE=full spacetime energy status thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spacetimedb-cli-0.6.0/src/subcommands/energy.rs:98:68
stack backtrace:
   0:       0x5a4654f848 - <unknown>                             1:       0x5a46595498 - <unknown>                             2:       0x5a46567a60 - <unknown>                             3:       0x5a4654f650 - <unknown>
   4:       0x5a4656bc50 - <unknown>
   5:       0x5a4656b868 - <unknown>
   6:       0x5a4656c2e4 - <unknown>
   7:       0x5a4654fe68 - <unknown>
   8:       0x5a4654f954 - <unknown>
   9:       0x5a4656beb8 - <unknown>
  10:       0x5a4658bed4 - <unknown>
  11:       0x5a4658bf44 - <unknown>
  12:       0x5a4557af9c - <unknown>
  13:       0x5a453659f0 - <unknown>
  14:       0x5a45387894 - <unknown>
  15:       0x5a453300e4 - <unknown>
  16:       0x5a45406eec - <unknown>
  17:       0x5a453d5794 - <unknown>
  18:       0x5a4531a56c - <unknown>
  19:       0x5a4531ac94 - <unknown>
  20:       0x5a46563b74 - <unknown>
  21:       0x5a453d5880 - <unknown>
  22:       0x7c8f7d0a38 - <unknown>
cloutiertyler commented 1 year ago

@coolreader18 This was on android right?

coolreader18 commented 1 year ago

@cloutiertyler ya. Termux

coolreader18 commented 1 year ago

Could be just from being in a new environment though, it looks like there's config.get_default_identity_config(server).unwrap() in energy.rs that maybe shouldn't be an unwrap().