Re: All Your GUIs Are Belong to Us (Die, McCLIM! Die!!)



Hi all! I just entered the world of lisp GUI's, and I'm still trying
out cells+celtk under a Windows 2003 machine.

I passed most of the "tricks" Ken placed for newcomers (asdf not
up to date with lpr's, paths to libraries and to movies, etc),
but I'm still having my share of quirks to discuss.


On Jan 30, 1:43 am, Michael <spamt...@xxxxxxxxxxxxxx> wrote:
On 2007-01-29 18:40:37 -0500, Ken Tilton <kentil...@xxxxxxxxx> said:

Ah, someone else just reported that. My apologies (and a warning that I
do not use ASDF day to day so those files do not get maintained).

Fortunately, it's easy enough to fix those from the lpr. Question,
quad.lisp is on cells/utils-kt for any particular reason other than to
be a proof-of-concept, or something that has no place in the
dependency-graph? (if so, may I suggest a separate dir, like ./
examples ?)

3. Oddly enough my sbcl chokes on ltktest-ci.

You're lucky. Mine doesn't get to it. I can load everything up to the
point of tk-interp loading, when I get this error when evaluating the
form:

(defcfun ("Tcl_FindExecutable" tcl-find-executable) :void
(argv0 :string))


Here's the error I get:

Undefined alien: "Tcl_FindExecutable"
[Condition of type UNDEFINED-ALIEN-ERROR]

Restarts:
0: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {B873951}> on
#<ASDF:CL-SOURCE-FILE "tk-interp" {ABFFAE9}>.
1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {B873951}> on
#<ASDF:CL-SOURCE-FILE "tk-interp" {ABFFAE9}> as having been
successful.
2: [ABORT] Abort SLIME compilation.
3: [ABORT] Return to SLIME's top level.
4: [CLOSE-CONNECTION] Close SLIME connection
5: [ABORT] Exit debugger, returning to top level.

Backtrace:
0: (SB-SYS:ENSURE-DYNAMIC-FOREIGN-SYMBOL-ADDRESS
"Tcl_FindExecutable"
#<unused argument>)
1: (SB-IMPL::LINK-FOREIGN-SYMBOL "Tcl_FindExecutable" NIL)
2: (SB-IMPL::ENSURE-FOREIGN-SYMBOL-LINKAGE "Tcl_FindExecutable" NIL)
3: (SB-SYS:FOREIGN-SYMBOL-ADDRESS "Tcl_FindExecutable" NIL)
4: (SB-FASL::FOP-FOREIGN-FIXUP)
5: (SB-FASL::LOAD-FASL-GROUP
#<SB-SYS:FD-STREAM for "file C:\\dev\\cells\\Celtk\\tk-
interp.fasl" {A923269}>)

I don't know if there's something particular I have to change on
the library location in order for sbcl to recognize it, I'm using
something like the following for each library (and it works on ACL):
(define-foreign-library Tcl
(:darwin (:framework "Tcl"))
(:windows (:or "/dev/Tcl/bin/tcl85.dll" "tcl85.dll"))
(:unix "libtcl.so")
(t (:default "libtcl")))

I don't know what to do from here about this. Any clues?


2) Under ACL 7.0, I run into this whenever trying to load your
lotsa-widgets (with the video - I can run it just fine without
them, working great!). I googled the code, but the only thing I
suspect is that it can be about QuikTimeTcl. But I have the
latest library (3.1) , from the site, placed in the lib folder,
properly, so I don't know what can it be[1].

Tcl error: Error in user parameter list
[Condition of type SIMPLE-ERROR]

Restarts:
0: [ABORT] Return to SLIME's top level.
1: [ABORT] Abort entirely from this (lisp) process.

Backtrace:
0: (SWANK:SWANK-DEBUGGER-HOOK #<SIMPLE-ERROR @ #x2136d34a>
#<Function SWANK-DEBUGGER-HOOK>)
1: (ERROR "Tcl error: ~a" "Error in user parameter list")
2: ((METHOD CFFI:TRANSLATE-FROM-FOREIGN (T (EQL 'CELTK::TCL-
RETCODE))) 1
CELTK::TCL-RETCODE)
3: ((METHOD CFFI::TRANSLATE-TYPE-FROM-FOREIGN (T CFFI::FOREIGN-
TYPEDEF))
1 #<CFFI::FOREIGN-TYPEDEF CELTK::TCL-RETCODE>)
4: (CELTK::TCL_EVALEX 485001136
"movie .f713.f716.f742.f747.f751.play-me -
palindromeloopstate 0 -loopstate 0 -file c:\\dev\\cells\\Celtk\\good-
thing2.mov"
-1 0)

What say you? Is it serious? Does it have a known cure?

[1] Note that I'm not that familiar with Tcl/Tk, I'm installing
it for the first time to use celltk!

.



Relevant Pages

  • Re: failed assertion
    ... this sort of thing happens a lot if you mix different Kerberos ... libraries or different com_err libraries (such as by building Kerberos ... gets the assertion failed abort. ...
    (comp.protocols.kerberos)
  • Re: Stupid binary clock
    ... if I or some other Lisp enthusiast can make a small hack ... >> binary clock application in Lisp, ... 2: [ABORT] Abort SLIME compilation. ... Emre Sevinc ...
    (comp.lang.lisp)
  • asdf-install intall on acl 8.0 using lispbox = Help Needed Please
    ... I am trying to catch up with lisp and it is ... ACL 8.0 has asdf already in place. ... [ABORT] Return to sldb level 2. ...
    (comp.lang.lisp)