Comments (7)
IMHO it's not us, it's mybinder that's guilty here. Maybe @betatim knows...
from sage-binder-env.
It seems like this is still/again an issue? My SageMath notebooks via mybinder are also failing over at https://github.com/mmosmond/eeb430. Any ideas what is going on? Everything was working fine in early September but stopped working later in the month. Some updates have broken things? See also calculuslab/Calculus_Lab#1
from sage-binder-env.
Have a look at jupyterhub/binderhub#1409 (comment) and the forum threads. It seems likely that this is because of the recent changes to use jupyterlab by default on mybinder.org.
from sage-binder-env.
While there is a conda-based approach for SageMath + mybinder by now, I still wonder what exactly it is that causes mybinder to fail starting the environment when using a simple Dockerfile like
FROM sagemath/sagemath:9.7
COPY --chown=sage:sage . .
I played around with the setup a bit and found something somewhat odd: if we don't use the jupyter / notebook installed to SageMath's venv, but instead install Python 3 and notebook
separately, it is possible to use the Docker image: with the Dockerfile provided at https://gist.github.com/behackl/a5d25c901ec557565f99331b130f09a2 (apologies, it's not particularly pretty) the mybinder environment does start up normally and the kernel works as expected (as far as I could tell):
Why? Is there some notebook setting that is overwritten or changed in our venv that clashes with how mybinder creates the environment? I'll also share this with sage-devel, perhaps someone has an idea about this. (Edit: done.)
from sage-binder-env.
IMHO Sage should not vendor Jupyter in the 1st place.
Note that even not vendoring gcc is still open, cf https://trac.sagemath.org/ticket/32532 - where I propose the remove the capacity to build gcc, retaining the capacity to build gfortran.
from sage-binder-env.
IMHO Sage should not vendor Jupyter in the 1st place.
It is nice that sage -n jupyter
just works, but I am not sure whether it is necessary to actually vendor notebook
for that. I suppose it might be possible for sage to do something intelligent regarding looking for Jupyter installed on the system side and linking its kernel to it, but if it isn't it could still be installed in Sage's venv.
My best guess at this point is that either Sage ships with some specific setting that makes the notebook server unresponsive when started by mybinder (none of the settings feel like they could be responsible though; but that's something that could be tested) -- or mybinder is not happy with its bash commands being executed via sage -sh -c
.
Note that even not vendoring gcc is still open, cf https://trac.sagemath.org/ticket/32532 - where I propose the remove the capacity to build gcc, retaining the capacity to build gfortran.
I'm not familiar with the build toolchain well enough to make a meaningful comment about it, but I don't find it unlikely that this discussion might be easier with packages that have a little less, well, gravitas.
from sage-binder-env.
fixed by #16
from sage-binder-env.
Related Issues (11)
- Fix image building via conda on mybinder HOT 5
- Sagemath and binder do not work together (neither docker nor conda) HOT 8
- Update to the latest sage in preparation for live doc HOT 4
- Change default branch to main HOT 1
- Unable to install a package HOT 13
- Use binder for reviewing trac tickets HOT 5
- ThreeJS and JSMol nbextensions give 404 HOT 2
- Internal Error 500 on Binder Launch HOT 1
- Embedded Videos not shown HOT 4
- Available Kernels HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sage-binder-env.