This .factor-rc fixed it :
----------------------------------------------------
USING:
    calendar kernel namespaces timers tools.scaffold
    ui ui.tools.browser ui.tools.listener
    ;
"Georg Simon" developer-name set-global

[ ui-running? [ "DejaVu Sans Mono" 18 set-listener-font ] when ]
.1 seconds later drop

[ ui-running? [ browser-window ] when ]
1 seconds later drop
----------------------------------------------------
I do not know why but at least it is fixed.

Thank you,
Georg.

Am Mon, 3 Oct 2022 10:10:06 -0700
schrieb John Benediktsson <mrj...@gmail.com>:

> You might want to wrap those with ui-running? [ … ] when
> 
> And see if that fixes it?
> 
> On Mon, Oct 3, 2022 at 9:58 AM Georg Simon <georg.si...@auge.de>
> wrote:
> 
> > .factor-rc
> > -------------------------------------------------------
> > USING:
> >     calendar kernel namespaces timers tools.scaffold
> >     ui.tools.browser ui.tools.listener
> >     ;
> > "Georg Simon" developer-name set-global
> >
> > [ "DejaVu Sans Mono" 18 set-listener-font ] .1 seconds later drop
> >
> > [ browser-window ] 1 seconds later drop
> > -------------------------------------------------------
> > and no .factor-boot-rc
> >
> > Thanks,
> > Georg.
> >
> > Am Mon, 3 Oct 2022 09:25:06 -0700
> > schrieb John Benediktsson <mrj...@gmail.com>:
> >  
> > > I'm not aware of any dependency, and I can't reproduce it on
> > > linux or macOS just now.
> > >
> > > I opened an issue on GitHub to investigate:
> > >
> > > https://github.com/factor/factor/issues/2697
> > >
> > > Do you have any UI code in your .factor-rc or .factor-boot-rc?
> > >
> > > Thanks,
> > > John.
> > >
> > > On Mon, Oct 3, 2022 at 5:15 AM Georg Simon <georg.si...@auge.de>
> > > wrote:
> > >  
> > > > Factor 0.99 x86.64 (2165, heads/master-b0f39e3617, Feb 16 2022
> > > > 17:53:17) [GCC 11.2.0] on linux
> > > >  
> > ------------------------------------------------------------------------
> >  
> > > > I tried to narrow down my problem.
> > > >
> > > > For this I run two slightly different scripts
> > > > which only load a vocabulary.
> > > >
> > > > For the second script Factor reports an error :
> > > >  
> > ------------------------------------------------------------------------
> >  
> > > > ~/factor/work/test_script$ cat test_script.factor
> > > > IN: test_script
> > > > USING: calendar ;
> > > > ~/factor/work/test_script$ factor-lang test_script.factor
> > > > ~/factor/work/test_script$
> > > >  
> > ------------------------------------------------------------------------
> >  
> > > > ~/factor/work/test_script$ cat test_script.factor
> > > > IN: test_script
> > > > USING: calendar.format ;
> > > > ~/factor/work/test_script$ factor-lang test_script.factor
> > > > Error in thread 33 (Timer, [ ~timer~ timer-loop ]):
> > > >
> > > > UI not running
> > > >
> > > > (U) [ set-namestack init-catchstack self quot>> call => stop ]
> > > > (O) timer-loop
> > > > (O) run-timer
> > > > (O) set-listener-font
> > > > (O) graft
> > > > (O) (queue-graft)
> > > > (O) graft-queue
> > > > (O) M\ object throw
> > > > (U) [
> > > >         OBJ-CURRENT-THREAD special-object error-thread
> > > > set-global current-continuation => error-continuation set-global
> > > >         [ original-error set-global ] [ rethrow ] bi
> > > >     ]
> > > > ~/factor/work/test_script$
> > > >  
> > ------------------------------------------------------------------------
> >  
> > > >
> > > >
> > > > _______________________________________________
> > > > Factor-talk mailing list
> > > > Factor-talk@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/factor-talk
> > > >  
> >
> >
> >
> > _______________________________________________
> > Factor-talk mailing list
> > Factor-talk@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/factor-talk
> >  



_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to