From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: bug#21888: guix-publish gets ERROR when serve gtk+. Date: Fri, 13 Nov 2015 09:17:09 -0500 Message-ID: References: <3c53a2735955b91d3849beb2e2159947@openmailbox.org> <87a8qjufn3.fsf@gnu.org> <6d1b7b7f7b8c2f50ef10335c11d212fd@openmailbox.org> <8737waqq4x.fsf@gnu.org> <8737wanlzc.fsf@member.fsf.org> <87io56ni2t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxFB1-0006iE-QU for bug-guix@gnu.org; Fri, 13 Nov 2015 09:18:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZxFAw-0001ar-WB for bug-guix@gnu.org; Fri, 13 Nov 2015 09:18:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZxFAw-0001ak-TA for bug-guix@gnu.org; Fri, 13 Nov 2015 09:18:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZxFAw-0002Id-E5 for bug-guix@gnu.org; Fri, 13 Nov 2015 09:18:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87io56ni2t.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , 21888@debbugs.gnu.org, David Thompson On Fri, Nov 13, 2015 at 8:29 AM, Ludovic Court=C3=A8s wrote: > iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: > >> ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> >>> =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: >>> >>>> ---request begin--- >>>> GET /nar/1dlz1am0qmj1579f5p6j5cvfx9l2aw50-gtk+-3.18.2 HTTP/1.1 >>>> User-Agent: Wget/1.16.3 (linux-gnu) >>>> Accept: */* >>>> Accept-Encoding: identity >>>> Host: localhost:8080 >>>> Connection: Keep-Alive >>>> >>>> ---request end--- >>>> >>>> ---response begin--- >>>> HTTP/1.1 404 Not Found >>>> Content-Length: 69 >>>> Content-Type: text/plain;charset=3Dutf-8 >>>> >>>> ---response end--- >>>> Registered socket 3 for persistent reuse. >>>> URI content encoding =3D 'utf-8' >>>> Skipping 69 bytes of body: [Resource not found: /nar/1dlz1am0qmj1579f5= p6j5cvfx9l2aw50-gtk+-3.18.2] done. >>> >>> Here =E2=80=98guix publish=E2=80=99 returns 404, presumably because >>> /gnu/store/1dlz1am0qmj1579f5p6j5cvfx9l2aw50-gtk+-3.18.2 is not on disk >>> or not valid. >>> >>> Is this correct? >> No, the gtk+ item is valid, and replace 'gtk+' with 'gtk%2B' in the url >> will make wget download it happily. > > Oooh, I see. We=E2=80=99re missing a decoding phase here. David? :-) I don't know when I'll be able to fix it, but it sounds easy. I'll post a patch when I have time. Thanks, - Dave