Hi,
When I try to call HTTP-REQUEST in ACL 8/OS X (using the dev version of DRAKMA), I get the following error/backtrace:
attempt to call `DRAKMA::WITH-CHARACTER-STREAM-SEMANTICS' which is an undefined function. [Condition of type UNDEFINED-FUNCTION]
Restarts: 0: [TRY-AGAIN] Try calling DRAKMA::WITH-CHARACTER-STREAM-SEMANTICS again. 1: [RETURN-VALUE] Return a value instead of calling DRAKMA::WITH-CHARACTER-STREAM-SEMANTICS. 2: [USE-VALUE] Try calling a function other than DRAKMA::WITH-CHARACTER-STREAM-SEMANTICS. 3: [STORE-VALUE] Setf the symbol-function of DRAKMA::WITH-CHARACTER-STREAM-SEMANTICS and call it again. 4: [ABORT-REQUEST] Abort handling SLIME request. 5: [ABORT] Abort entirely from this (lisp) process.
Backtrace: 0: (SWANK::DEBUG-IN-EMACS #<UNDEFINED-FUNCTION @ #x108d7f42>) 1: (SWANK:SWANK-DEBUGGER-HOOK #<UNDEFINED-FUNCTION @ #x108d7f42> #<Function SWANK-DEBUGGER-HOOK>) 2: (ERROR #<UNDEFINED-FUNCTION @ #x108d7f42>) 3: (DRAKMA::WITH-CHARACTER-STREAM-SEMANTICS #(60 104 116 109 108 62 60 104 101 97 ...)) 4: ((LABELS DRAKMA:HTTP-REQUEST DRAKMA::FINISH-REQUEST) NIL) 5: (DRAKMA:HTTP-REQUEST #<PURI:URI http://www.google.co.in%3E :REDIRECT 4 :STREAM NIL :ADDITIONAL-HEADERS NIL) 6: ((LABELS DRAKMA:HTTP-REQUEST DRAKMA::FINISH-REQUEST) NIL) 7: (DRAKMA:HTTP-REQUEST "http://www.google.com")
Couldn't locate the definition of WITH-CHARACTER-STREAM-SEMANTICS anywhere in the drakma source code. Am I missing some dependency?
Chaitanya
On Tue, 19 Aug 2008 23:59:59 +0530, Chaitanya Gupta mail@chaitanyagupta.com wrote:
Am I missing some dependency?
If you want to work with the dev version, you'll need to grab all the other libs (at least Chunga in the case of Drakma) from the dev repository as well. There's a convenience link which assembles all of them here:
http://bknr.net/trac/browser/ediware
Note that some of these dev versions are in flux and not properly documented, especially Hunchentoot. Subscribe to the corresponding mailing lists if in doubt.
Edi.
Edi Weitz wrote:
If you want to work with the dev version, you'll need to grab all the other libs (at least Chunga in the case of Drakma) from the dev repository as well.
Yeah, just realized that. Thanks.
A slight concern I have with the dev versions of hunchentoot, drakma, etc. -- besides your libraries, the bknr-svn repo also has its own branch of libraries like usocket. Are the changes to this branch also being backported to the main usocket branch? (or, when the new version of hunchentoot is released, will it work with a release version of usocket?)
Chaitanya
On Wed, 20 Aug 2008 00:42:21 +0530, Chaitanya Gupta mail@chaitanyagupta.com wrote:
A slight concern I have with the dev versions of hunchentoot, drakma, etc. -- besides your libraries, the bknr-svn repo also has its own branch of libraries like usocket. Are the changes to this branch also being backported to the main usocket branch? (or, when the new version of hunchentoot is released, will it work with a release version of usocket?)
I /think/ the answer is yes, but I'm not sure. You'll have to ask Hans - AFAIK he has commit bits for usocket. I don't know if he's reading this list, but he's on the Hunchentoot list (although he's currently on vacation).
Edi.
On Tue, Aug 19, 2008 at 11:36 PM, Edi Weitz edi@agharta.de wrote:
On Wed, 20 Aug 2008 00:42:21 +0530, Chaitanya Gupta mail@chaitanyagupta.com wrote:
A slight concern I have with the dev versions of hunchentoot, drakma, etc. -- besides your libraries, the bknr-svn repo also has its own branch of libraries like usocket. Are the changes to this branch also being backported to the main usocket branch? (or, when the new version of hunchentoot is released, will it work with a release version of usocket?)
I /think/ the answer is yes, but I'm not sure. You'll have to ask Hans - AFAIK he has commit bits for usocket. I don't know if he's reading this list, but he's on the Hunchentoot list (although he's currently on vacation).
I - the other usocket maintainer - can confirm that Hans and I are working through some remaining issues wrt usocket and Hunchentoot. As soon as those are resolved, I intend to create a new usocket release. I think Hans will do the same for Hunchentoot.
Bye,
Erik
Erik Huelsmann wrote:
I - the other usocket maintainer - can confirm that Hans and I are working through some remaining issues wrt usocket and Hunchentoot. As soon as those are resolved, I intend to create a new usocket release. I think Hans will do the same for Hunchentoot.
Cool. I guess I don't need to ask on the hunchentoot mailing list then.
Cheers, Chaitanya