Hello list,
I've the following condition
end of file on #<FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171}> [Condition of type END-OF-FILE]
while trying to do
(drakma:http-request "http://www.bluishcoder.co.nz/atom.xml")
Below is the relevant backtrace part:
0: (READ-CHAR #<FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171}> T NIL #<unused argument>) 1: (CHUNGA:READ-LINE* #FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171} NIL) 2: (DRAKMA::READ-STATUS-LINE #<FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171}> NIL) 3: ((LABELS DRAKMA::FINISH-REQUEST) NIL NIL) 4: (DRAKMA:HTTP-REQUEST "http://www.bluishcoder.co.nz/atom.xml")
I can access that URI without any problems using my browser. I'm slightly confused what's going on - could somebody please provide any comments?
I'm using DRAKMA v. 0.11.1 and SBCL 1.0.13 on x86-64 linux (Ubuntu 7.10).
Best Regards, Victor.
On Sun, 13 Jan 2008 19:33:52 -0600, "Victor Kryukov" victor.kryukov@gmail.com wrote:
I've the following condition
end of file on #<FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171}> [Condition of type END-OF-FILE]
while trying to do
(drakma:http-request "http://www.bluishcoder.co.nz/atom.xml")
Below is the relevant backtrace part:
0: (READ-CHAR #<FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171}> T NIL #<unused argument>) 1: (CHUNGA:READ-LINE* #FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171} NIL) 2: (DRAKMA::READ-STATUS-LINE #<FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171}> NIL) 3: ((LABELS DRAKMA::FINISH-REQUEST) NIL NIL) 4: (DRAKMA:HTTP-REQUEST "http://www.bluishcoder.co.nz/atom.xml")
I can access that URI without any problems using my browser. I'm slightly confused what's going on - could somebody please provide any comments?
That does the trick for me.
Edi.
Thanks Edi -
(let ((chunga:*accept-bogus-eols* t)) (drakma:http-request "http://www.bluishcoder.co.nz/atom.xml"))
did the job.
Best Regards, Vcitor.
On Jan 13, 2008 8:07 PM, Edi Weitz edi@agharta.de wrote:
On Sun, 13 Jan 2008 19:33:52 -0600, "Victor Kryukov" victor.kryukov@gmail.com wrote:
I've the following condition
end of file on #<FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171}> [Condition of type END-OF-FILE]
while trying to do
(drakma:http-request "http://www.bluishcoder.co.nz/atom.xml")
Below is the relevant backtrace part:
0: (READ-CHAR #<FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171}> T NIL #<unused argument>) 1: (CHUNGA:READ-LINE* #FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171} NIL) 2: (DRAKMA::READ-STATUS-LINE #<FLEXI-STREAMS::FLEXI-LATIN-1-IO-STREAM {10050A5171}> NIL) 3: ((LABELS DRAKMA::FINISH-REQUEST) NIL NIL) 4: (DRAKMA:HTTP-REQUEST "http://www.bluishcoder.co.nz/atom.xml")
I can access that URI without any problems using my browser. I'm slightly confused what's going on - could somebody please provide any comments?
That does the trick for me.
Edi. _______________________________________________ drakma-devel mailing list drakma-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel