[mcclim-devel] mcclim update
With a version of mcclim updated on march 31st Autowrite works fine. With the latest version I get the error below. Could somebody help me please? -- Irène DURAND http://dept-info.labri.u-bordeaux.fr/~idurand The class #<SB-KERNEL:STANDARD-CLASSOID CLIM-INTERNALS::BASIC-OUTPUT-RECORD> is currently invalid. [Condition of type SIMPLE-ERROR] Restarts: 0: [ABORT] Return to application command loop 1: [ABORT-REQUEST] Abort handling SLIME request. 2: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {B3F9909}>) Backtrace: 0: (SB-KERNEL:CLASSOID-TYPEP #<SB-PCL::WRAPPER #<STANDARD-CLASS STANDARD-PRESENTATION> {EE7BCB9}> #<SB-KERNEL:STANDARD-CLASSOID CLIM-INTERNALS::BASIC-OUTPUT-RECORD> #<STANDARD-PRESENTATION 81:162,0:15 (COMMAND :COMMAND-TABLE #<STANDARD-COMMAND-TABLE VISU-AW {A986D91}>) {E50CCF1}>) 1: (CLIM-INTERNALS::FIND-OUTPUT-RECORD-SHEET #<STANDARD-PRESENTATION 81:162,0:15 (COMMAND :COMMAND-TABLE #<STANDARD-COMMAND-TABLE VISU-AW {A986D91}>) {E50CCF1}>) 2: ((SB-PCL::FAST-METHOD ADD-OUTPUT-RECORD :AFTER (T CLIM-INTERNALS::COMPOUND-OUTPUT-RECORD)) #<unavailable argument> #<unavailable argument> #<GOATEE:SIMPLE-SCREEN-AREA X 81:162 Y 0:15 {EF225B1}> #<STANDARD-PRESENTATION 81:162,0:15 (COMMAND :COMMAND-TABLE #<STANDARD-COMMAND-TABLE VISU-AW {A986D91}>) {E50CCF1}>) 3: ((LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB-PCL::.ARG1.)) #<unavailable argument> #<unavailable argument> #<GOATEE:SIMPLE-SCREEN-AREA X 81:162 Y 0:15 {EF225B1}> #<STANDARD-PRESENTATION 81:162,0:15 (COMMAND :COMMAND-TABLE #<STANDARD-COMMAND-TABLE VISU-AW {A986D91}>) {E50CCF1}>) 4: ((LAMBDA NIL)) 5: ((FLET #:CONTINUATION1279) #<unavailable argument> #<unavailable argument>) 6: ((SB-PCL::FAST-METHOD INVOKE-WITH-NEW-OUTPUT-RECORD (OUTPUT-RECORDING-STREAM T T T)) #<unavailable argument> #<unavailable argument> #<INTERACTOR-PANE INTERACTOR-PANE {AAD8021}> #<CLOSURE (FLET #:CONTINUATION1279) {DCD80A5}> #<unavailable argument> #<CLOSURE (FLET #:CONSTRUCTOR1278) {DCD808D}> (:OBJECT (COM-LOAD-SPEC) :TYPE (COMMAND :COMMAND-TABLE #<STANDARD-COMMAND-TABLE VISU-AW {A986D91}>))) 7: ((SB-PCL::FAST-METHOD CLIM-INTERNALS::FINALIZE (GOATEE:GOATEE-INPUT-EDITING-MIXIN T)) #<unavailable argument> #<unavailable argument> #<STANDARD-INPUT-EDITING-STREAM {DD94461}> #<CLOSURE (LAMBDA (STREAM CLIM-INTERNALS::CONT)) {DCCD7BD}>) 8: ((FLET #:CLEANUP-FUN-602)) 9: ((SB-PCL::FAST-METHOD CLIM-INTERNALS::INVOKE-WITH-INPUT-EDITING (EXTENDED-INPUT-STREAM T T T T)) #<unavailable argument> #<unavailable argument> #<INTERACTOR-PANE INTERACTOR-PANE {AAD8021}> #<CLOSURE (LAMBDA (STREAM)) {DCCD76D}> #<CLOSURE (LAMBDA (STREAM CLIM-INTERNALS::CONT)) {DCCD7BD}> "" STANDARD-INPUT-EDITING-STREAM) 10: ((SB-PCL::FAST-METHOD CLIM-INTERNALS::INVOKE-WITH-INPUT-EDITING :AROUND (EXTENDED-OUTPUT-STREAM T T T T)) #<unavailable argument> #S(SB-PCL::FAST-METHOD-CALL :FUNCTION #<FUNCTION (SB-PCL::FAST-METHOD CLIM-INTERNALS::INVOKE-WITH-INPUT-EDITING #)> :PV-CELL NIL :NEXT-METHOD-CALL #S(SB-PCL::FAST-METHOD-CALL :FUNCTION #<FUNCTION #> :PV-CELL NIL :NEXT-METHOD-CALL NIL :ARG-INFO (5)) :ARG-INFO (5)) #<INTERACTOR-PANE INTERACTOR-PANE {AAD8021}> #<CLOSURE (LAMBDA (STREAM)) {DCCD76D}> #<CLOSURE (LAMBDA (STREAM CLIM-INTERNALS::CONT)) {DCCD7BD}> "" STANDARD-INPUT-EDITING-STREAM) 11: (ACCEPT (COMMAND :COMMAND-TABLE #<STANDARD-COMMAND-TABLE VISU-AW {A986D91}>) :STREAM #<INTERACTOR-PANE INTERACTOR-PANE {AAD8021}> :PROMPT NIL :DEFAULT (CLIM-INTERNALS::COM-NULL-COMMAND) :DEFAULT-TYPE CLIM-INTERNALS::NULL-COMMAND) 12: (READ-COMMAND #<STANDARD-COMMAND-TABLE VISU-AW {A986D91}> :STREAM #<INTERACTOR-PANE INTERACTOR-PANE {AAD8021}> :COMMAND-PARSER NIL :COMMAND-UNPARSER NIL :PARTIAL-COMMAND-PARSER NIL :USE-KEYSTROKES NIL) 13: (READ-COMMAND-USING-KEYSTROKES #<STANDARD-COMMAND-TABLE VISU-AW {A986D91}> NIL :STREAM #<INTERACTOR-PANE INTERACTOR-PANE {AAD8021}> :COMMAND-PARSER NIL :COMMAND-UNPARSER NIL :PARTIAL-COMMAND-PARSER NIL) 14: (READ-COMMAND #<STANDARD-COMMAND-TABLE VISU-AW {A986D91}> :STREAM #<INTERACTOR-PANE INTERACTOR-PANE {AAD8021}> :COMMAND-PARSER NIL :COMMAND-UNPARSER NIL :PARTIAL-COMMAND-PARSER NIL :USE-KEYSTROKES T) 15: ((SB-PCL::FAST-METHOD READ-FRAME-COMMAND :AROUND (APPLICATION-FRAME)) #<unavailable argument> #S(SB-PCL::FAST-METHOD-CALL :FUNCTION #<FUNCTION (SB-PCL::FAST-METHOD READ-FRAME-COMMAND #)> :PV-CELL NIL :NEXT-METHOD-CALL NIL :ARG-INFO (1 . T)) #<VISU-AW {B26C2B9}> (:STREAM #<INTERACTOR-PANE INTERACTOR-PANE {AAD8021}>)) 16: ((SB-PCL::FAST-METHOD DEFAULT-FRAME-TOP-LEVEL (APPLICATION-FRAME)) #<unavailable argument> #<unavailable argument> #<VISU-AW {B26C2B9}> NIL) 17: ((SB-PCL::FAST-METHOD DEFAULT-FRAME-TOP-LEVEL (APPLICATION-FRAME)) #<unavailable argument> #<unavailable argument> #<VISU-AW {B26C2B9}> NIL) 18: ((LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB-PCL::.DFUN-REST-ARG.)) #<unavailable argument> #<unavailable argument> #<VISU-AW {B26C2B9}> NIL) 19: ((SB-PCL::FAST-METHOD RUN-FRAME-TOP-LEVEL (APPLICATION-FRAME)) #<unavailable argument> #<unavailable argument> #<VISU-AW {B26C2B9}> #<unavailable argument>) --more--
Irene DURAND <idurand@labri.fr> writes:
With a version of mcclim updated on march 31st Autowrite works fine. With the latest version I get the error below. Could somebody help me please?
As I said in my reply to Fred Gilham, this is likely a bug in CMUCL 19c; it can probably be worked around, but to do so it would be nice to know what the bug is in the first place so that the CMUCL people can fix it; to achieve this, you can bisect the CVS to find the commit that changed things, then work out which portion of that commit exposes the problem. Cheers, Christophe
Quoting Christophe Rhodes (csr21@cam.ac.uk):
With a version of mcclim updated on march 31st Autowrite works fine. With the latest version I get the error below. Could somebody help me please?
| The class #<SB-KERNEL:STANDARD-CLASSOID CLIM-INTERNALS::BASIC-OUTPUT-RECORD> | is currently invalid. | [Condition of type SIMPLE-ERROR]
As I said in my reply to Fred Gilham, this is likely a bug in CMUCL 19c; it can probably be worked around, but to do so it would be nice to know what the bug is in the first place so that the CMUCL people can fix it; to achieve this, you can bisect the CVS to find the commit that changed things, then work out which portion of that commit exposes the problem.
That looks unlikely to be a CMUCL bug to me. :-) It rather seems to be Christophe's removal of compatibility with older SBCL bugs, solved by either upgrading SBCL or reverting Christophe's recent McCLIM patches. d.
David Lichteblau <david@lichteblau.com> writes:
Quoting Christophe Rhodes (csr21@cam.ac.uk):
With a version of mcclim updated on march 31st Autowrite works fine. With the latest version I get the error below. Could somebody help me please?
| The class #<SB-KERNEL:STANDARD-CLASSOID CLIM-INTERNALS::BASIC-OUTPUT-RECORD> | is currently invalid. | [Condition of type SIMPLE-ERROR]
As I said in my reply to Fred Gilham, this is likely a bug in CMUCL 19c; it can probably be worked around, but to do so it would be nice to know what the bug is in the first place so that the CMUCL people can fix it; to achieve this, you can bisect the CVS to find the commit that changed things, then work out which portion of that commit exposes the problem.
That looks unlikely to be a CMUCL bug to me. :-)
It rather seems to be Christophe's removal of compatibility with older SBCL bugs, solved by either upgrading SBCL or reverting Christophe's recent McCLIM patches.
Oh, whoops. Yes. Sorry, for two things: firstly, for completely failing to read the message, and secondly, for at one point in this development cycle deciding to remove workarounds for older SBCL bugs. (This looks like the same problem as the 19c thing, in my defence) To see if this is the problem, try moving the (define-protocol-class design ()) in protocol-classes.lisp to above (define-protocol-class region (design)) in the same file. Cheers, Christophe
Christophe Rhodes <csr21@cam.ac.uk> wrote:
To see if this is the problem, try moving the (define-protocol-class design ()) in protocol-classes.lisp to above (define-protocol-class region (design)) in the same file.
Doing this fixes the problem. So I guess it's a problem with forward referenced classes in CMUCL and SBCL. -- Fred Gilham gilham@csl.sri.com Time is nature's way of making sure everything doesn't happen at once. Unfortunately, like most things in nature it doesn't always work.
Fred Gilham <gilham@csl.sri.com> writes:
Christophe Rhodes <csr21@cam.ac.uk> wrote:
To see if this is the problem, try moving the (define-protocol-class design ()) in protocol-classes.lisp to above (define-protocol-class region (design)) in the same file.
Doing this fixes the problem. So I guess it's a problem with forward referenced classes in CMUCL and
older versions of
SBCL.
Feel free to trawl SBCL CVS to find the patch, and port it to your favourite Lisp implementation. Cheers, Christophe
participants (4)
-
Christophe Rhodes
-
David Lichteblau
-
Fred Gilham
-
Irene DURAND