Jupyter lab v0.28.11 in conda not working.

56 views
Skip to first unread message

aman.i...@gmail.com

unread,
Oct 27, 2017, 2:28:48 AM10/27/17
to Project Jupyter
I installed jupyter lab in latest version of conda using the command
``conda remove conda-forge jupyterlab``
which is what conda/jupyterlab recommends. But, on running jupyterlab
I am getting this error message
``
[E 11:57:52.850 LabApp] JupyterLab assets not detected in "/home/ubermensch/.local/share/jupyter/lab/static"
``

Steven Silvester

unread,
Oct 27, 2017, 10:38:53 PM10/27/17
to Project Jupyter
Hi,

I just double checked that `conda install -c conda-forge jupyterlab` works (on my machine), can you please give the output of the following?

```
which jupyter-lab; jupyter lab --version; jupyter lab paths
```

Regards,

Steve

aman.i...@gmail.com

unread,
Oct 28, 2017, 1:33:59 PM10/28/17
to Project Jupyter
Steven,
This is the output of the command `which jupyter-lab; jupyter lab --version; jupyter lab paths`

```
/home/ubermensch/.local/anaconda3/bin/jupyter-lab
0.28.11
Application directory:   /home/ubermensch/.local/share/jupyter/lab
User Settings directory: /home/ubermensch/.jupyter/lab/user-settings
```

Steven Silvester

unread,
Oct 28, 2017, 10:20:18 PM10/28/17
to Project Jupyter
Thank you, that helped identify the problem. We'll have a fix on Monday but for now you can run as "jupyter lab --core-mode".

Regards,

Steve

aman.i...@gmail.com

unread,
Oct 29, 2017, 1:08:38 AM10/29/17
to Project Jupyter

Works.
Thanks for help.

Steven Silvester

unread,
Oct 31, 2017, 2:02:40 PM10/31/17
to Project Jupyter
We just released v0.28.12, do you mind verifying that it fixes the issue?   `pip install jupyterlab==0.28.12`.


Regards,

Steve

On Friday, October 27, 2017 at 1:28:48 AM UTC-5, aman.i...@gmail.com wrote:

aman.i...@gmail.com

unread,
Oct 31, 2017, 2:22:24 PM10/31/17
to Project Jupyter
Steve

I installed jupyter v0.28.12, the issue is fixed in this version, thanks for the fix.
However, I am now regularly getting a warning message,
I have not faced any problem because of that but thought
that I should report it to you.

```
[W 23:45:16.387 LabApp] Bad message (TypeError('not enough arguments for format string',)): {'name': 'LabApp', 'msg': 'Error stat-ing %s: %s', 'args': (('/home/ubermensch/.gvfs', PermissionError(13, 'Permission denied')),), 'levelname': 'WARNING', 'levelno': 30, 'pathname': '/home/ubermensch/.local/anaconda3/lib/python3.6/site-packages/notebook/services/contents/filemanager.py', 'filename': 'filemanager.py', 'module': 'filemanager', 'exc_info': None, 'exc_text': None, 'stack_info': None, 'lineno': 284, 'funcName': '_dir_model', 'created': 1509473716.3872046, 'msecs': 387.204647064209, 'relativeCreated': 25304.25977706909, 'thread': 140571024385792, 'threadName': 'MainThread', 'processName': 'MainProcess', 'process': 32748}
``` 

Steven Silvester

unread,
Nov 1, 2017, 5:32:48 AM11/1/17
to Project Jupyter
Hi,

It looks like you're launching from your home directory but the `~/.gfvs` folder is not readable.  Here is where the server tries to inspect the file (and the warning you're seeing is a few lines down):

https://github.com/jupyter/notebook/blob/e7f69cc2d76558ea2513e9d610508875d09207be/notebook/services/contents/filemanager.py#L309

Are you able to make that folder readable?  You can verify by launching python from your home directory and running `import os; os.lstat('.gfvs')`.


Regards,

Steve


On Friday, October 27, 2017 at 1:28:48 AM UTC-5, aman.i...@gmail.com wrote:

aman.i...@gmail.com

unread,
Nov 1, 2017, 8:17:49 AM11/1/17
to Project Jupyter
On running `import os; os.lstat('.gfvs')` in home directory, I am getting this error message
```
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-1-0c9d9653b968> in <module>()
----> 1 import os; os.lstat('.gfvs')

FileNotFoundError: [Errno 2] No such file or directory: '.gfvs'
```

But the file is there, but I am not able to access/move/remove/chmod it, even using `sudo`.
On trying to move/remove it from root, it says `Device or resource busy`.
Reply all
Reply to author
Forward
0 new messages