Skip to content
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

Fork WSL - Git Error An unexpected error occured while performing the git request - empty dialog #1647

Open
efsjouw opened this issue Sep 13, 2022 · 3 comments

Comments

@efsjouw
Copy link

efsjouw commented Sep 13, 2022

Hi I keep getting this error dialog quite a lot of times during the day, I can just close it and then retry and then the operation appear to work again.

I am using the WSL variant from over here.
#701 (comment)

image

Any idea on how I might know what the problem is in the first place?

@dvdmunckhof
Copy link

dvdmunckhof commented Sep 15, 2022

I experienced the same issue. Like you said, several times a day I got exactly the same empty dialog. The only fix I found was to switch back to the regular (non-WSL) version of Fork, combined with WSLGit. I've been using this set-up for weeks without a single error since.

@DanPristupov
Copy link
Contributor

Could you check if there are any details in the log file %localappdata%\fork\logs\fork.log?

@efsjouw
Copy link
Author

efsjouw commented Sep 16, 2022

Ah yes here is the log from today I do see some Git request failed messages in there.

fork.log

Just got a whole bunch of them just now.

?? 2022-09-16 14:54:45.888 Git request failed'for-each-ref --format="%(objectname)	%(refname)	%(HEAD)	%(upstream)	%(*objectname)	%(committerdate:raw)	%(*committerdate:raw)"':

?? 2022-09-16 14:54:45.902 Refresh repository data failed: 
?? 2022-09-16 14:54:45.902 RefreshRepositoryStatus
?? 2022-09-16 14:54:45.902 WindowActivated
?? 2022-09-16 14:54:46.240 Git request failed'ls-files --unmerged -z':

?? 2022-09-16 14:54:46.240 Refreshing repository status failed: 
?? 2022-09-16 14:54:47.666 WindowActivated
?? 2022-09-16 14:54:47.666 Application Window Activated: skip (ErrorWindow)
?? 2022-09-16 14:54:48.513 RefreshRepositoryData
?? 2022-09-16 14:54:48.513 projectname-frontend RefreshRepositoryDataGitCommand All
?? 2022-09-16 14:54:48.513 Saving settings.
?? 2022-09-16 14:54:48.598 Git request failed'--no-optional-locks status --porcelain --untracked-files=no -z':

?? 2022-09-16 14:54:48.847 Git request failed'log HEAD --branches --remotes --tags --max-count=50000 --no-show-signature --date-order --pretty=format:%H%n%P%n%aN~..%aE%n%at%n%s --':

?? 2022-09-16 14:54:48.959 Git request failed'for-each-ref --format="%(objectname)	%(refname)	%(HEAD)	%(upstream)	%(*objectname)	%(committerdate:raw)	%(*committerdate:raw)"':

?? 2022-09-16 14:54:48.959 Refresh repository data failed: 
?? 2022-09-16 14:54:48.966 RefreshRepositoryStatus
?? 2022-09-16 14:54:49.397 Git request failed'ls-files --unmerged -z':

?? 2022-09-16 14:54:49.405 Refreshing repository status failed: 
?? 2022-09-16 14:54:50.182 WindowActivated
?? 2022-09-16 14:54:50.182 Application Window Activated: skip (ErrorWindow)
?? 2022-09-16 14:54:50.992 Saving settings.
?? 2022-09-16 14:54:50.992 RefreshRepositoryData
?? 2022-09-16 14:54:50.997 projectname-backend RefreshRepositoryDataGitCommand All
?? 2022-09-16 14:54:51.450 Git request failed'for-each-ref --format="%(objectname)	%(refname)	%(HEAD)	%(upstream)	%(*objectname)	%(committerdate:raw)	%(*committerdate:raw)"':

?? 2022-09-16 14:54:51.450 Refresh repository data failed: 
?? 2022-09-16 14:54:51.450 RefreshRepositoryStatus
?? 2022-09-16 14:54:51.810 Git request failed'ls-files --unmerged -z':

?? 2022-09-16 14:54:51.810 Refreshing repository status failed: 
?? 2022-09-16 14:54:51.987 WindowActivated
?? 2022-09-16 14:54:51.987 Application Window Activated: skip (ErrorWindow)
?? 2022-09-16 14:54:58.903 WindowActivated
?? 2022-09-16 14:54:58.903 Application Window Activated
?? 2022-09-16 14:54:58.903 RefreshRepositoryData
?? 2022-09-16 14:54:58.903 projectname-backend RefreshRepositoryDataGitCommand All
?? 2022-09-16 14:54:59.156 Git request failed'log HEAD --branches --remotes --tags --max-count=50000 --no-show-signature --date-order --pretty=format:%H%n%P%n%aN~..%aE%n%at%n%s --':

?? 2022-09-16 14:54:59.402 Refresh 'projectname-backend' data. Updated.
?? 2022-09-16 14:54:59.402 RefreshRepositoryStatus
?? 2022-09-16 14:54:59.817 Refresh 'projectname-backend' status. Updated 0 files
?? 2022-09-16 14:54:59.817 RefreshAheadBehindInfo
?? 2022-09-16 14:55:00.604 WindowActivated
?? 2022-09-16 14:55:00.604 Application Window Activated
?? 2022-09-16 14:55:00.604 RefreshRepositoryData
?? 2022-09-16 14:55:00.604 projectname-backend RefreshRepositoryDataGitCommand DefaultRefresh
?? 2022-09-16 14:55:00.916 Detected remotes change
?? 2022-09-16 14:55:00.916 Refresh 'projectname-backend' data. Updated.
?? 2022-09-16 14:55:00.916 RefreshRepositoryStatus
?? 2022-09-16 14:55:01.240 Refresh 'projectname-backend' status. Updated 0 files
?? 2022-09-16 14:55:01.240 RefreshAheadBehindInfo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants