ee-atmcorr-timeseries icon indicating copy to clipboard operation
ee-atmcorr-timeseries copied to clipboard

No web browser found

Open mmann1123 opened this issue 6 years ago • 4 comments

Sorry to bother you with this, but new to docker. I already downloaded and was able to install and run the docker file. I found that jupyter was missing so I pip installed that.

Then when I go to run jupyter-notebook ee-atmcorr-timeseries.ipynb --ip='*' --port=8888 --allow-root it reports "No web browser found: could not locate runnable browser."

it then prompts me to "Copy/paste this URL into your browser when you connect for the first time, to login with a token:"

but when I do my browser reports that "We can’t connect to the server at 48a01722549a."

Just wondering what I am missing? Is there a way to install a web browser into the docker container and use that? or something else? (again very new to this so please bear with me).

mmann1123 avatar Jul 03 '18 16:07 mmann1123

Apologies for the delay and the missing jupyter module! Thanks for reporting!!

I haven't figured out how to ship a container with a working browser, copy/paste approach seems to be the way people normally do it.

The fact it couldn't connect to the server is not expected. I will try to get round to fixing that. Maybe updating the container will work..

samsammurphy avatar Jul 09 '18 15:07 samsammurphy

Ok let me know when I should try again. Thanks.

On Mon, Jul 9, 2018 at 11:49 AM Sam Murphy [email protected] wrote:

Apologies for the delay and the missing jupyter module! Thanks for reporting!!

I haven't figured out how to ship a container with a working browser, copy/paste approach seems to be the way people normally do it.

The fact it couldn't connect to the server is not expected. I will try to get round to fixing that. Maybe updating the container will work..

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/samsammurphy/ee-atmcorr-timeseries/issues/4#issuecomment-403526306, or mute the thread https://github.com/notifications/unsubscribe-auth/AE8fVNE8qYxMxMVJRnvXZcohhe4lKw_3ks5uE3t2gaJpZM4VBQNS .

mmann1123 avatar Jul 19 '18 12:07 mmann1123

Finally had a bit of time to inspect. It looks like jupyter has changed its output message when run inside a docker container. It can prints a URL that needs updating. e.g. something like this..

http://(088a4610794f or 127.0.0.1):8888/?token=ca6dda566475685d58572066834f51bbdfa093c2bf1a2427

This is an invalid URL. The parenthese and its contents need to be replaced with localhost to look like this..

http://localhost:8888/?token=...

I have updated the instructions in the README to reflect this new behaviour from jupyter

Thank you for reporting!!

& please let me know how it goes!

samsammurphy avatar Jul 23 '18 09:07 samsammurphy

p.s. I am not sure why the jupyter module appeared to be missing.. it seems to be in the dockerfile and I was able to run it when testing.

samsammurphy avatar Jul 23 '18 09:07 samsammurphy