Hi,
It looks like maybe the global operations variable is set to f.
Do this before your define-operation call:
V{ } clone operations set-global
Operations are a bit hackish right now, they were designed to be used
by ui.tools.*. Now that I'm working on a big overhaul of the UI I
might clean them up and make them easier to use in other contexts.
Good lock,
Slava
On Fri, Feb 13, 2009 at 3:53 AM, Ben Schlingelhof <[email protected]> wrote:
> Hi there,
>
> I've managed to narrow down teh problems with deployment I've had.
> First thing was missing vocabs in USING: clauses. Apparantly the
> Factor Runtime doesn't give a warning if a vocab is used, that it
> already knows, but the deployer does object rather cryptically. So
> that worked, but now I'm stuck again: I can deploy, but the app ends
> in the low-level-debugger. This happens whenever I try to use
> define-operation for my UI. Everything else works fine, the UI deploys
> smoothly if I dont define any new operations, but if I do: bugger.
> Maybe I don't get the whole idea about operations. Sorry for not
> sharing any code, but I'm sort of under contract and would not feel
> good sharing it. Here's the error:
>
> .s
> ==== DATA STACK:
> T{ sequences:immutable f }
> READY
> .r
> ==== RETAIN STACK:
> #<type 16 @ 57e3df3>
> [ kernel:drop ]
> [ f #<type 9 @ 1a01b4b> namespaces:set-global ]
> [ ]
> READY
> .c
> ==== CALL STACK:
> [ init:boot T{ vectors:vector { } 0 } kernel:clone
> compiler.units:definition-observers namespaces:set-global T{
> hashtables:hashtable 0 0 { T{ hashtables.private:tombstone f } T{
> hashtables.private:tombstone f } T{ hashtables.private:tombstone f }
> T{ hashtables.private:tombstone f } T{ hashtables.private:tombstone f
> } T{ hashtables.private:tombstone f } T{ hashtables.private:tombstone
> f } T{ hashtables.private:tombstone f } } } kernel:clone
> alien:callbacks namespaces:set-global io.backend:init-io... ]
> 69
> 1a0009b 5e29150
> [ T{ hashtables:hashtable 0 0 { T{ hashtables.private:tombstone f } T{
> hashtables.private:tombstone f } T{ hashtables.private:tombstone f }
> T{ hashtables.private:tombstone f } T{ hashtables.private:tombstone f
> } T{ hashtables.private:tombstone f } T{ hashtables.private:tombstone
> f } T{ hashtables.private:tombstone f } } } kernel:clone
> namespaces.private:>n kernel:call namespaces.private:ndrop ]
> 3
> 20bcc9b 58e42e0
> [ cocoa.classes:NSAutoreleasePool "new" cocoa.messages:send
> kernel:slip "release" cocoa.messages:send ]
> 3
> 1fcda8b 5c05780
> [ [ kernel:call ] kernel:dip ]
> 1
> 1b5a52b 58df4a0
> [ [ kernel:compose [ kernel:dip continuations:rethrow ] kernel:curry
> continuations:recover ] [ kernel:drop ] kernel:2bi kernel:call ]
> 2
> 1f16c7b 588b650
> [ [ kernel:2keep ] kernel:dip kernel:call ]
> 1
> 20adf53 58dd050
> [ [ kernel:call ] kernel:2dip ]
> 1
> 1b5a623 58e0c80
> continuations:rethrow
> f
> 1b8004b 58bf050
> [ threads:self threads:error-in-thread threads:stop ]
> 1
> 1a0414b 5e29730
> error-in-thread/tuple-dispatch-engine
> f
> 1b9ba83 5ca9a00
> READY
>
> Thanks for reading, any ideas?
>
> Ben
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk