Trouble getting slate gui started from instructions
Brian Rice
water at tunes.org
Wed Apr 5 09:15:44 PDT 2006
First, there are errors happening that are being skipped. Basically
one error is precipitating the rest. Type "repl noviceMode: False."
to get a debugging context any time an error occurs. Maybe this
should be in a message when skipped - unfortunately there's not a way
to save the stack as a continuation to debug after-the-fact.
Second, windows.slate starts with "ensureNamespace: #Windows ..."
which conflicts with a new REPL feature where the implicit context is
another namespace that delegates to the lobby, not the lobby itself
(part of an attempt to make persistent REPL workspaces).
I have uploaded a patch that fixes this (to "lobby ensureNamespace:
#Windows ..." and cleans up some other code in the same file. Let me
know if that works.
On Apr 5, 2006, at 8:53 AM, Timmy Douglas wrote:
>
> I think I've followed the instructions fairly well and well here is
> the output:
>
> (sdl.image is the image I made when I first loaded the slate files
> that didn't need the foreign library)
>
> timmy at main ~/src/slate/slate-current $ ./vm -i sdl.image
> Slate: Growing heap to 9465024 bytes.
> Nil
> Slate 1> load: 'src/plugins/sdl-windows/windows.slate'.
> load: 'src/plugins/cairo/cairo.slate'.
> load: 'demo/ui.slate'.
>
> mainWindow eventLoop.Loading P'src/plugins/sdl-windows/windows.slate'
>
> Library slate-windows was successfully loaded.
> The method #Windows was not found for the following arguments:
> {lobby}
> Nil
> Slate 2> Loading P'src/plugins/cairo/cairo.slate'
> Library slate-cairo was successfully loaded.
> The method #formats was not found for the following arguments:
> {lobby}
> Nil
> Slate 3> Loading P'demo/ui.slate'
> The method #Window was not found for the following arguments:
> {lobby}
> Nil
> Slate 4> The method #mainWindow was not found for the following
> arguments:
> {(...)}
> Nil
> Slate 5>
--
-Brian
http://tunes.org/~water/brice.vcf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/slate/attachments/20060405/bf55970c/PGP-0001.pgp
More information about the Slate
mailing list