[sage-devel] Jupyterhub kernel and SAGE_ROOT

2018-11-04 Thread Jori Mäntysalo
I am trying to marry SageMath and Jupyterhub. I think I got them engaged, but the wedding night has a problem: Error: You must set the SAGE_ROOT environment variable or run this script from the SAGE_ROOT or SAGE_ROOT/local/bin/ directory. Error setting environment variables by sourcing '/home/j

Re: [sage-devel] Jupyterhub kernel and SAGE_ROOT

2018-11-04 Thread François Bissey
Didn’t we have that conversation a couple of months ago? The message here comes from this section of code in sage-env # New value for SAGE_ROOT: either SAGE_ROOT (if given) # or a guessed value based on pwd. if [ -n "$SAGE_ROOT" ]; then NEW_SAGE_ROOT="$SAGE_ROOT" elif [ -f sage -a -d build ];

Re: [sage-devel] Jupyterhub kernel and SAGE_ROOT

2018-11-04 Thread Jori Mäntysalo
On Mon, 5 Nov 2018, François Bissey wrote: Didn’t we have that conversation a couple of months ago? The message here comes from this section of code in sage-env else # No idea what SAGE_ROOT should be... echo >&2 "Error: You must set the SAGE_ROOT environment variable or run this" ec

Re: [sage-devel] Jupyterhub kernel and SAGE_ROOT

2018-11-04 Thread Dima Pasechnik
On Mon, Nov 5, 2018 at 7:42 AM Jori Mäntysalo wrote: > > On Mon, 5 Nov 2018, François Bissey wrote: > > > Didn’t we have that conversation a couple of months ago? > > The message here comes from this section of code in sage-env > > > else > ># No idea what SAGE_ROOT should be... > >echo >&

Re: [sage-devel] Jupyterhub kernel and SAGE_ROOT

2018-11-04 Thread François Bissey
I’d be curious about that, but yes that may be off-list. François > On 5/11/2018, at 20:42, Jori Mäntysalo wrote: > > Now it's time for polyamory, i.e. getting also shibboleth ready. But that > will be off-topic for this list. -- You received this message because you are subscribed to the Go