autonomys / pulsar

The Subspace Network CLI for Nodes and Farmers
GNU General Public License v3.0
29 stars 19 forks source link

🐞 [Bug]: Essential task `basic-block-import-worker` failed. Shutting down service. #221

Open ImmaZoni opened 1 year ago

ImmaZoni commented 1 year ago

What happened?

Here is the last chunk of logs from the cli in verbose mode

2023-07-05T18:55:34.566664Z  INFO substrate: 💤 Idle (23 peers), best: #49052 (0xf396…ce4f), finalized #0 (0xa3cd…c1ae), ⬇ 13.0kiB/s ⬆ 13.2kiB/s
2023-07-05T18:55:39.569775Z  INFO substrate: 💤 Idle (25 peers), best: #49052 (0xf396…ce4f), finalized #0 (0xa3cd…c1ae), ⬇ 14.4kiB/s ⬆ 17.9kiB/s
2023-07-05T18:55:44.571640Z  INFO substrate: 💤 Idle (29 peers), best: #49052 (0xf396…ce4f), finalized #0 (0xa3cd…c1ae), ⬇ 11.5kiB/s ⬆ 23.0kiB/s
2023-07-05T18:55:49.573716Z  INFO substrate: 💤 Idle (30 peers), best: #49052 (0xf396…ce4f), finalized #0 (0xa3cd…c1ae), ⬇ 7.7kiB/s ⬆ 13.4kiB/s
2023-07-05T18:55:52.996662Z  INFO substrate: ✨ Imported #49053 (0x6797…38d7)
2023-07-05T18:55:54.575298Z  INFO substrate: 💤 Idle (30 peers), best: #49053 (0x6797…38d7), finalized #0 (0xa3cd…c1ae), ⬇ 19.1kiB/s ⬆ 14.9kiB/s
2023-07-05T18:55:54.648822Z  INFO sdk_farmer: Initializing piece cache... db_path="C:\\Users\\Justin\\AppData\\Roaming\\subspace-cli\\cache\\piece_cache_db" size=9
2023-07-05T18:55:55.668599Z  WARN subspace_farmer::utils::parity_db_store: Parity DB store value conversion error key=[248, 185, 206, 5, 32, 0, 132, 182, 229, 73, 120, 132, 106, 232, 11, 200, 162, 212, 132, 232, 63, 184, 251, 39, 47, 232, 38, 185, 129, 213, 43, 93, 213, 225, 193, 0, 125] err=TryFromSliceError(())
2023-07-05T18:55:55.669010Z  INFO sdk_farmer: Piece cache initialized successfully current_size=0
2023-07-05T18:55:59.582710Z  INFO substrate: 💤 Idle (30 peers), best: #49053 (0x6797…38d7), finalized #0 (0xa3cd…c1ae), ⬇ 8.3kiB/s ⬆ 10.5kiB/s
2023-07-05T18:56:02.605782Z ERROR sdk_node: Exited from node runner future
2023-07-05T18:56:02.619262Z ERROR sc_service::task_manager: Essential task `basic-block-import-worker` failed. Shutting down service.
Error:
   0: farmer couldn't be build
   1: Failed to build a farmer
   2: Single disk plot creation error: I/O error: missing field `piecesInSector` at line 1 column 268
   3: I/O error: missing field `piecesInSector` at line 1 column 268
   4: missing field `piecesInSector` at line 1 column 268

Location:
   src\config.rs:122

Here is the backtrace

Error:
   0: farmer couldn't be build
   1: Failed to build a farmer
   2: Single disk plot creation error: I/O error: missing field `piecesInSector` at line 1 column 268
   3: I/O error: missing field `piecesInSector` at line 1 column 268
   4: missing field `piecesInSector` at line 1 column 268

Location:
   src\config.rs:122

  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ BACKTRACE ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1: _jit_debug_register_code<unknown>
      at <unknown source file>:<unknown line>
   2: BaseThreadInitThunk<unknown>
      at <unknown source file>:<unknown line>
   3: RtlUserThreadStart<unknown>
      at <unknown source file>:<unknown line>

Suggestion: If you think this is a bug, please submit it to our forums: https://forum.subspace.network

Run with COLORBT_SHOW_HIDDEN=1 environment variable to disable frame filtering.
Run with RUST_BACKTRACE=full to include source snippets.

Version

v0.5.1-alpha-2

platform

Expected behavior

Looks like this is occurring shortly after my node is catching up to latest block and starting farming. Expected behavior is my farmer starting properly

Code of Conduct

ImmaZoni commented 1 year ago

We are also getting this error on Mac, Fradique faced the same issue

Error:
    0: farmer couldn't be build
    1: Failed to build a farmer
    2: Single disk plot creation error: I/O error: missing field `piecesInSector` at line 1 column 268
    3: I/O error: missing field `piecesInSector` at line 1 column 268
    4: missing field `piecesInSector` at line 1 column 268

Location:
    src/config.rs:122

image