Hi Slava,

Excellent - that fixed my tetris testcase, many thanks. I'm pretty sure
I deleted the temp dir before but it didn't occur to me to remove the
stale boot images.

Unfortunately I've still got a problem whereby my code will load and run
in a freshly-bootstrapped listener image using '"vocab" run', but
crashes out with a lexer error when doing image deployment (even with
everything turned on).

source-file-error instance
error T{ lexer-error f 7 51...
asset f
file  "resource:work/bstore/www/www.factor"
line# f
Process exited with error code 1


I'll try and figure this out myself and post back here if I get stuck.

Thanks again,

Phil

Slava Pestov wrote:
> Hi Phil,
> 
> Are you sure you don't have some outdated staging images sitting
> around? Try removing
> 
> boot.*.image temp/staging.*.image
> 
> then deploy again. The deploy tool will generate new images and
> everything should work.
> 
> Slava
> 
> On Tue, Jul 21, 2009 at 7:24 AM, Phil Dawes<[email protected]> wrote:
>> Hi Slava, Hi Factor List,
>>
>> I'm having a problem using the deploy tool to deploy my own code, and I
>> think I've reproduced the problem for the 'Tetris' demo:
>>
>> Steps:
>>
>> 1) invoke in the listener: "tetris" deploy-tool
>> 2) select everything, put Input/Output at level 3, reflection at level 6
>> 3) hit deploy.
>>
>> After a while the deploy process crashes with the trace below. Am I
>> doing something wrong or is this a bug?
>>
>> Thanks
>>
>> Phil
>>
>> ... lots of loading ...
>> ...
>> Deploying tetris...
>> Loading /usr/local/src/factor/temp/deploy-config-tetris
>> Loading resource:basis/debugger/debugger.factor
>> Loading resource:basis/see/see.factor
>> [
>>     boot do-init-hooks (command-line) parse-command-line
>>     "run" get run -> output-stream get [ stream-flush ] when*
>>     0 exit
>> ]
>> (deploy)
>> require
>> M\ vocab (load-vocab)
>> load-source
>> parse-file
>> parse-stream
>> finish-compilation-unit
>> M\ optimizing-compiler recompile
>> compile-loop
>> compile-word
>> frontend
>> build-tree-with
>> M\ word (build-tree)
>> infer-quot-here
>> infer-quot
>> infer-quot-here
>> infer-quot
>> infer-quot-here
>> infer-quot
>> infer-quot-here
>> (infer-if)
>> M\ callable infer-branch
>> infer-quot-here
>> infer-quot
>> infer-quot-here
>> M\ object infer-call*
>> literal-expected
>> [
>>     63 getenv error-thread set-global
>>     continuation -> error-continuation set-global rethrow
>> ]
>>
>> Error in print-error!
>>
>>
>> ------------------------------------------------------------------------------
>> Enter the BlackBerry Developer Challenge
>> This is your chance to win up to $100,000 in prizes! For a limited time,
>> vendors submitting new applications to BlackBerry App World(TM) will have
>> the opportunity to enter the BlackBerry Developer Challenge. See full prize
>> details at: http://p.sf.net/sfu/Challenge
>> _______________________________________________
>> Factor-talk mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/factor-talk
>>
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 





------------------------------------------------------------------------------
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to