Clément Lassieur <clement@lassieur.org> ezt írta (időpont: 2018. júl. 25., Sze, 10:46):
Clément Lassieur <clement@lassieur.org> writes:

> Clément Lassieur <clement@lassieur.org> writes:
>
>> Hi Tatiana,
>>
>> Tatiana Sholokhova <tanja201396@gmail.com> writes:
>>
>>> Hi, Clement!
>>>
>>> Done! =) I’ve 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 rebase?
>> 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 _ _ #<<channel> getq: #<atomic-box 406b490?>)
> In cuirass/templates.scm:
>     73:16  2 (specifications-table #<procedure 7fe14c0d1200 at cuira?>)
> In srfi/srfi-1.scm:
>     589:5  1 (map #<procedure 7fe14c02b358 at cuirass/templates.scm?> ?)
> In unknown file:
>            0 (scm-error wrong-type-arg "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.  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 #<closed: file 3ee3230> #vu8(137 80 78 # …) …)
In unknown file:
           1 (port-write #<closed: file 3ee3230> #vu8(137 80 78 71 …) …)
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ément,

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