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

The jupyter kernel opens an empty folder #17

Open
hilenamin opened this issue Nov 1, 2018 · 1 comment
Open

The jupyter kernel opens an empty folder #17

hilenamin opened this issue Nov 1, 2018 · 1 comment

Comments

@hilenamin
Copy link

After creating the image on my PC and running

docker-compose -f opencog-jupyter.yml run --service-ports notes

and after creating jupyter kernel login, we just get empty notebook with no folders or anything else.

[I 06:32:01.246 NotebookApp] Writing notebook server cookie secret to /home/opencog/.local/share/jupyter/runtime/notebook_cookie_secret
[I 06:32:01.483 NotebookApp] Serving notebooks from local directory: /opencog/notebooks
[I 06:32:01.483 NotebookApp] The Jupyter Notebook is running at:
[I 06:32:01.483 NotebookApp] http://(3f1a8cc63365 or 127.0.0.1):8888/?token=f03cea91454c95b94fc731fcf0e087a0c44ba03788fc78e3
[I 06:32:01.483 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 06:32:01.484 NotebookApp] No web browser found: could not locate runnable browser.
[C 06:32:01.484 NotebookApp] 
    
    Copy/paste this URL into your browser when you connect for the first time,
    to login with a token:
        http://(3f1a8cc63365 or 127.0.0.1):8888/?token=f03cea91454c95b94fc731fcf0e087a0c44ba03788fc78e3
[I 06:32:58.580 NotebookApp] Malformed HTTP message from 172.18.0.1: Malformed HTTP headers: ''
[I 06:33:17.431 NotebookApp] 302 GET / (172.18.0.1) 1.18ms
[I 06:33:17.435 NotebookApp] 302 GET /tree? (172.18.0.1) 1.41ms
[I 06:33:36.887 NotebookApp] 302 POST /login?next=%2Ftree%3F (172.18.0.1) 1.85ms
^C[I 06:33:47.349 NotebookApp] interrupted

I have setted up the variables

HilenMacProSNET:opencog hiami$ echo $OPENCOG_NOTEBOOKS 
/Users/hiami/opencog-notebooks
@andre-senna
Copy link

@hilenamin replacing the environment variable by a hardcoded path here:

https://github.com/opencog/docker/blob/master/opencog/opencog-jupyter.yml#L17

fixed this problem for me.

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

2 participants