Can't commit via Jupyter Lab

Hello,

I can’t commit any my notebooks via Jupyter Lab, while it’s alright when I use Jupyter Notebooks.

Please see the error log below:


---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-4-6022ca56a335> in <module>
----> 1 jovian.commit(project='100-numpy-exercises')

f:\anaconda3\lib\site-packages\jovian\utils\commit.py in commit(message, files, outputs, environment, privacy, filename, project, new_project, git_commit, git_message, **kwargs)
    171 
    172     # Extract notebook/script filename
--> 173     filename = _parse_filename(filename)
    174     if filename is None or not os.path.exists(filename):
    175         log(FILENAME_MSG, error=True)

f:\anaconda3\lib\site-packages\jovian\utils\commit.py in _parse_filename(filename)
    260 
    261     # Ensure that the file exists
--> 262     if not os.path.exists(filename):
    263         filename = None
    264         set_notebook_name()

f:\anaconda3\lib\genericpath.py in exists(path)
     17     """Test whether a path exists.  Returns False for broken symbolic links"""
     18     try:
---> 19         os.stat(path)
     20     except (OSError, ValueError):
     21         return False

TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

If it’s relevant, same thing happens both on Windows and Ubuntu.

BUMP.

Character limit.

Hey @extibo, welcome to the community,
I think we currently don’t have support with Jupyter labs, while new features are constantly added to the platform you can continue with Jupyter notebook(binder) or Colab.

Thank you.

I’ll keep on using Lab, but when i need to commit, I’ll just switch to Notebook.

1 Like