jgomezdans / two_stream

The 2stream inversion package (TIP) from JRC. Emulated. Regularised. Improved.
2 stars 2 forks source link

Make sure GUI elements work #1

Closed jgomezdans closed 7 years ago

jgomezdans commented 7 years ago

@NPounder

Added a GUI branch, with a simple notebook that ought to work. It relies on the (ipywidgets package)[http://ipywidgets.readthedocs.io/en/latest/user_install.html] being installed for it to work.Please test on CEMS.

jgomezdans commented 7 years ago

@NPounder I updated the main GUI. Can you check whether the latest version of 05-DA_GUI.py passes muster? thanks!

NPounder commented 7 years ago

One apparently fatal error. In the third cell:

Widget Javascript not detected. It may not be installed properly. Did you enable the widgetsnbextension? If not, then run "jupyter nbextension enable --py --sys-prefix widgetsnbextension"

I will try running that command in the conda_env_2.7 environment....

NPounder commented 7 years ago

hmmn. That has not worked. I'll do a bit of googling

NPounder commented 7 years ago

It seems that installing it with conda should have activated it already. I wonder if there is a problem because jupyter is somehow already running and maybe we need to restart something? Any ideas?

jgomezdans commented 7 years ago

I guess that apart from resetting everything, not really. Maybe kill -HUP signal?

NPounder commented 7 years ago

I'm not sure if we'll be able to restart everything nicely if we just kill it. I'll send Matt a quick email but it maybe a bit late. I'll try a restart too

jgomezdans commented 7 years ago

https://groups.google.com/forum/#!topic/jupyter/n-GI5uNuHNU

NPounder commented 7 years ago

Currently can't install anything in the conda_env_3.4 because only John had write permissions and not the python admin group. I'm going to check if this is the correct environment anyway.

sudo only works when ssh-ing in I can only run the environments/ python when going in through the jupyter hub