[mcclim-devel] Newbie problems with "accepting-values" / no method for CLIM:STREAM-CURSOR-POSITION

Peter Braroe peter.braroe at newsmachine.com
Wed Feb 1 09:57:52 UTC 2006


Hello all!

I am trying to get into mcCLIM to write a frontend to a text (news) analysis
tool... I use CMUCL and have followed the INSTALL.CMU file and most of the
demos work fine. But as I get down to it and start writing code to use
 "accepting-values"
for instance I get the message below. I also get it when running the demos
so i assume that something is wrong with the environment... but what? It's
probably something simple but I have tried to figgure it out for a lot of
hours and some ideas would be greatly appreciated!

Thanks,

/Peter

PS I tried wihout SLIME but that didn't work either. See second trace below.

CL-USER> (clim-demo::accepting-interval)

No matching method for the generic function
#<STANDARD-GENERIC-FUNCTION CLIM:STREAM-CURSOR-POSITION (2) {58BBC3B9}>,
when
called with arguments
(#<Two-Way Stream, Input = #<SWANK-BACKEND::SLIME-INPUT-STREAM
                             {58B7D7B5}>, Output = #<Stream for descriptor
7>>).
   [Condition of type PCL::NO-APPLICABLE-METHOD-ERROR]

Restarts:
  0: [CONTINUE] Retry call to :FUNCTION.
  1: [ABORT] Abort handling SLIME request.
  2: [ABORT] Return to Top-Level.

Backtrace:
  0: ("DEFMETHOD NO-APPLICABLE-METHOD (T)" #<#1=unused-arg> #<#1#>
#<STANDARD-GENERIC-FUNCTION CLIM:STREAM-CURSOR-POSITION (2) {58BBC3B9}>
(#<Two-Way Stream, Input = #<SWANK-BACKEND::SLIME-INPUT-STREAM {58B7D7B5}>,
Output = #<Stream for descriptor 7>>))
  1: (CLIM-INTERNALS::INVOKE-ACCEPTING-VALUES #<Two-Way Stream, Input =
#<SWANK-BACKEND::SLIME-INPUT-STREAM {58B7D7B5}>, Output = #<Stream for
descriptor 7>> #<Closure Over Function (FLET
#:ACCEPTING-VALUES-CONTINUATION1 CLIM-DEMO::ACCEPTING-INTERVAL) {58A68171}>
:OWN-WINDOW #<unused-arg> ...)
  2: (CLIM-DEMO::ACCEPTING-INTERVAL :MIN -1.0 :MAX 1.0 ...)
  3: (SWANK::EVAL-REGION "(clim-demo::accepting-interval)" T)
  4: ("DEFSLIMEFUN LISTENER-EVAL")

_____________________TRACE WITHOUT SLIME
________________________________________

* (clim-demo::accepting-interval)

No matching method for the generic function
#<STANDARD-GENERIC-FUNCTION CLIM:STREAM-CURSOR-POSITION (2) {58B61979}>,
when
called with arguments (#<Synonym Stream to *TERMINAL-IO*>).
   [Condition of type PCL::NO-APPLICABLE-METHOD-ERROR]

Restarts:
  0: [CONTINUE] Retry call to :FUNCTION.
  1: [ABORT   ] Return to Top-Level.

Debug  (type H for help)

("DEFMETHOD NO-APPLICABLE-METHOD (T)" #<unused-arg> #<unused-arg>
 #<STANDARD-GENERIC-FUNCTION CLIM:STREAM-CURSOR-POSITION (2) {58B61979}>
 (#<Synonym Stream to *TERMINAL-IO*>))
Source:
; File: target:pcl/braid.lisp
(CERROR "Retry call to ~S."
        'NO-APPLICABLE-METHOD-ERROR
        :FUNCTION GENERIC-FUNCTION
        ...)
0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/mcclim-devel/attachments/20060201/4e9c7e8c/attachment.html>


More information about the mcclim-devel mailing list