Jlab freezes if incorrect clone url or credentials or already cloned repo url is given
See original GitHub issueDescription
When the user tries to clone a repo that already exists in the base path, the window freezes and no error or status are shown. Same behaviour is seen if the clone url is incorrect, or the credentials entered by the user is incorrect.
Reproduce
- Open the jupyter lab with the extension enabled.
- Clone a repo in to the home folder
- (a)After the clone is finished, try to clone the same repo again (b) In the terminal prompt for entering clone url, enter a invalid one © After entering the correct clone url, in the credential form, enter incorrect username or password
- Window freezes with no error in browser console or logs
Expected behavior
Either a dialog box appears saying that the repo already exists or some status that indicates that the operation has failed. Input Validation on the entered values
Context
- Python package version: 3.5
- Extension version: v0.10.0
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
'Clone URL is incorrect' when importing from GitHub to ...
Got the very same problem when trying to make a fresh new import of a private GitHub repo managed by an Organization to...
Read more >Solved: Sourcetree Crashes when Cloning a Repository
Solved: I have been using Sourcetree with two Gitlab repositories for several months without any issues. Recently, I wanted to add a third...
Read more >Not able to import repository from one Azure DevOps GIT repo ...
Import request cannot be processed due to one of the following reasons: Clone URL is incorrect. Clone URL requires authorization. Clone URL and...
Read more >Git Large File Storage (LFS) - GitLab Docs
If you already cloned the repository and you want to get the latest LFS object that are on the remote repository, such as...
Read more >Fix Git's 'fatal: repository not found' error quickly
If the repository was deleted or renamed, you'll obviously hit a Git repository not found error when you attempt to clone or fetch...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have a fix for this issue along with the fix for the concern raised in https://github.com/jupyterlab/jupyterlab-git/issues/534 regarding the confusing warning message.
I would like to contribute it to the repository. Is there any T&C formalities to contribute to the repo ?
Fixed by #556