From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: packaging Bootstrap for Cuirass' web interface Date: Wed, 25 Jul 2018 12:05:13 +0200 Message-ID: References: <87zhyitmtc.fsf@lassieur.org> <87pnzetjal.fsf@gnu.org> <87wotmtcks.fsf@lassieur.org> <5b578c0f.1c69fb81.4a8d1.0342@mx.google.com> <87bmawqk4m.fsf@lassieur.org> <87in53ka5r.fsf@lassieur.org> <87fu07k8iv.fsf@lassieur.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000006b695c0571d00428" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiGfh-0008W8-Cr for guix-devel@gnu.org; Wed, 25 Jul 2018 06:05:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fiGfe-000857-C2 for guix-devel@gnu.org; Wed, 25 Jul 2018 06:05:29 -0400 Received: from mail-it0-x230.google.com ([2607:f8b0:4001:c0b::230]:35273) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fiGfe-00082h-4k for guix-devel@gnu.org; Wed, 25 Jul 2018 06:05:26 -0400 Received: by mail-it0-x230.google.com with SMTP id q20-v6so7857976ith.0 for ; Wed, 25 Jul 2018 03:05:25 -0700 (PDT) In-Reply-To: <87fu07k8iv.fsf@lassieur.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?UTF-8?Q?Cl=C3=A9ment_Lassieur?= Cc: Guix-devel , Tatiana Sholokhova --0000000000006b695c0571d00428 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cl=C3=A9ment Lassieur ezt =C3=ADrta (id=C5=91pont: 2= 018. j=C3=BAl. 25., Sze, 10:46): > Cl=C3=A9ment Lassieur writes: > > > Cl=C3=A9ment Lassieur writes: > > > >> Hi Tatiana, > >> > >> Tatiana Sholokhova writes: > >> > >>> Hi, Clement! > >>> > >>> Done! =3D) I=E2=80=99ve changed commit message with static files and = rebased the > >>> latest commits, so my branch has only two commits now as we discuss > >>> before. > >> > >> Great! I rebased your commits onto my "multiple inputs" changes. I > >> couldn't force-push your branch so I created another branch: > >> "web-interface-rebased". > >> > >> Could you please check that everything works as expected with my rebas= e? > >> I'm using it on my instance: https://cuirass.lassieur.org:8081/. > > > > Hmm there seems to be a problem: > > > > 2018-07-25T10:08:48 GET / > > In cuirass/http.scm: > > 292:21 3 (url-handler _ _ #< getq: #) > > In cuirass/templates.scm: > > 73:16 2 (specifications-table #) > > In srfi/srfi-1.scm: > > 589:5 1 (map # ?= ) > > In unknown file: > > 0 (scm-error wrong-type-arg "map" "Wrong type argument: ?" ?= ) > > In procedure map: Wrong type argument: # cuirass/http.scm:293:22 (db)> > > > > It can be due to my rebase though. I'll investigate. > > I also get this if I send many requests at the same time. > > --8<---------------cut here---------------start------------->8--- > Uncaught exception in fiber ##f: > In ice-9/boot-9.scm: > 841:4 4 (with-throw-handler _ _ _) > In web/server/fiberized.scm: > 2018-07-25T10:33:56 HTTP connection from 127.0.0.1 > 124:18 3 (_) > In ice-9/suspendable-ports.scm: > 83:4 2 (write-bytes # #vu8(137 80 78 # =E2=80= =A6) =E2=80=A6) > In unknown file: > 1 (port-write # #vu8(137 80 78 71 =E2=80= =A6) =E2=80=A6) > In ice-9/boot-9.scm: > 752:25 0 (dispatch-exception _ _ _) > ice-9/boot-9.scm:752:25: In procedure dispatch-exception: > In procedure fport_write: Broken pipe > --8<---------------cut here---------------end--------------->8--- > > Hello Cl=C3=A9ment, Do you have any idea what has gone wrong here? Do you need help? > Weird :-) > > --0000000000006b695c0571d00428 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Cl=C3=A9ment L= assieur <clement@lassieur.org> ezt =C3=ADrta (id=C5=91pont: 2018. j=C3=BAl. 25., Sze, 10:46):
Cl=C3=A9ment Lassieur <clement@lassieur.org> wri= tes:

> Cl=C3=A9ment Lassieur <clement@lassieur.org> writes:
>
>> Hi Tatiana,
>>
>> Tatiana Sholokhova <tanja201396@gmail.com> writes:
>>
>>> Hi, Clement!
>>>
>>> Done! =3D) I=E2=80=99ve changed commit message with static fil= es and rebased the
>>> latest commits, so my branch has only two commits now as we di= scuss
>>> before.
>>
>> Great!=C2=A0 I rebased your commits onto my "multiple inputs&= quot; changes.=C2=A0 I
>> couldn't force-push your branch so I created another branch: >> "web-interface-rebased".
>>
>> Could you please check that everything works as expected with my r= ebase?
>> I'm using it on my instance: https://cuirass.lassieur= .org:8081/.
>
> Hmm there seems to be a problem:
>
> 2018-07-25T10:08:48 GET /
> In cuirass/http.scm:
>=C2=A0 =C2=A0 292:21=C2=A0 3 (url-handler _ _ #<<channel> getq= : #<atomic-box 406b490?>)
> In cuirass/templates.scm:
>=C2=A0 =C2=A0 =C2=A073:16=C2=A0 2 (specifications-table #<procedure = 7fe14c0d1200 at cuira?>)
> In srfi/srfi-1.scm:
>=C2=A0 =C2=A0 =C2=A0589:5=C2=A0 1 (map #<procedure 7fe14c02b358 at c= uirass/templates.scm?> ?)
> In unknown file:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 0 (scm-error wrong-type-arg &= quot;map" "Wrong type argument: ?" ?)
> In procedure map: Wrong type argument: #<procedure 7fe14c0d1200 at = cuirass/http.scm:293:22 (db)>
>
> It can be due to my rebase though.=C2=A0 I'll investigate.

I also get this if I send many requests at the same time.

--8<---------------cut here---------------start------------->8---
Uncaught exception in fiber ##f:
In ice-9/boot-9.scm:
=C2=A0 =C2=A0 841:4=C2=A0 4 (with-throw-handler _ _ _)
In web/server/fiberized.scm:
2018-07-25T10:33:56 HTTP connection from 127.0.0.1
=C2=A0 =C2=A0124:18=C2=A0 3 (_)
In ice-9/suspendable-ports.scm:
=C2=A0 =C2=A0 =C2=A083:4=C2=A0 2 (write-bytes #<closed: file 3ee3230>= #vu8(137 80 78 # =E2=80=A6) =E2=80=A6)
In unknown file:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01 (port-write #<closed: file 3e= e3230> #vu8(137 80 78 71 =E2=80=A6) =E2=80=A6)
In ice-9/boot-9.scm:
=C2=A0 =C2=A0752:25=C2=A0 0 (dispatch-exception _ _ _)
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
In procedure fport_write: Broken pipe
--8<---------------cut here---------------end--------------->8---


Hello Cl=C3=A9ment,

Do you have any idea what has gone wrong here?
Do you need= help?
=C2=A0
Weird :-)

--0000000000006b695c0571d00428--