ipynbname icon indicating copy to clipboard operation
ipynbname copied to clipboard

Can't identify the notebook name in jupyterlab version 3.0.11

Open starlinq opened this issue 4 years ago • 0 comments

@flying-sheep For my test I used a code which was reported to work with jupyterlab 3 at https://github.com/msm1089/ipynbname/blob/master/ipynbname/init.py

it gives me:

FileNotFoundError                         Traceback (most recent call last)
<ipython-input-121-974b4c7df1c2> in <module>
     49 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     50 
---> 51 print("current notebook name:", ipynbname.name())
     52 
     

in name()
     80     if path:
     81         return path.stem
---> 82     raise FileNotFoundError(FILE_ERROR.format('name'))
     83 
     84 

FileNotFoundError: Can't identify the notebook name.

starlinq avatar Mar 11 '22 02:03 starlinq