Re: [racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Claes Wallin
It worked! Thanks for pointing me in the right direction, Robby!

-- 
   /c

On Tuesday, March 13, 2018 at 9:39:42 PM UTC+8, Claes Wallin wrote:
>
> Looks like the clue is that (find-relevant-directories (list key) 
> 'all-available) bit, where key is 'framework:color-schemes. On my 
> installed and working drracket, surprisingly (find-relevant-directories 
> 'framework:color-schemes 'all-available) evaluates to '().
>
> Anyway, the only info.rkt that seems to define that symbol is drracket, so 
> I'll see what happens if I make sure to setup drracket before racket-doc.
>
> -- 
>/c
>
> On Tuesday, March 13, 2018 at 7:43:43 PM UTC+8, Robby Findler wrote:
>>
>> That error message comes from this code: 
>>
>>
>> https://github.com/racket/drracket/blob/master/drracket/scribblings/drracket/interface-essentials.scrbl#L786-L826
>>  
>>
>> I'm not sure what is going wrong there, but if you have a running 
>> DrRacket elsewhere, you should be able to evaluate that code and put 
>> some prints in to see what piece of information is different and then 
>> maybe we can help more? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Robby Findler
In my DrRacket (built from git), I see:

> (find-relevant-directories '(framework:color-schemes) 'all-available)
'(#)

The problem may be that the getinfo cache is not getting populated
properly. That happens as part of `raco setup` (when run with no
arguments, but probably there are other ways to trigger it).

Robby



On Tue, Mar 13, 2018 at 8:39 AM, Claes Wallin  wrote:
> Looks like the clue is that (find-relevant-directories (list key)
> 'all-available) bit, where key is 'framework:color-schemes. On my installed
> and working drracket, surprisingly (find-relevant-directories
> 'framework:color-schemes 'all-available) evaluates to '().
>
> Anyway, the only info.rkt that seems to define that symbol is drracket, so
> I'll see what happens if I make sure to setup drracket before racket-doc.
>
> --
>/c
>
> On Tuesday, March 13, 2018 at 7:43:43 PM UTC+8, Robby Findler wrote:
>>
>> That error message comes from this code:
>>
>>
>> https://github.com/racket/drracket/blob/master/drracket/scribblings/drracket/interface-essentials.scrbl#L786-L826
>>
>> I'm not sure what is going wrong there, but if you have a running
>> DrRacket elsewhere, you should be able to evaluate that code and put
>> some prints in to see what piece of information is different and then
>> maybe we can help more?
>>
>> Robby
>>
>>
>>
>> On Tue, Mar 13, 2018 at 6:27 AM, Claes Wallin  wrote:
>> > In my experiments to build nix derivations of racket packages, I'm now
>> > trying to build racket-doc and all its dependencies in one big bunch,
>> > kind
>> > of what the full racket build does. I'm getting this:
>> >
>> >> interface-essentials.scrbl: could not find "Modern" style
>> >
>> > That's in pkgs/drracket/scribblings/drracket/interface-essentials.scrbl
>> > .
>> >
>> > Where does it expect to find this style, and any ideas on why it
>> > doesn't?
>> >
>> > I have racket-minimal built in one place, and I have racket-doc and all
>> > its
>> > dependencies in one place, referring to racket-minimal directories via
>> > the
>> > various attributes in config.rktd. Whatever package Modern is defined in
>> > should be in our primary installation path together with racket-doc,
>> > racket-index, drracket and all the others except racket-minimal.
>> >
>> > I haven't run raco setup for racket-index (for reasons -- basically I
>> > haven't got it to build in the split-up configuration and I'm using the
>> > same
>> > build code here), could that be causing this?
>> >
>> > --
>> >/c
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Racket Users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to racket-users...@googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Claes Wallin
Looks like the clue is that (find-relevant-directories (list key) 
'all-available) bit, where key is 'framework:color-schemes. On my installed 
and working drracket, surprisingly (find-relevant-directories 
'framework:color-schemes 'all-available) evaluates to '().

Anyway, the only info.rkt that seems to define that symbol is drracket, so 
I'll see what happens if I make sure to setup drracket before racket-doc.

-- 
   /c

On Tuesday, March 13, 2018 at 7:43:43 PM UTC+8, Robby Findler wrote:
>
> That error message comes from this code: 
>
>
> https://github.com/racket/drracket/blob/master/drracket/scribblings/drracket/interface-essentials.scrbl#L786-L826
>  
>
> I'm not sure what is going wrong there, but if you have a running 
> DrRacket elsewhere, you should be able to evaluate that code and put 
> some prints in to see what piece of information is different and then 
> maybe we can help more? 
>
> Robby 
>
>
>
> On Tue, Mar 13, 2018 at 6:27 AM, Claes Wallin  > wrote: 
> > In my experiments to build nix derivations of racket packages, I'm now 
> > trying to build racket-doc and all its dependencies in one big bunch, 
> kind 
> > of what the full racket build does. I'm getting this: 
> > 
> >> interface-essentials.scrbl: could not find "Modern" style 
> > 
> > That's in pkgs/drracket/scribblings/drracket/interface-essentials.scrbl 
> . 
> > 
> > Where does it expect to find this style, and any ideas on why it 
> doesn't? 
> > 
> > I have racket-minimal built in one place, and I have racket-doc and all 
> its 
> > dependencies in one place, referring to racket-minimal directories via 
> the 
> > various attributes in config.rktd. Whatever package Modern is defined in 
> > should be in our primary installation path together with racket-doc, 
> > racket-index, drracket and all the others except racket-minimal. 
> > 
> > I haven't run raco setup for racket-index (for reasons -- basically I 
> > haven't got it to build in the split-up configuration and I'm using the 
> same 
> > build code here), could that be causing this? 
> > 
> > -- 
> >/c 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Racket Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to racket-users...@googlegroups.com . 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] interface-essentials.scrbl: could not find "Modern" style

2018-03-13 Thread Robby Findler
That error message comes from this code:

https://github.com/racket/drracket/blob/master/drracket/scribblings/drracket/interface-essentials.scrbl#L786-L826

I'm not sure what is going wrong there, but if you have a running
DrRacket elsewhere, you should be able to evaluate that code and put
some prints in to see what piece of information is different and then
maybe we can help more?

Robby



On Tue, Mar 13, 2018 at 6:27 AM, Claes Wallin  wrote:
> In my experiments to build nix derivations of racket packages, I'm now
> trying to build racket-doc and all its dependencies in one big bunch, kind
> of what the full racket build does. I'm getting this:
>
>> interface-essentials.scrbl: could not find "Modern" style
>
> That's in pkgs/drracket/scribblings/drracket/interface-essentials.scrbl .
>
> Where does it expect to find this style, and any ideas on why it doesn't?
>
> I have racket-minimal built in one place, and I have racket-doc and all its
> dependencies in one place, referring to racket-minimal directories via the
> various attributes in config.rktd. Whatever package Modern is defined in
> should be in our primary installation path together with racket-doc,
> racket-index, drracket and all the others except racket-minimal.
>
> I haven't run raco setup for racket-index (for reasons -- basically I
> haven't got it to build in the split-up configuration and I'm using the same
> build code here), could that be causing this?
>
> --
>/c
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.