Skip to content
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

Creating geopython-workshop-jupyter ... error #71

Open
NicolasDumoulin opened this issue Dec 2, 2021 · 2 comments
Open

Creating geopython-workshop-jupyter ... error #71

NicolasDumoulin opened this issue Dec 2, 2021 · 2 comments
Labels
documentation Documentation enhancement New feature or request

Comments

@NicolasDumoulin
Copy link

Hi,
I'm trying your project, and I encountering an error as following your instructions on Readme.

git clone https://github.com/geopython/geopython-workshop.git
cd geopython-workshop.git/workshop/jupyter
./build.sh

OK, except that the directory is not geopython-workshop.git but geopython-workshop, so the correct command is cd geopython-workshop/workshop/jupyter. You may consider adding && \ at the end of your command lines.

But the problem occurs when I try starting the containers:

cd workshop
# start workshop
./geopython-workshop-ctl.sh start

It ends with:

Status: Downloaded newer image for geopython/pycsw:latest
Creating geopython-workshop-pycsw ... 
Creating geopython-workshop-pygeoapi ... 
Creating geopython-workshop-jupyter ... 
Creating geopython-workshop-jupyter
Creating geopython-workshop-pycsw
Creating geopython-workshop-jupyter ... error

ERROR: for geopython-workshop-jupyter  Cannot start service jupyter: driver failed programming external connectivity on endpoint geopython-workshop-jupyter (e6caa476b3b025268b1b7b3390c0c99f8Creating geopython-workshop-pycsw ... done

ERROR: for jupyter  Cannot start service jupyter: driver failed programming external connectivity on endpoint geopython-workshop-jupyter (e6caa476b3b025268b1b7b3390c0c99f8d88ba5c0600107eae325dbcd5032d67): Error starting userland proxy: listen tcp4 0.0.0.0:8888: bind: address already in use
ERROR: Encountered errors while bringing up the project.

System : Ubuntu 18.04.6 LTS
Docker : 20.10.2, build 20.10.2-0ubuntu1~18.04.2

@justb4
Copy link
Member

justb4 commented Jun 4, 2023

The build.sh step is not required. The workshop Docker image should be downloaded from DockerHub on the first ./geopython-workshop-ctl.sh start. The Git repo is just for the Notebook and Data content which is mounted into the Docker Containter running the Jupyter NB.

Also in the current version pycsw and pygeoapi are not used anymore, but optional.

But I see the git/README.md and same on DOckerHUb, is confusing, suggesting the build.sh. step. Should be altered.

See https://geopython.github.io/geopython-workshop/#installation for what we present to the participants.

@justb4 justb4 added enhancement New feature or request documentation Documentation labels Jun 4, 2023
@justb4 justb4 added this to the FOSS4G 2023 milestone Jun 4, 2023
@justb4
Copy link
Member

justb4 commented Jun 5, 2023

I adapted the README (GitHub and DockerHub). Maybe you can try?

@tomkralidis tomkralidis removed this from the FOSS4G 2023 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants