Re: Drakma on Ubuntu

Martin Simmons <[email protected]> Thu, 16 Jul 2026 11:30:21 +0100
Newsgroups gmane.lisp.lispworks.general
Message-ID <[email protected]>
>>>>> On Thu, 16 Jul 2026 01:12:29 -0400, Lawrence Au (as la at synap dot news) said:
> 
> But making the same call in Ubuntu, I get this error:
> 
> CL-USER 1 > (drakma:http-request "https://example.com"
>                      :method :get
>                      :parameters '(("query" . "drachma") ("format" . "json"))
>                      :user-agent "Mozilla/5.0 (compatible; MyLispBot/1.0)")
> 
> Error: No applicable methods for #<STANDARD-GENERIC-FUNCTION STREAM::WAIT-FOR-STREAMS-LIST-CHECK 40F046867C> with args (15)
>   1 (continue) Call #<STANDARD-GENERIC-FUNCTION STREAM::WAIT-FOR-STREAMS-LIST-CHECK 40F046867C> again
>   2 (abort) Return to top loop level 0.
> 
> Type :b for backtrace or :c <option number> to proceed.
> Type :bug-form "<subject>" for a bug report template or :? for other options.
> 
> CL-USER 2 : 1 > :b
> Call to INVOKE-DEBUGGER
> Call to ERROR
> Call to CERROR
> Call to (METHOD NO-APPLICABLE-METHOD (T))
> Call to CLOS::APPLY-NO-APPLICABLE-METHOD
> Call to CL+SSL::INPUT-WAIT
> Call to (SUBFUNCTION 2 CL+SSL:MAKE-SSL-CLIENT-STREAM)
> Call to CL+SSL::COLLECTING-VERIFY-ERROR-IMPL
> Call to CL+SSL:MAKE-SSL-CLIENT-STREAM
> Call to (SUBFUNCTION 1 DRAKMA::MAKE-SSL-STREAM)
> Call to CL+SSL::CALL-WITH-GLOBAL-CONTEXT
> Call to DRAKMA:HTTP-REQUEST
> Call to EVAL
> Call to CAPI::CAPI-TOP-LEVEL-FUNCTION
> Call to CAPI::INTERACTIVE-PANE-TOP-LOOP
> Call to MP::PROCESS-SG-FUNCTION
> 
> CL-USER 3 : 1 > 
> 
> Can anybody suggest how I can fix this bug? I’ve upgraded Drakma and openssl on my Ubuntu laptop, to the latest versions, but the error persists.

Drakma should not be using cl+ssl on LispWorks (because it doesn't work).

The drakma-v2.0.10 in quicklisp has this bug due to incorrect
conditionalization, but there is an unreleased fix for it:

https://github.com/edicl/drakma/commit/440eb8930e0dfa95d6aafc0b4b6b7dad89762899

Maybe you have already included that in your version of Drakma on the Mac?

-- 
Martin Simmons
LispWorks Ltd
http://www.lispworks.com/

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
[email protected]
http://www.lispworks.com/support/lisp-hug.html