Re: Couldn't fetch when cloning a repository

Alexis Praga <[email protected]> Sun, 3 Oct 2021 18:18:50 +0200
Newsgroups gmane.comp.version-control.darcs.user
Message-ID <CAH3o9gwqszUjiv=aPsnF5K3ZSgCfWxi3z3Mx2SLzKetyn5n_pw@mail.gmail.com>
--===============4487308337869802357==
Content-Type: multipart/alternative; boundary="0000000000007d113705cd7527df"

--0000000000007d113705cd7527df
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Simon,

I=E2=80=99m having the same issue as last time. I can get by with a lazy cl=
one,
otherwise, I have an Exception:

$ darcs clone [email protected]:alexdarcy/blog
Done fetching and unpacking basic pack.
Copying patches, to get lazy repository hit ctrl-C...
Exception while getting patches pack:
user error (Couldn't fetch
`0000019437-665e8d91a5990618068c8e8ef65e01b099ff4233421233c397ae61422fe80d7=
3'
in subdir patches from sources:

thisrepo:/home/alex/code/blog
cache:/home/alex/.cache/darcs
repo:.
repo:[email protected]:alexdarcy/blog
)

darcs failed:  Couldn't fetch
`0000153496-12b83e9c17802e71926c9bf9d3cdeda3f1b93e1188de445b95556ff03cabdc4=
a'
in subdir inventories from sources:

thisrepo:/home/alex/code/blog
cache:/home/alex/.cache/darcs
repo:.
repo:[email protected]:alexdarcy/blog


HINT: I could not reach the following repository:
        [email protected]:alexdarcy/blog
      If you're not using it, you should probably delete
      the corresponding entry from _darcs/prefs/sources.

Thanks,

On Tue, Aug 31, 2021 at 7:33 PM Simon Michael <[email protected]> wrote:

> Good. I have deleted blog2 from the database (it had not been created on
> the filesystem).
>
>
> > On Aug 31, 2021, at 6:39 AM, Alexis Praga <[email protected]>
> wrote:
> >
> >
> > Thanks for the answer, Ben and Simon.
> > Creating a new repo fixed it.
> >
> > Simon, would it be possible to delete this "repository" :
> hub.darcs.net/alexdarcy/blog2 ?
> > When creating it, I got a GET error and I cannot access it since.
> >
> > Thanks !
> >
> > Simon Michael <[email protected]> writes:
> >
> >> Thanks for the ping Ben.
> >>
> >> On the server, `darcs check` passes, and I can `darcs get` the repo to
> a local copy without error. I ran `darcs optimize http` for good measure.
> But like you, I still can't `darcs get` this repo to a remote machine. I
> was able to `darcs get` another of Alexis's repos.
> >>
> >> That's a puzzle. Sorry Alexis, I'm going to recommend you try pushing =
a
> new copy of this repo under a new name (or delete the old one and re-push
> to a new repo with the same name) and see if that "fixes" it.
> >>
> >>
> >>
> >>> On Aug 29, 2021, at 1:52 AM, Ben Franksen <[email protected]>
> wrote:
> >>>
> >>> Am 28.08.21 um 23:03 schrieb Alexis Praga:
> >>>> I'm trying darcs again since a few days and have hit an issue when
> >>>> cloning a (non-empty) repository hosted on hub.darcs.net.
> >>>> The error is:
> >>>>> Done fetching and unpacking basic pack.
> >>>>> Copying patches, to get lazy repository hit ctrl-C...
> >>>>> Exception while getting patches pack:
> >>>>> user error (Couldn't fetch
> 0000001251-f948ccb7fba745717a321df8692dd42a829f9f74bff78205e20ddcafcc0b61=
d8
> >>>>> in subdir patches from sources:
> >>>>>
> >>>>> thisrepo:/usr/home/alex/code/blog
> >>>>> cache:/home/alex/.cache/darcs
> >>>>> repo:.
> >>>>> repo:[email protected]:blog
> >>>>> )
> >>>>> Couldn't fetch
> 0000001251-f948ccb7fba745717a321df8692dd42a829f9f74bff78205e20ddcafcc0b61=
d8
> >>>>> in subdir patches from sources:
> >>>>>
> >>>>> thisrepo:/usr/home/alex/code/blog
> >>>>> cache:/home/alex/.cache/darcs
> >>>>> repo:.
> >>>>> repo:[email protected]:blog
> >>>>>
> >>>>>
> >>>>> By the way, I could not reach the following location:
> >>>>>  [email protected]:blog
> >>>>> Unless you plan to restore access to it, you should delete the
> corresponding entry from _darcs/prefs/sources.
> >>>> I managed to get around it by downloading the repository as a zip
> file,
> >>>> running 'darcs init' and 'darcs pull'.
> >>>> After that, cloning works again.
> >>>> Any idea appreciated, thanks !
> >>>
> >>> Indeed I can reproduce the problem with darcs-2.16.4, with different
> files:
> >>>
> >>> ben@home[3]:~/scratch>darcs-2.16.4 clone [email protected]:alexdarcy/b=
log
> --no-cache
> >>> Done fetching and unpacking basic pack.
> >>> Copying patches, to get lazy repository hit ctrl-C...
> >>> Exception while getting patches pack:
> >>> user error (Couldn't fetch
> 0000002258-69b6b76aa783a1a96ffa71c33e3f3c47187191f5f8a824376662c78494ceb2=
dc
> >>> in subdir patches from sources:
> >>>
> >>> thisrepo:/home/ben/scratch/blog
> >>> repo:.
> >>> repo:[email protected]:alexdarcy/blog
> >>> )
> >>> Couldn't fetch
> 0000153496-12b83e9c17802e71926c9bf9d3cdeda3f1b93e1188de445b95556ff03cabdc=
4a
> >>> in subdir inventories from sources:
> >>>
> >>> thisrepo:/home/ben/scratch/blog
> >>> repo:.
> >>> repo:[email protected]:alexdarcy/blog
> >>>
> >>>
> >>> By the way, I could not reach the following location:
> >>> [email protected]:alexdarcy/blog
> >>> Unless you plan to restore access to it, you should delete the
> corresponding entry from _darcs/prefs/sources.
> >>>
> >>>
> >>> (I used --no-cache to circumvent the cache on my machine to make sure
> it actually tries to download all files.)
> >>>
> >>> This is pretty strange. It works when I pass --lazy. And when I issue
> a darcs check --no-cache afterwards (which should download all missing
> files) this seems to work, too.
> >>>
> >>> I can also clone from the https URL. And, notably, I can clone the
> same repo via ssh from localhost (also with --no-cache). This suggests th=
e
> problem may lie with hub.darcs.net and not with darcs; perhaps a slow
> response runs into a timeout? I have cc'ed Simon...
> >>>
> >>> Cheers
> >>> Ben
> >>> --
> >>> I would rather have questions that cannot be answered, than answers
> that
> >>> cannot be questioned.  -- Richard Feynman
> >>>
> >>
> >
> > --
> > Alexis Praga
>
>

--=20

   Alexis Praga

--0000000000007d113705cd7527df
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi Simon,</div><div><br></div><div>I=E2=80=99m having=
 the same issue as last time. I can get by with a lazy clone, otherwise, I =
have an Exception:<br></div><div><br></div><div>$ darcs clone alexdarcy@hub=
.darcs.net:alexdarcy/blog<br>Done fetching and unpacking basic pack.<br>Cop=
ying patches, to get lazy repository hit ctrl-C...<br>Exception while getti=
ng patches pack:<br>user error (Couldn&#39;t fetch `0000019437-665e8d91a599=
0618068c8e8ef65e01b099ff4233421233c397ae61422fe80d73&#39; in subdir patches=
 from sources:<br><br>thisrepo:/home/alex/code/blog<br>cache:/home/alex/.ca=
che/darcs<br>repo:.<br>repo:[email protected]:alexdarcy/blog<br>)<br>=
<br>darcs failed: =C2=A0Couldn&#39;t fetch `0000153496-12b83e9c17802e71926c=
9bf9d3cdeda3f1b93e1188de445b95556ff03cabdc4a&#39; in subdir inventories fro=
m sources:<br><br>thisrepo:/home/alex/code/blog<br>cache:/home/alex/.cache/=
darcs<br>repo:.<br>repo:[email protected]:alexdarcy/blog<br><br><br>H=
INT: I could not reach the following repository:<br>=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 [email protected]:alexdarcy/blog<br>=C2=A0 =C2=A0 =C2=A0 If yo=
u&#39;re not using it, you should probably delete<br>=C2=A0 =C2=A0 =C2=A0 t=
he corresponding entry from _darcs/prefs/sources.<br><br></div><div>Thanks,=
<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm=
ail_attr">On Tue, Aug 31, 2021 at 7:33 PM Simon Michael &lt;<a href=3D"mail=
to:[email protected]">[email protected]</a>&gt; wrote:<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex">Good. I have deleted blog2 from the da=
tabase (it had not been created on the filesystem).<br>
<br>
<br>
&gt; On Aug 31, 2021, at 6:39 AM, Alexis Praga &lt;<a href=3D"mailto:alexis=
[email protected]" target=3D"_blank">[email protected]</a>&gt; wrote:<b=
r>
&gt; <br>
&gt; <br>
&gt; Thanks for the answer, Ben and Simon.<br>
&gt; Creating a new repo fixed it.<br>
&gt; <br>
&gt; Simon, would it be possible to delete this &quot;repository&quot; : <a=
 href=3D"http://hub.darcs.net/alexdarcy/blog2" rel=3D"noreferrer" target=3D=
"_blank">hub.darcs.net/alexdarcy/blog2</a> ?<br>
&gt; When creating it, I got a GET error and I cannot access it since.<br>
&gt; <br>
&gt; Thanks !<br>
&gt; <br>
&gt; Simon Michael &lt;<a href=3D"mailto:[email protected]" target=3D"_blank=
">[email protected]</a>&gt; writes:<br>
&gt; <br>
&gt;&gt; Thanks for the ping Ben.<br>
&gt;&gt; <br>
&gt;&gt; On the server, `darcs check` passes, and I can `darcs get` the rep=
o to a local copy without error. I ran `darcs optimize http` for good measu=
re. But like you, I still can&#39;t `darcs get` this repo to a remote machi=
ne. I was able to `darcs get` another of Alexis&#39;s repos. <br>
&gt;&gt; <br>
&gt;&gt; That&#39;s a puzzle. Sorry Alexis, I&#39;m going to recommend you =
try pushing a new copy of this repo under a new name (or delete the old one=
 and re-push to a new repo with the same name) and see if that &quot;fixes&=
quot; it.<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt;&gt; On Aug 29, 2021, at 1:52 AM, Ben Franksen &lt;<a href=3D"mailt=
o:[email protected]" target=3D"_blank">[email protected]</a>&gt; =
wrote:<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; Am 28.08.21 um 23:03 schrieb Alexis Praga:<br>
&gt;&gt;&gt;&gt; I&#39;m trying darcs again since a few days and have hit a=
n issue when<br>
&gt;&gt;&gt;&gt; cloning a (non-empty) repository hosted on <a href=3D"http=
://hub.darcs.net" rel=3D"noreferrer" target=3D"_blank">hub.darcs.net</a>.<b=
r>
&gt;&gt;&gt;&gt; The error is:<br>
&gt;&gt;&gt;&gt;&gt; Done fetching and unpacking basic pack.<br>
&gt;&gt;&gt;&gt;&gt; Copying patches, to get lazy repository hit ctrl-C...<=
br>
&gt;&gt;&gt;&gt;&gt; Exception while getting patches pack:<br>
&gt;&gt;&gt;&gt;&gt; user error (Couldn&#39;t fetch 0000001251-f948ccb7fba7=
45717a321df8692dd42a829f9f74bff78205e20ddcafcc0b61d8<br>
&gt;&gt;&gt;&gt;&gt; in subdir patches from sources:<br>
&gt;&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt;&gt; thisrepo:/usr/home/alex/code/blog<br>
&gt;&gt;&gt;&gt;&gt; cache:/home/alex/.cache/darcs<br>
&gt;&gt;&gt;&gt;&gt; repo:.<br>
&gt;&gt;&gt;&gt;&gt; repo:[email protected]:blog<br>
&gt;&gt;&gt;&gt;&gt; )<br>
&gt;&gt;&gt;&gt;&gt; Couldn&#39;t fetch 0000001251-f948ccb7fba745717a321df8=
692dd42a829f9f74bff78205e20ddcafcc0b61d8<br>
&gt;&gt;&gt;&gt;&gt; in subdir patches from sources:<br>
&gt;&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt;&gt; thisrepo:/usr/home/alex/code/blog<br>
&gt;&gt;&gt;&gt;&gt; cache:/home/alex/.cache/darcs<br>
&gt;&gt;&gt;&gt;&gt; repo:.<br>
&gt;&gt;&gt;&gt;&gt; repo:[email protected]:blog<br>
&gt;&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt;&gt; <br>
&gt;&gt;&gt;&gt;&gt; By the way, I could not reach the following location:<=
br>
&gt;&gt;&gt;&gt;&gt;=C2=A0 [email protected]:blog<br>
&gt;&gt;&gt;&gt;&gt; Unless you plan to restore access to it, you should de=
lete the corresponding entry from _darcs/prefs/sources.<br>
&gt;&gt;&gt;&gt; I managed to get around it by downloading the repository a=
s a zip file,<br>
&gt;&gt;&gt;&gt; running &#39;darcs init&#39; and &#39;darcs pull&#39;.<br>
&gt;&gt;&gt;&gt; After that, cloning works again.<br>
&gt;&gt;&gt;&gt; Any idea appreciated, thanks !<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; Indeed I can reproduce the problem with darcs-2.16.4, with dif=
ferent files:<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; ben@home[3]:~/scratch&gt;darcs-2.16.4 clone [email protected]:a=
lexdarcy/blog --no-cache<br>
&gt;&gt;&gt; Done fetching and unpacking basic pack.<br>
&gt;&gt;&gt; Copying patches, to get lazy repository hit ctrl-C...<br>
&gt;&gt;&gt; Exception while getting patches pack:<br>
&gt;&gt;&gt; user error (Couldn&#39;t fetch 0000002258-69b6b76aa783a1a96ffa=
71c33e3f3c47187191f5f8a824376662c78494ceb2dc<br>
&gt;&gt;&gt; in subdir patches from sources:<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; thisrepo:/home/ben/scratch/blog<br>
&gt;&gt;&gt; repo:.<br>
&gt;&gt;&gt; repo:[email protected]:alexdarcy/blog<br>
&gt;&gt;&gt; )<br>
&gt;&gt;&gt; Couldn&#39;t fetch 0000153496-12b83e9c17802e71926c9bf9d3cdeda3=
f1b93e1188de445b95556ff03cabdc4a<br>
&gt;&gt;&gt; in subdir inventories from sources:<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; thisrepo:/home/ben/scratch/blog<br>
&gt;&gt;&gt; repo:.<br>
&gt;&gt;&gt; repo:[email protected]:alexdarcy/blog<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; By the way, I could not reach the following location:<br>
&gt;&gt;&gt; [email protected]:alexdarcy/blog<br>
&gt;&gt;&gt; Unless you plan to restore access to it, you should delete the=
 corresponding entry from _darcs/prefs/sources.<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; (I used --no-cache to circumvent the cache on my machine to ma=
ke sure it actually tries to download all files.)<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; This is pretty strange. It works when I pass --lazy. And when =
I issue a darcs check --no-cache afterwards (which should download all miss=
ing files) this seems to work, too.<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; I can also clone from the https URL. And, notably, I can clone=
 the same repo via ssh from localhost (also with --no-cache). This suggests=
 the problem may lie with <a href=3D"http://hub.darcs.net" rel=3D"noreferre=
r" target=3D"_blank">hub.darcs.net</a> and not with darcs; perhaps a slow r=
esponse runs into a timeout? I have cc&#39;ed Simon...<br>
&gt;&gt;&gt; <br>
&gt;&gt;&gt; Cheers<br>
&gt;&gt;&gt; Ben<br>
&gt;&gt;&gt; -- <br>
&gt;&gt;&gt; I would rather have questions that cannot be answered, than an=
swers that<br>
&gt;&gt;&gt; cannot be questioned.=C2=A0 -- Richard Feynman<br>
&gt;&gt;&gt; <br>
&gt;&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; Alexis Praga<br>
<br>
</blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g=
mail_signature"><div dir=3D"ltr"><div><br>=C2=A0 =C2=A0Alexis Praga=C2=A0 <=
br></div></div></div>

--0000000000007d113705cd7527df--

--===============4487308337869802357==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
darcs-users mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/darcs-users

--===============4487308337869802357==--