Not sure if this is a Drakma problem or a Flexi-streams problem, but I thought I'd start here. I'm trying to run Drakma on Clozure Common Lisp and I get this when I try to call http-request:
Error: There is no applicable method for the generic function: #<STANDARD-GENERIC-FUNCTION FLEXI-STREAMS::WRITE-SEQUENCE*
#x3000422E84EF>
when called with arguments: (#<EXTERNAL-FORMAT (:ISO-8859-1 :EOL-STYLE :LF)
#x30004276AF3D> #<FLEXI-STREAMS:FLEXI-IO-STREAM #x3000428BB9ED> "GET" 0 3)
I'm running the following versions of things:
drakma-1.0.0 flexi-streams-1.0.7 chunga-1.0.0 trivial-gray-streams-2008-11-02 UFFI 1.6.0
This appears at a cursory glance to be a bad interaction between flexi- streams and CCL's built-in unicode support. The EXTERNAL-FORMAT class is built in to CCL. It is not a flexi-streams class (nor a Chunga class).
I would debug this myself but I got a report that someone is successfully running Drakma on CCL so I thought someone might just know the answer.
Thanks, rg
Ron, which CCL version are you using? Also, does this happen with every HTTP-REQUEST call or just for specific cases?
And, yes, I can confirm that Drakma runs fine on ClozureCL. This combination is in daily use, e.g. at ITA.
Edi.
On Jul 14, 2009, at 6:46 AM, Edi Weitz wrote:
Ron, which CCL version are you using?
The latest trunk, revision 12409.
Also, does this happen with every HTTP-REQUEST call or just for specific cases?
Every one that I've tried, but I have not run comprehensive tests.
And, yes, I can confirm that Drakma runs fine on ClozureCL.
Then I probably have an out-of-date library. Can someone with a working installation send me a list of what versions they are running?
rg
On Tue, Jul 14, 2009 at 10:48 AM, Ron Garretron@flownet.com wrote:
Then I probably have an out-of-date library. Can someone with a working installation send me a list of what versions they are running?
Hans has made a pre-packaged checkout available which should cover all libraries you'll need:
svn co http://bknr.net/svn/ediware
He also just confirmed that this works fine with the latest CCL dev version.
However, you obviously have to make sure that you are really using the libs you've checked out and that ASDF is not accidentally loading an older version of some library that happens to live somewhere on your hard disk.
HTH, Edi.
flexi-streams-devel@common-lisp.net