New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDE hangs when opening certain Git-managed projects on Windows #2141
Comments
It looks like this issue can occur if the
I can reproduce this by removing the Hidden attribute on any Git-managed project. I'm guessing this can happen when directories are transferred using mechanisms that don't preserve these Windows-specific filesystem attributes. We should avoid relying on the system hidden attribute and intentionally screen the |
This makes sense, and thank you for looking into the issue. In my case, the project was shared by Microsoft OneDrive, so this would have been the cause of the change in hidden status of the .git folder. |
I can also confim that if I manually set the properties of the .git folder to hidden, the problem goes away. |
A number of users have reported issues with RStudio hanging on open with Windows. The general symptoms are:
@andrie experienced this with one of his projects, and discovered that it seemed to be linked to the usage of Git -- the hang goes away once the
.git
folder is deleted.Opening RStudio with Project Explorer, it seems as though RStudio is stuck in a loop querying the project with
git status
, while the asynchronous package completer tries to run as well. Note that the asynchronous package completer never finishes running, butgit
instances keep getting repeatedly launched.The error logs have this:
Attempting to manually execute
git status
does succeed when launched from the command line, so it's not immediately obvious what the issue might be (unless it's the collision between these child processes that is somehow the culprit).The text was updated successfully, but these errors were encountered: