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't fetch `0000019437-665e8d91a599= 0618068c8e8ef65e01b099ff4233421233c397ae61422fe80d73' 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't fetch `0000153496-12b83e9c17802e71926c= 9bf9d3cdeda3f1b93e1188de445b95556ff03cabdc4a' 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'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 <<a href=3D"mail= to:[email protected]">[email protected]</a>> 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> > On Aug 31, 2021, at 6:39 AM, Alexis Praga <<a href=3D"mailto:alexis= [email protected]" target=3D"_blank">[email protected]</a>> wrote:<b= r> > <br> > <br> > Thanks for the answer, Ben and Simon.<br> > Creating a new repo fixed it.<br> > <br> > Simon, would it be possible to delete this "repository" : <a= href=3D"http://hub.darcs.net/alexdarcy/blog2" rel=3D"noreferrer" target=3D= "_blank">hub.darcs.net/alexdarcy/blog2</a> ?<br> > When creating it, I got a GET error and I cannot access it since.<br> > <br> > Thanks !<br> > <br> > Simon Michael <<a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a>> writes:<br> > <br> >> Thanks for the ping Ben.<br> >> <br> >> 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't `darcs get` this repo to a remote machi= ne. I was able to `darcs get` another of Alexis's repos. <br> >> <br> >> 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&= quot; it.<br> >> <br> >> <br> >> <br> >>> On Aug 29, 2021, at 1:52 AM, Ben Franksen <<a href=3D"mailt= o:[email protected]" target=3D"_blank">[email protected]</a>> = wrote:<br> >>> <br> >>> Am 28.08.21 um 23:03 schrieb Alexis Praga:<br> >>>> I'm trying darcs again since a few days and have hit a= n issue when<br> >>>> 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> >>>> The error is:<br> >>>>> Done fetching and unpacking basic pack.<br> >>>>> Copying patches, to get lazy repository hit ctrl-C...<= br> >>>>> Exception while getting patches pack:<br> >>>>> user error (Couldn't fetch 0000001251-f948ccb7fba7= 45717a321df8692dd42a829f9f74bff78205e20ddcafcc0b61d8<br> >>>>> in subdir patches from sources:<br> >>>>> <br> >>>>> thisrepo:/usr/home/alex/code/blog<br> >>>>> cache:/home/alex/.cache/darcs<br> >>>>> repo:.<br> >>>>> repo:[email protected]:blog<br> >>>>> )<br> >>>>> Couldn't fetch 0000001251-f948ccb7fba745717a321df8= 692dd42a829f9f74bff78205e20ddcafcc0b61d8<br> >>>>> in subdir patches from sources:<br> >>>>> <br> >>>>> thisrepo:/usr/home/alex/code/blog<br> >>>>> cache:/home/alex/.cache/darcs<br> >>>>> repo:.<br> >>>>> repo:[email protected]:blog<br> >>>>> <br> >>>>> <br> >>>>> By the way, I could not reach the following location:<= br> >>>>>=C2=A0 [email protected]:blog<br> >>>>> Unless you plan to restore access to it, you should de= lete the corresponding entry from _darcs/prefs/sources.<br> >>>> I managed to get around it by downloading the repository a= s a zip file,<br> >>>> running 'darcs init' and 'darcs pull'.<br> >>>> After that, cloning works again.<br> >>>> Any idea appreciated, thanks !<br> >>> <br> >>> Indeed I can reproduce the problem with darcs-2.16.4, with dif= ferent files:<br> >>> <br> >>> ben@home[3]:~/scratch>darcs-2.16.4 clone [email protected]:a= lexdarcy/blog --no-cache<br> >>> Done fetching and unpacking basic pack.<br> >>> Copying patches, to get lazy repository hit ctrl-C...<br> >>> Exception while getting patches pack:<br> >>> user error (Couldn't fetch 0000002258-69b6b76aa783a1a96ffa= 71c33e3f3c47187191f5f8a824376662c78494ceb2dc<br> >>> in subdir patches from sources:<br> >>> <br> >>> thisrepo:/home/ben/scratch/blog<br> >>> repo:.<br> >>> repo:[email protected]:alexdarcy/blog<br> >>> )<br> >>> Couldn't fetch 0000153496-12b83e9c17802e71926c9bf9d3cdeda3= f1b93e1188de445b95556ff03cabdc4a<br> >>> in subdir inventories from sources:<br> >>> <br> >>> thisrepo:/home/ben/scratch/blog<br> >>> repo:.<br> >>> repo:[email protected]:alexdarcy/blog<br> >>> <br> >>> <br> >>> By the way, I could not reach the following location:<br> >>> [email protected]:alexdarcy/blog<br> >>> Unless you plan to restore access to it, you should delete the= corresponding entry from _darcs/prefs/sources.<br> >>> <br> >>> <br> >>> (I used --no-cache to circumvent the cache on my machine to ma= ke sure it actually tries to download all files.)<br> >>> <br> >>> 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> >>> <br> >>> 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'ed Simon...<br> >>> <br> >>> Cheers<br> >>> Ben<br> >>> -- <br> >>> I would rather have questions that cannot be answered, than an= swers that<br> >>> cannot be questioned.=C2=A0 -- Richard Feynman<br> >>> <br> >> <br> > <br> > -- <br> > 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==--