admich / scigraph-evo

A CLIM plotting library
5 stars 1 forks source link

Error when (graph::scigraph-showcase) #3

Open kchanqvq opened 6 months ago

kchanqvq commented 6 months ago

Thanks for the revival effort! I hope I can help but I'm not familiar with CLIM yet...

(graph::scigraph-showcase) shows the frame successfully, but then freezes with the following error:

There is no primary method for the generic function
  #<STANDARD-GENERIC-FUNCTION CLIM-INTERNALS::NOTE-OUTPUT-RECORD-GOT-SHEET (4)>
when called with arguments
  (#<DREI:DREI-AREA TEXTUAL-DREI-SYNTAX-VIEW {100A8CD2B3}>
   #<CLIM:INTERACTOR-PANE GRAPH::INTER {1003F78E73}>).
   [Condition of type SB-PCL::NO-PRIMARY-METHOD-ERROR]

Backtraces:

  0: ((:METHOD SB-PCL::NO-PRIMARY-METHOD (T)) #<STANDARD-GENERIC-FUNCTION CLIM-INTERNALS::NOTE-OUTPUT-RECORD-GOT-SHEET (4)> #<DREI:DREI-AREA TEXTUAL-DREI-SYNTAX-VIEW {100A8CD2B3}> #<CLIM:INTERACTOR-PANE GR..
  1: (SB-PCL::CALL-NO-PRIMARY-METHOD #<STANDARD-GENERIC-FUNCTION CLIM-INTERNALS::NOTE-OUTPUT-RECORD-GOT-SHEET (4)> (#<DREI:DREI-AREA TEXTUAL-DREI-SYNTAX-VIEW {100A8CD2B3}> #<CLIM:INTERACTOR-PANE GRAPH::INT..
  2: ((SB-PCL::EMF CLIM:ADD-OUTPUT-RECORD) #<unused argument> #<unused argument> #<DREI:DREI-AREA TEXTUAL-DREI-SYNTAX-VIEW {100A8CD2B3}> #<CLIM:STANDARD-TREE-OUTPUT-HISTORY X 0.00:135.00 Y 0.00:21.74>)
  3: ((LAMBDA (SB-PCL::|.P0.|)) #<unavailable argument>)
  4: ((:METHOD CLIM-INTERNALS::INVOKE-WITH-INPUT-EDITING (CLIM:CLIM-STREAM-PANE T T T T)) #<CLIM:INTERACTOR-PANE GRAPH::INTER {1003F78E73}> #<FUNCTION (LAMBDA (STREAM) :IN CLIM:ACCEPT-1) {100A8AF8AB}> #<FU..
  5: ((:METHOD CLIM-INTERNALS::INVOKE-WITH-INPUT-EDITING :AROUND (T T T T T)) #<CLIM:INTERACTOR-PANE GRAPH::INTER {1003F78E73}> #<FUNCTION (LAMBDA (STREAM) :IN CLIM:ACCEPT-1) {100A8AF8AB}> #<FUNCTION (LAMB..
  6: ((:METHOD CLIM-INTERNALS::INVOKE-WITH-INPUT-EDITING :AROUND (CLIM:EXTENDED-OUTPUT-STREAM T T T T)) #<CLIM:INTERACTOR-PANE GRAPH::INTER {1003F78E73}> #<FUNCTION (LAMBDA (STREAM) :IN CLIM:ACCEPT-1) {100..
  7: (CLIM:ACCEPT (CLIM:COMMAND :COMMAND-TABLE #<CLIM:STANDARD-COMMAND-TABLE GRAPH::SHOWCASE {1004A02303}>) :STREAM #<CLIM:INTERACTOR-PANE GRAPH::INTER {1003F78E73}> :PROMPT NIL :DEFAULT (CLIM-INTERNALS::C..
  8: (CLIM:READ-COMMAND #<CLIM:STANDARD-COMMAND-TABLE GRAPH::SHOWCASE {1004A02303}> :STREAM #<CLIM:INTERACTOR-PANE GRAPH::INTER {1003F78E73}> :COMMAND-PARSER NIL :COMMAND-UNPARSER NIL :PARTIAL-COMMAND-PARS..
  9: (CLIM:READ-COMMAND-USING-KEYSTROKES #<CLIM:STANDARD-COMMAND-TABLE GRAPH::SHOWCASE {1004A02303}> NIL :STREAM #<CLIM:INTERACTOR-PANE GRAPH::INTER {1003F78E73}> :COMMAND-PARSER NIL :COMMAND-UNPARSER NIL ..
 10: (CLIM:READ-COMMAND #<CLIM:STANDARD-COMMAND-TABLE GRAPH::SHOWCASE {1004A02303}> :STREAM #<CLIM:INTERACTOR-PANE GRAPH::INTER {1003F78E73}> :COMMAND-PARSER NIL :COMMAND-UNPARSER NIL :PARTIAL-COMMAND-PARS..
 11: ((:METHOD CLIM:READ-FRAME-COMMAND :AROUND (T)) #<GRAPH::SHOWCASE {100187D843}> :STREAM #<CLIM:INTERACTOR-PANE GRAPH::INTER {1003F78E73}>) [fast-method]
 12: ((:METHOD CLIM:READ-FRAME-COMMAND :AROUND (CLIM:APPLICATION-FRAME)) #<GRAPH::SHOWCASE {100187D843}> :STREAM #<CLIM:INTERACTOR-PANE GRAPH::INTER {1003F78E73}>) [fast-method]
 13: ((:METHOD CLIM:DEFAULT-FRAME-TOP-LEVEL (CLIM:APPLICATION-FRAME)) #<GRAPH::SHOWCASE {100187D843}> :COMMAND-PARSER NIL :COMMAND-UNPARSER NIL :PARTIAL-COMMAND-PARSER NIL :PROMPT "Command: ") [fast-method..
 14: ((:METHOD CLIM:RUN-FRAME-TOP-LEVEL (CLIM:APPLICATION-FRAME)) #<GRAPH::SHOWCASE {100187D843}>) [fast-method]
 15: ((:METHOD CLIM:RUN-FRAME-TOP-LEVEL :AROUND (CLIM:APPLICATION-FRAME)) #<GRAPH::SHOWCASE {100187D843}>) [fast-method]
 16: (SB-INT:SIMPLE-EVAL-IN-LEXENV (GRAPH:SCIGRAPH-SHOWCASE) #<NULL-LEXENV>)
admich commented 6 months ago

I'm not able to reproduce the error.

Have you this error only with Scigraph? Have you try other CLIM applications?

The error seems on the interactor so you can try some example with the interactor pane (e.g. Address Book)

(ql:quickload 'clim-examples)
(clim-sys:make-process 'clim-demo:demodemo)

Try also if you still have the error with the master branch of McCLIM. (the repo of McCLIM is on codeberg https://codeberg.org/McCLIM/McCLIM )