[Ecls-list] CL-Containers error on ECL
Greg Pfeil
sellout42 at mac.com
Wed May 31 21:57:11 UTC 2006
On 31 May 2006, at 5:06, Gary King wrote:
> Thanks for the update. Can you post a backtrace?
Oh, right ... I kind of forget ECL even has them ;)
;;; Compiling (DEFCLASS CONTENTS-AS-HASHTABLE-MIXIN ...).
;;; Warning: Class KEY-VALUE-ITERATABLE-CONTAINER-MIXIN has been
forward referenced.
There is no method on the generic function CONTENTS that agrees on
qualifiers NIL and specializers (#<The STANDARD-CLASS
CONTENTS-AS-HASHTABLE-MIXIN>)
Broken at LAMBDA.
METABANG.CL-CONTAINERS>> :b
Backtrace: > LAMBDA > lambda > lambda > clos:ensure-class > eval
METABANG.CL-CONTAINERS>>
And I just connected to it via slime-connect, which gave me the same
error, but with some additional output:
;;; Compiling (DEFCLASS CONTENTS-AS-HASHTABLE-MIXIN ...).
;;; Warning: Class KEY-VALUE-ITERATABLE-CONTAINER-MIXIN has been
forward referenced.
;;; Compiling (CLOS:ENSURE-CLASS 'CONTENTS-AS-HASHTABLE-MIXIN ...).
;;; The form (CLOS:ENSURE-CLASS 'CONTENTS-AS-HASHTABLE-MIXIN
:DIRECT-SUPERCLASSES '(USES-CONTENTS-MIXIN
KEY-VALUE-ITERATABLE-CONTAINER-MIXIN FINDABLE-CONTAINER-MIXIN)
:DIRECT-SLOTS '((:NAME CONTENTS :INITFORM CLOS::+INITFORM-UNSUPPLIED+
:INITFUNCTION NIL :INITARGS NIL :READERS (CONTENTS) :WRITERS ((SETF
CONTENTS)) :ALLOCATION :INSTANCE :DOCUMENTATION NIL))) was not
evaluated successfully.
;;; You are recommended to compile again.
CL-USER>
which looks like this when cleaned up:
(CLOS:ENSURE-CLASS 'CONTENTS-AS-HASHTABLE-MIXIN
:DIRECT-SUPERCLASSES '(USES-CONTENTS-MIXIN
KEY-VALUE-ITERATABLE-CONTAINER-MIXIN
FINDABLE-CONTAINER-MIXIN)
:DIRECT-SLOTS '((:NAME CONTENTS
:INITFORM
CLOS::+INITFORM-UNSUPPLIED+
:INITFUNCTION NIL
:INITARGS NIL
:READERS (CONTENTS)
:WRITERS ((SETF CONTENTS))
:ALLOCATION :INSTANCE
:DOCUMENTATION NIL)))
Nothing there that jumps out at me, but others might know better. If I
evaluate that form in a fresh REPL, it works fine:
CL-USER> (CLOS:ENSURE-CLASS 'CONTENTS-AS-HASHTABLE-MIXIN ...)
;;; Warning: Class USES-CONTENTS-MIXIN has been forward referenced.
;;; Warning: Class KEY-VALUE-ITERATABLE-CONTAINER-MIXIN has been
forward referenced.
;;; Warning: Class FINDABLE-CONTAINER-MIXIN has been forward referenced.
#<The STANDARD-CLASS CONTENTS-AS-HASHTABLE-MIXIN>
CL-USER>
Well, that's what I could find out. Anyone have any ideas?
> On May 31, 2006, at 12:23 AM, Greg Pfeil wrote:
>
>> On May 25, 2006, at 6:42 AM, Gary King wrote:
>>
>>>> ;;; Compiling
>>>> /Users/gwking/.asdf-install-dir/site/closer-mop/ecl/closer-mop-
>>>> packages.lisp.Cannot find symbol "COMPUTE-DISCRIMINATING-FUNCTION"
>>>> in package #<"CLOS" package>
>>>> Broken at EVAL.
>>>> CLOSER-MOP>>
>>>
>>> I'm not sure how to proceed from here. Also, does apropos not work
>>> in ECL? I tried things like (apropos "bind") and got no results.
>>
>> Ok, I have the newest darcs on the whole stack up to CL-Containers on
>> my Intel MacBook, and with my standard-accessor-method patch, I see:
>>
>> There is no method on the generic function
>> METABANG.CL-CONTAINERS:CONTENTS that agrees on qualifiers NIL and
>> specializers (#<The STANDARD-CLASS CONTENTS-AS-HASHTABLE-MIXIN>)
>> [Condition of type SIMPLE-ERROR]
>>
>> Which is the same error I was seeing on my Linux box, so we have
>> parity of a sort. Unfortunately, I haven't gotten a chance to sit
>> down at my PPC Mac in a while, so I still don't know what's going on
>> there. But now I know I see the issue across various x86 systems.
>> Also, SBCL has no problem with any of this.
>
>
> --
> Gary Warren King
> metabang.com
> http://www.metabang.com/
> (413) 210 7511
> gwking on #lisp (occasionally)
>
>
More information about the ecl-devel
mailing list