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

Checkout not working #109

Open
MatzeOGH opened this issue Aug 4, 2019 · 8 comments
Open

Checkout not working #109

MatzeOGH opened this issue Aug 4, 2019 · 8 comments
Assignees
Labels

Comments

@MatzeOGH
Copy link

MatzeOGH commented Aug 4, 2019

Unreal Engine 2.22
Git Azure Dev Ops with LFS

Failes to check out files every time. Successfully locks files but cannot check in from within the engine.

@SRombauts SRombauts self-assigned this Oct 30, 2019
@SRombauts SRombauts added the bug label Oct 30, 2019
@SRombauts
Copy link
Owner

Sorry for the very long delay: have you finally succeed?
Or do you have logs so I can have a look?

@MatzeOGH
Copy link
Author

NP

No I gave up and removed the plugin from the project.
git LFS locked all assets in the project but the checkout failed every time.
Leaving assets locked and not editable .

@ArosPrince
Copy link

We had the very same issue and it seems to go away, if you set the LFS lock name to exactly the same string as your git user name.

To elaborate a bit on the subject... When you select the Connect to source control option from the toolbar and select the Git LFS 2 plugin, you should enable the checkbox labeled "Uses Git LFS2 file Locking workflow". But the user name you fill in there has to be exactly the same as the one displayed two lines above. If it's different, it will still connect and let you lock but it behaves exactly the way you described.

It seems to me, that it is then not able to match the user who has the lock with you and does not recognize that the person holding the lock is in fact you...

That said, I do not understand why you're supposed to fill that name anyway, since there already is the git User Name correctly detected just two lines above...

@MatzeOGH
Copy link
Author

That is great news. I really have to try this at some point.
Thanks for providing a possible solution

@RumbleballTheReal
Copy link

Same problem. Changing the user name in the source control configuration window to exactly the name that is displayed by "git lfs locks", as @ArosPrince described worked for me.

The output log of unreal does not display anything usefull. Using GithubDesktop app for a repository in GitLab.

@ArosPrince
Copy link

@RumbleballTheReal A colleague of mine was going through the sources to figure the root cause and if I remember correctly he had some explanation for this. I'll ask him to elaborate.

@petrca
Copy link

petrca commented Jan 15, 2021

@ArosPrince We run into similar problem. The explanation is quite simple. We are using GitLab for repo hosting. The usernames returned by git lfs command are not git user names however in our case there were "GitLab full names" from the GitLab profile page. So, in the source control dialog you have to fill in this "full name" instead of your git username which you set in the git config file.

@PhilBax
Copy link

PhilBax commented Apr 7, 2021

Thanks to the comments, I determined that I had to set my name to "Phillip Baxter ()" to get checkout to work correctly!

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

No branches or pull requests

6 participants