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

Compatibility with JupyterHub #688

Closed
BoPeng opened this issue Jun 28, 2017 · 2 comments
Closed

Compatibility with JupyterHub #688

BoPeng opened this issue Jun 28, 2017 · 2 comments

Comments

@BoPeng
Copy link
Contributor

BoPeng commented Jun 28, 2017

The multi-kernel nature of SoS makes installing sos and all the kernels a daunting job for the inexperienced. It is therefore very useful to have a JupyterHub set up with all the kernels and SoS, so that everyone can log in to the same location and perform analysis.

In theory sos should work with JupyterHub but we should test it.

@vibbits
Copy link

vibbits commented Jun 12, 2018

Hi, after having installed jupyterhub (via pip) on our CentOS server and launching a SoS notebook for the very first time we get an access error denied error:
e.g.
[global]
parameter: cwd = path('/home/albot/kitematic')
[Errno 13] Permission denied: '/tmp/sos_lock_bin'

My colleagues narrowed the issue down to https://github.com/vatlab/sos-notebook/blob/master/src/sos_notebook/workflow_executor.py#L334

After removing the lock manually it works fine.

@BoPeng
Copy link
Contributor Author

BoPeng commented Jun 12, 2018

This is a known issue due to the use of global lock in a multi-user environment (someone else created this lock). All such locks were removed in sos but this one still existed in sos-notebook. This particular lock has been removed (vatlab/sos-notebook@dca2a2b) because we now requires Python 3.6+ for which exist_ok exists for function os.makedirs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant