<div dir="ltr"><br><div class="gmail_quote">2008/8/15 Thomas F. Burdick <span dir="ltr"><<a href="mailto:tburdick@gmail.com">tburdick@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I'm sending a copy of this to the ECL list, since I can't see what's<br>
going wrong from here, nor can I get ecl to build on my system. The<br>
background is that Marko is trying to use Ltk with ECL under windows,<br>
but it looks like something fails very early on. The wish subprocess<br>
starts up, but when sending its initialization commands to Tcl, he<br>
gets this less-than-explicit error.<br>
<br>
2008/8/14 Marko Kociæ <<a href="mailto:marko.kocic@gmail.com">marko.kocic@gmail.com</a>>:<br>
<div class="Ih2E3d">> Ok, I tried it again with :debug 0 as you suggested and the result is the same:<br>
><br>
>> (asdf:oos 'asdf:load-source-op :ltk)<br>
<br>
</div>ECL guys: are the backtraces more usable when loaded from source or<br>
from compiled files?<br>
<div class="Ih2E3d"><br>
> ; loading system definition from /lisp/lib/ltk-0.91/ltk.asd into<br>
> ; #<ASDF0 package><br>
> ;;; Loading "/lisp/lib/ltk-0.91/ltk.asd"<br>
> ; registering #<SYSTEM LTK 15100376> as LTK<br>
> ;;; Loading "c:/lisp/lib/ltk-0.91/ltk.lisp"<br>
> NIL<br>
>> (setf ltk:*wish-pathname* "c:/Tcl/bin/wish85.exe")<br>
> "c:/Tcl/bin/wish85.exe"<br>
>> ;(setf ltk:*debug-tk* t)<br>
> (ltk:ltktest)<br>
><br>
> #<two-way stream 00f0db68> An error of type SIMPLE-ERROR has occured:<br>
> Read or write operation to stream #<output stream<br>
> "\"c:/Tcl/bin/wish85.exe\" \"-name\" \"LTK\""> signaled an error.<br>
> Explanation: Invalid argument.<br>
> Read or write operation to stream #<output stream<br>
> "\"c:/Tcl/bin/wish85.exe\" \"-name\" \"LTK\""> signaled an error.<br>
> Explanation: Invalid argument.<br>
> Broken at SI:BYTECODES.No restarts available.<br>
> Broken at LTK:SEND-WISH. File: #P"c:/lisp/lib/ltk-0.91/ltk.lisp" (Form #22)<br>
>>> :B<br>
> Backtrace: LTK:SEND-WISH > ltk::init-wish > lambda > lambda ><br>
> ltk::use-debugger > ltk::use-trivial-debugger > lambda > l<br>
> tk:start-wish > ltk:start-wish > ltk:call-with-ltk > ltk:ltktest ><br>
> si:bytecodes > si:bytecodes > si:bytecodes<br>
<br>
</div>That's not the most helpful backtrace I've ever seen, but it looks<br>
like something in send-wish is causing this "Invalid argument" error?<br>
<br>_______________________________________________<br>
ltk-user site list<br>
<a href="mailto:ltk-user@common-lisp.net">ltk-user@common-lisp.net</a><br>
<a href="http://common-lisp.net/mailman/listinfo/ltk-user" target="_blank">http://common-lisp.net/mailman/listinfo/ltk-user</a><br></blockquote></div><br><br clear="all">Can you try manually sending that command to wish to see what happens? It should put up a small blank window with the title LTK.
<div><br></div><div>c:/Tcl/bin/wish85.exe -name LTK</div><div><br></div><div>Neil</div></div>