-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Labels
needs-triageThis ticket needs investigation.This ticket needs investigation.
Description
I tried the following:
git clone https://github.com/vporton/grants-science/commit/7444a8b70264f7fde63b24c61518f0104572fbb1
cd grants-science/science-grants-blockchain
dfx start --clean
# In other terminal:
dfx deploy frontend
This happened:
Error: Failed while trying to deploy canisters.
Caused by: Failed while trying to install all canisters.
Caused by: Failed to install wasm module to canister 'grants_system'.
Caused by: Failed during wasm installation call
Caused by: The replica returned a rejection error: reject code CanisterError, reject message Error from Canister umunu-kh777-77774-qaaca-cai: Canister called `ic0.trap` with message: 'RTS error: blob_of_principal: invalid principal'
Canister Backtrace:
rts_trap
motoko_rts::trap_with_prefix::h38b3fa56e36ec881
motoko_rts::rts_trap_with::h52b3dd26714cf24e
blob_of_principal
init
canister_init
.
Consider gracefully handling failures from this canister or altering the canister to handle exceptions. See documentation: https://internetcomputer.org/docs/current/references/execution-errors#trapped-explicitly, error code Some("IC0503")
Meta
dfx --version
:
dfx 0.28.0
Further log output
Fetching properties for all assets in the canister.
Fetched properties for all assets in the canister in 13.797532ms
Staging contents of new and changed assets in batch 2:
/assets/index-BML3YvH_.js (478878 bytes) sha 4ac1134c00d67055101b40522de824896a08d6ab0e870945d55ac5681535f8a9 is already installed
/assets/index-BML3YvH_.js (gzip) (165405 bytes) sha e85544230db1e51d69c7573e2d047e7b6ae03ad420f28ab18d4560f13ed8047c is already installed
/index.html (648 bytes) sha 160f063f00c73bc23f75e63c685093ccf52307f170a7da33cc9a9134104183d2 is already installed
/index.html (gzip) (394 bytes) sha 5a504d1ab8f09cf179f599814b84ca2f1800e008a49189028b9b92f0955acf08 is already installed
/assets/index-DyQ5GJHb.css (18661 bytes) sha 6c1aa683fcd4af3cbc044098774d16d47b56f8d290f88eebbd1dbf453edc4485 is already installed
/assets/index-DyQ5GJHb.css (gzip) (4033 bytes) sha 25838e55631cc0410d58ed1e07d7e30c7c776e6cc2953bca962ae80723fc607e is already installed
Count of each Batch Operation Kind: {}
Chunks: 0 Bytes: 0
Canister API version: 2. ic-asset API version: 1
Committing batch.
Upgraded code for canister frontend, with canister ID uzt4z-lp777-77774-qaabq-cai
Previously installed module hash: None
New wasm module hash: 7b3223ef0d697137db39dc8918cba1a0f66c3f6b3b9f4884c3e392a91cca680e
Error: Failed while trying to deploy canisters.
Caused by: Failed while trying to install all canisters.
Caused by: Failed to install wasm module to canister 'grants_system'.
Caused by: Failed during wasm installation call
Caused by: The replica returned a rejection error: reject code CanisterError, reject message Error from Canister umunu-kh777-77774-qaaca-cai: Canister called `ic0.trap` with message: 'RTS error: blob_of_principal: invalid principal'
Canister Backtrace:
rts_trap
motoko_rts::trap_with_prefix::h38b3fa56e36ec881
motoko_rts::rts_trap_with::h52b3dd26714cf24e
blob_of_principal
init
canister_init
.
Consider gracefully handling failures from this canister or altering the canister to handle exceptions. See documentation: https://internetcomputer.org/docs/current/references/execution-errors#trapped-explicitly, error code Some("IC0503")
Metadata
Metadata
Assignees
Labels
needs-triageThis ticket needs investigation.This ticket needs investigation.