Assigned: Chainsight BNT-1 - Asset Rating Oracle

No problem, and thanks for the further advice.

I re-synced chainsight-management-canisters to the current version and ran it using port=8000 as you suggested. I’m still getting some similar errors. On the first try I got this:

Error: Failed while trying to build all canisters.
Caused by: Failed while trying to build all canisters.
  The build step failed for canister 'uh54g-lyaaa-aaaal-achca-cai' (_management_canister_registry) with an embedded error: Failed to build Motoko canister '_management_canister_registry'.: Failed to load package arguments.: The command '"vessel" "sources"' failed with exit status 'exit status: 1'.
Stdout:

Stderr:
[INFO] Installing 9 packages
[INFO] Cloning git repository: "candb"
Error: Failed to clone the repo at: git@github.com:canscale/CanDB.git
with:
Cloning into 'repo'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.


make[2]: *** [Makefile:14: build] Error 255
make[2]: Leaving directory '/home/timk/ic/chainsight-management-canisters'
make[1]: *** [Makefile:27: create-build] Error 2
make[1]: Leaving directory '/home/timk/ic/chainsight-management-canisters'
make: *** [Makefile:36: local] Error 2

On the basis of this post I changed these lines in my local copy from
   , repo = "git@github.com:canscale/CanDB.git" , version = "beta"
to
   , repo = "https://github.com/ORIGYN-SA/CanDB" , version = "1.0.2".
(The version number is from here. I don’t know if I’ve understood this correctly.)

I then got much the same error, except for this part:

Stderr:
[INFO] Installing 9 packages
[INFO] Downloading tar-ball: "candb"
[WARN] Downloading tar-ball failed, cloning as git repo instead: "candb"
Error: Failed to checkout version 1.0.2 for the repo at: https://github.com/ORIGYN-SA/CanDB
with:
error: pathspec '1.0.2' did not match any file(s) known to git

@icme - I’ve tagged you here as well in case you have any advice on this. Any pointers would be gratefully received. Let me know if more context is needed.

Update

I have it working now. Within package-set.dhall I changed

  { name = "candb"
  , repo = "git@github.com:canscale/CanDB.git"
  , version = "beta"
  , dependencies = [ "base" ]
  },
  { name = "candy"
  , repo = "git@github.com:icdevs/candy_library.git"
  , version = "0.2.0"
  , dependencies = [ "base" ]
  },

to

  { name = "candb"
  , repo = "https://github.com/ORIGYN-SA/CanDB.git"
  , version = "beta"
  , dependencies = [ "base" ]
  },
  { name = "candy"
  , repo = "https://github.com/icdevs/candy_library.git"
  , version = "0.2.0"
  , dependencies = [ "base" ]
  },
1 Like