Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Cloning failed the URN ... does not exist #252

Open
pcarranzav opened this issue Sep 13, 2022 · 4 comments
Open

Cloning failed the URN ... does not exist #252

pcarranzav opened this issue Sep 13, 2022 · 4 comments

Comments

@pcarranzav
Copy link

Hi folks. I just set up radicle-cli on a new machine (Apple M1 silicon), created a new identity with rad auth, and I'm trying to clone a repo.
This is failing with the following error message:
rad:git:hnrkrhnth6afcc6mnmtokbp4h9575fgrhzbay/refs/remotes/hyb4kgpdb74pxocdy7qjekgy78ij46mhuuiftmxau3hqbzxtwjsg9s/rad/self does not exist

Full logs below:

$ rad clone rad:git:hnrkrhnth6afcc6mnmtokbp4h9575fgrhzbay --seed pine.radicle.garden
Git version 2.37.3

Syncing 🌱 project rad:git:hnrkrhnth6afcc6mnmtokbp4h9575fgrhzbay from https://pine.radicle.garden/

ok Tracking relationship established for rad:git:hnrkrhnth6afcc6mnmtokbp4h9575fgrhzbay
ok Fetching project identity...
POST git-upload-pack (289 bytes)
warning: no common commits
From https://pine.radicle.garden/hnrkrhnth6afcc6mnmtokbp4h9575fgrhzbay
 * [new ref]         refs/rad/id -> refs/namespaces/hnrkrhnth6afcc6mnmtokbp4h9575fgrhzbay/refs/rad/id

ok Fetching project delegate hnrkr8d3bex85pa757umsti54q5ptnoue6aoy...
POST git-upload-pack (339 bytes)
From https://pine.radicle.garden/hnrkr8d3bex85pa757umsti54q5ptnoue6aoy
 * [new ref]         refs/rad/id -> refs/namespaces/hnrkr8d3bex85pa757umsti54q5ptnoue6aoy/refs/rad/id

ok Fetching project delegate hnrkr8d3bex85pa757umsti54q5ptnoue6aoy...
ok Verifying project identity...
ok Remotes fetched.


Initializing local checkout for 🌱 rad:git:hnrkrhnth6afcc6mnmtokbp4h9575fgrhzbay (graph-improvement-proposals)

ok Remote main branch found via hyb4kgpdb74pxocdy7qjekgy78ij46mhuuiftmxau3hqbzxtwjsg9s...
!! Performing checkout...

== Cloning failed the URN rad:git:hnrkrhnth6afcc6mnmtokbp4h9575fgrhzbay/refs/remotes/hyb4kgpdb74pxocdy7qjekgy78ij46mhuuiftmxau3hqbzxtwjsg9s/rad/self does not exist

I'm struggling to understand the logs, so not sure if it's a problem with my local setup or something else?
If I try to clone the repo in another machine where I already have a copy it works, but I'm not sure if the CLI is reusing the other local copy.

@slack-coder
Copy link
Contributor

Hi @pcarranzav, what version of rad are you running? Try 'rad --version"

@pcarranzav
Copy link
Author

Hi @slack-coder! I had 0.6.1 installed from Homebrew. I just cloned the repo and built 0.6.1 from source and it failed in the same way. Then I tried building master (0.7.0-dev+954ea8d) and it seems the interface changed so I don't know how to actually clone it (seems to expect a different format for the seed).

Then I tried building v0.6.0, v0.5.1 and v0.5.0: all failed to clone in the same way.

@pcarranzav
Copy link
Author

I tried cloning a different repo (rad://pine.radicle.garden/hnrkf1jaje1e93rua64zgphg7zb14qo9zexgy) and it worked, so I guess it must be something wrong with that particular project?

@slack-coder
Copy link
Contributor

Yes, the project appears malformatted for radicle. Radicle expects to have the 'rad/self' branch internally set up but it is missing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants