-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R image: update python, pangeo-notebook and rstudio-server #97
base: main
Are you sure you want to change the base?
Conversation
@abkfenris the
I built the image locally ( Thanks! |
You'd think conda would be able to find conda... |
Hmm, it's a pretty old miniconda image, so I wonder if there are somehow multiple versions of conda conflicting. --- a/r/Dockerfile
+++ b/r/Dockerfile
@@ -1,5 +1,5 @@
#syntax=docker/dockerfile:1.3
-FROM continuumio/miniconda3:4.12.0@sha256:58b1c7df8d69655ffec017ede784a075e3c2e9feff0fc50ef65300fc75aa45ae
+FROM continuumio/miniconda3:24.9.2-0@sha256:39b820af05f0f9bb986ca145a0d077bbd3bd866256277dd869fefb93bd03cd21
ENV NB_USER jovyan I tried changing a handful of things, but in my tinkering this morning I couldn't get Rstudio to launch from Jupyterlab by running |
Thanks. I should've tried to running
Hmm. |
For what it's worth, I followed the steps in https://hub.docker.com/r/continuumio/miniconda3 to pull the latest miniconda3 image and launch jupyter notebook server. In a new notebook, |
Addresses error File "/opt/conda/bin/conda", line 12, in <module> from conda.cli import main ModuleNotFoundError: No module named 'conda'
I landed on a solution: update But on to the next problem: when I launch the RStudio kernel from jlab, I get a 500: Internal Server Error. Sigh. And the Actually, re-reading your message:
I now see that you were already at that stage, where you could launch jlab but not launch Rstudio from jlab. I thought what you meant was that you couldn't launch jlab. I'll keep digging. |
…nd libfmt-dev deb packages
I updated the miniconda image to the version you listed, then explicitly added two library deb packages that were causing more subtle errors (including with nb_conda_kernels, I think): The CI tests are passing now! But Rstudio is still not launching successfully from jupyter lab. Rather than an immediate 500 error, as before, there's a wait of a few seconds, then the 500 error plus "The error was: could not start rstudio in time". I added
This error doesn't prevent jlab from launching and behaving normally (it seems). But I figured it's something I could address. Adding |
If |
I might explore the links off of here: https://discourse.jupyter.org/t/a-template-repository-for-running-latest-rstudio-r-on-mybinder-org-your-jupyterhub/12235 |
…dencies from Dockerfile to conda env file
I've pushed my last commits for the day. I've now eliminated all conda / libmamba errors. The last set of errors involved conflicts between There are no clear errors left in the run-time logs from
BUT, RStudio still doesn't launch 😞. I still get this behavior: there's a wait of a few seconds, then the 500 error plus "The error was: could not start rstudio in time". And the errors emitted when I click on the RStudio launcher in Jupyter Lab:
|
Sigh, the
I left
I saw that earlier, but I didn't look into it. |
Update these core packages to recent versions. First time we update these since 2022.
See #90 (comment)
This update is in support of the OHW-espanol event in a couple of weeks. ref oceanhackweek/Hub-Management#6