Closed pproe closed 1 year ago
Dear @pproe , thank you for raising the issue and using the Studio Lab for your repository!
We confirmed that .gitignore
can not open. We will investigate this problem.
As you said, we can edit .gitignore
by nano. Or else, we can open it by double click if you show the hidden file.
jupyter server --generate-config
home/studio-lab-user/.jupyter/jupyter_server_config.py
.
c.ContentsManager.allow_hidden = True
. We can search c.ContentsManager
by F6 key in nano editor.Reference: Jupyter Lab / Working with Files
Dear @pproe , we have now fixed this issue. Thank you for your contribution!
Describe the bug
Sagemaker Studio Lab can't seem to load my gitignore file. The repository I am working on is https://github.com/pproe/spiral-galaxies. As you can see,
.gitignore
exists in the root directory, but when clickingGit > open .gitignore
via the toolbar, Studio Lab presents the error "File Load Error for .gitignore file or directory '/spiral-galaxies/.gitignore' does not exist".To Reproduce
Steps to reproduce the behavior:
Expected behavior
Studio Lab should open up my .gitignore file.
Screenshots
Desktop:
Additional context
A workaround is simply accessing the .gitignore file via nano or vim in the terminal. However, this is not ideal as it goes against the core premise of Studio Lab being a beginner-friendly entry point for machine learning beginners.
Simplified workaround for others coming across this problem:
Click 'New Launcher' button (big button on top left or press 'Ctrl + Shift + L')
Under 'Other' select the 'Terminal' option.
In your terminal type
nano .gitignore
.Make changes to your gitignore file.
When finished editing, press 'Ctrl + X', then 'Y', then 'Enter'.