Giter VIP home page Giter VIP logo

Comments (9)

mastercoms avatar mastercoms commented on May 26, 2024

Ok, thank you, I will look into it!

from uegitplugin.

mastercoms avatar mastercoms commented on May 26, 2024

Pushed new Git LFS binaries (latest 3.3.0 release): https://github.com/ProjectBorealis/UEGitPlugin/tree/dev

Let me know if this resolves the issue.

from uegitplugin.

omigamedev avatar omigamedev commented on May 26, 2024

@mastercoms how can I access the dev branch? I'm still currently having this issue in the release branch

from uegitplugin.

mastercoms avatar mastercoms commented on May 26, 2024

Dev branch was merged into release

from uegitplugin.

mastercoms avatar mastercoms commented on May 26, 2024

Could you run it with GIT_TRACE=1 in your environment? And share git lfs env

from uegitplugin.

omigamedev avatar omigamedev commented on May 26, 2024

This is the output from the embedded git-lfs.exe

D:\CATS>Plugins\UEGitPlugin\git-lfs.exe env
10:09:00.406352 trace git-lfs: exec: git 'version'
git-lfs/3.3.0 (GitHub; windows amd64; go 1.19.4; git 35ec69f0)
git version 2.34.1.windows.1

10:09:00.617973 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
10:09:00.662588 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' '--git-dir' '--show-toplevel'
10:09:00.727699 trace git-lfs: exec: git 'config' '--includes' '-l'
10:09:00.771733 trace git-lfs: exec: git 'rev-parse' '--is-bare-repository'
10:09:00.814171 trace git-lfs: exec: git 'config' '--includes' '-l' '--blob' ':.lfsconfig'
10:09:00.858963 trace git-lfs: exec: git 'config' '--includes' '-l' '--blob' 'HEAD:.lfsconfig'
Endpoint=https://github.com/asd/CATS.git/info/lfs (auth=none)
  [email protected]:asd/CATS.git
LocalWorkingDir=D:\CATS
LocalGitDir=D:\CATS\.git
LocalGitStorageDir=D:\CATS\.git
LocalMediaDir=D:\CATS\.git\lfs\objects
LocalReferenceDirs=
TempDir=D:\CATS\.git\lfs\tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=D:\CATS\.git\lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file,ssh
UploadTransfers=basic,lfs-standalone-file,ssh
GIT_TRACE=1
git config filter.lfs.process = "git-lfs filter-process"
git config filter.lfs.smudge = "git-lfs smudge -- %f"
git config filter.lfs.clean = "git-lfs clean -- %f"
10:09:00.909498 trace git-lfs: filepathfilter: creating pattern ".git" of type gitignore
10:09:00.910032 trace git-lfs: filepathfilter: creating pattern "**/.git" of type gitignore
10:09:00.910563 trace git-lfs: filepathfilter: accepting "tmp"

And this is the output of the git lfs command that comes with Git for Windows

D:\CATS>git lfs env
10:11:01.619766 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
10:11:01.621936 git.c:743               trace: exec: git-lfs env
10:11:01.621936 run-command.c:668       trace: run_command: git-lfs env
10:11:01.636743 trace git-lfs: exec: git 'version'
git-lfs/3.0.2 (GitHub; windows amd64; go 1.17.2)
git version 2.34.1.windows.1

10:11:01.716098 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
10:11:01.739091 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' '--git-dir' '--show-toplevel'
10:11:01.762481 trace git-lfs: exec: uname
10:11:01.797464 trace git-lfs: exec: cygpath '-w' '.git'
10:11:01.826063 trace git-lfs: exec: cygpath '-w' 'D:/CATS'
10:11:01.854880 trace git-lfs: exec: git 'config' '--includes' '-l'
10:11:01.876706 trace git-lfs: exec: git 'rev-parse' '--is-bare-repository'
10:11:01.897773 trace git-lfs: exec: git 'config' '--includes' '-l' '--blob' ':.lfsconfig'
10:11:01.918544 trace git-lfs: exec: git 'config' '--includes' '-l' '--blob' 'HEAD:.lfsconfig'
10:11:01.943350 trace git-lfs: exec: cygpath '-w' ''
10:11:01.972273 trace git-lfs: Error reading askpass helper "": failed to translate path from cygwin to windows: cygpath: can't convert empty path

10:11:01.973835 trace git-lfs: exec: cygpath '-w' ''
10:11:02.001373 trace git-lfs: Error reading askpass helper "": failed to translate path from cygwin to windows: cygpath: can't convert empty path

Endpoint=https://github.com/asd/CATS.git/info/lfs (auth=none)
  [email protected]:asd/CATS.git
10:11:02.005634 trace git-lfs: exec: cygpath '-w' ''
10:11:02.038994 trace git-lfs: Error reading askpass helper "": failed to translate path from cygwin to windows: cygpath: can't convert empty path

10:11:02.040600 trace git-lfs: exec: cygpath '-w' ''
10:11:02.070974 trace git-lfs: Error reading askpass helper "": failed to translate path from cygwin to windows: cygpath: can't convert empty path

LocalWorkingDir=D:\CATS
LocalGitDir=D:\CATS\.git
LocalGitStorageDir=D:\CATS\.git
LocalMediaDir=D:\CATS\.git\lfs\objects
LocalReferenceDirs=
TempDir=D:\CATS\.git\lfs\tmp
ConcurrentTransfers=8
TusTransfers=false
BasicTransfersOnly=false
SkipDownloadErrors=false
FetchRecentAlways=false
FetchRecentRefsDays=7
FetchRecentCommitsDays=0
FetchRecentRefsIncludeRemotes=true
PruneOffsetDays=3
PruneVerifyRemoteAlways=false
PruneRemoteName=origin
LfsStorageDir=D:\CATS\.git\lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file,ssh
UploadTransfers=basic,lfs-standalone-file,ssh
GIT_EXEC_PATH=C:/Program Files/Git/mingw64/libexec/git-core
GIT_TRACE=1
git config filter.lfs.process = "git-lfs filter-process"
git config filter.lfs.smudge = "git-lfs smudge -- %f"
git config filter.lfs.clean = "git-lfs clean -- %f"
10:11:02.091556 trace git-lfs: filepathfilter: creating pattern ".git" of type gitignore
10:11:02.093175 trace git-lfs: filepathfilter: creating pattern "**/.git" of type gitignore
10:11:02.102157 trace git-lfs: filepathfilter: accepting "tmp"

This is also where the embedded git-lfs.exe hangs

D:\CATS>Plugins\UEGitPlugin\git-lfs.exe locks
10:16:41.926456 trace git-lfs: exec: git 'version'
10:16:42.032236 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
10:16:42.075927 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' '--git-dir' '--show-toplevel'
10:16:42.138619 trace git-lfs: exec: git 'config' '--includes' '-l'
10:16:42.181183 trace git-lfs: exec: git 'rev-parse' '--is-bare-repository'
10:16:42.223125 trace git-lfs: exec: git 'config' '--includes' '-l' '--blob' ':.lfsconfig'
10:16:42.265803 trace git-lfs: exec: git 'config' '--includes' '-l' '--blob' 'HEAD:.lfsconfig'
10:16:42.307791 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' '--show-toplevel'
10:16:42.368947 trace git-lfs: attempting pure SSH protocol connection
10:16:42.369489 trace git-lfs: run_command: ssh -oControlMaster=auto -oControlPath=C:\Users\ADMINI~1\AppData\Local\Temp\2\sock-3349456356\sock-%C [email protected] git-lfs-transfer asd/CATS.git download
10:16:42.373739 trace git-lfs: exec: ssh '-oControlMaster=auto' '-oControlPath=C:\Users\ADMINI~1\AppData\Local\Temp\2\sock-3349456356\sock-%C' '[email protected]' 'git-lfs-transfer asd/CATS.git download'
10:16:42.401575 trace git-lfs: pure SSH protocol connection failed: Unable to negotiate version with remote side (unable to read capabilities): EOF
10:16:42.401672 trace git-lfs: run_command: ssh [email protected] git-lfs-authenticate asd/CATS.git download
10:16:42.406944 trace git-lfs: exec: ssh '[email protected]' 'git-lfs-authenticate asd/CATS.git download'

from uegitplugin.

mastercoms avatar mastercoms commented on May 26, 2024

Could you use HTTPS authentication with Git Credential Manager or an account token instead? LFS support for SSH is very early and slow anyway. git remote set-url origin https://github.com/user/repo.git I would recommend regardless of this issue being solved.

But for additional debugging, could you also show what happens with the Git for Windows LFS locks cmd?

from uegitplugin.

omigamedev avatar omigamedev commented on May 26, 2024

I'll try with HTTPS, but ssh works fine on my Win10 machine with the same repo, had no problems with the plugin there.
Meanwhile here's the Git for Windows LFS output:

D:\CATS>git lfs locks
10:16:59.525436 exec-cmd.c:237          trace: resolved executable dir: C:/Program Files/Git/mingw64/bin
10:16:59.527604 git.c:743               trace: exec: git-lfs locks
10:16:59.527604 run-command.c:668       trace: run_command: git-lfs locks
10:16:59.543674 trace git-lfs: exec: git 'version'
10:16:59.626849 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' 'HEAD' '--symbolic-full-name' 'HEAD'
10:16:59.649150 trace git-lfs: exec: git '-c' 'filter.lfs.smudge=' '-c' 'filter.lfs.clean=' '-c' 'filter.lfs.process=' '-c' 'filter.lfs.required=false' 'rev-parse' '--git-dir' '--show-toplevel'
10:16:59.672660 trace git-lfs: exec: uname
10:16:59.709615 trace git-lfs: exec: cygpath '-w' '.git'
10:16:59.738694 trace git-lfs: exec: cygpath '-w' 'D:/CATS'
10:16:59.766815 trace git-lfs: exec: git 'config' '--includes' '-l'
10:16:59.789760 trace git-lfs: exec: git 'rev-parse' '--is-bare-repository'
10:16:59.810477 trace git-lfs: exec: git 'config' '--includes' '-l' '--blob' ':.lfsconfig'
10:16:59.831711 trace git-lfs: exec: git 'config' '--includes' '-l' '--blob' 'HEAD:.lfsconfig'
10:16:59.855579 trace git-lfs: exec: cygpath '-w' ''
10:16:59.884923 trace git-lfs: Error reading askpass helper "": failed to translate path from cygwin to windows: cygpath: can't convert empty path

10:16:59.887057 trace git-lfs: exec: cygpath '-w' ''
10:16:59.915258 trace git-lfs: Error reading askpass helper "": failed to translate path from cygwin to windows: cygpath: can't convert empty path

10:16:59.915797 trace git-lfs: attempting pure SSH protocol connection
10:16:59.916341 trace git-lfs: run_command: ssh -- [email protected] git-lfs-transfer asd/CATS.git download
10:16:59.917958 trace git-lfs: exec: ssh '--' '[email protected]' 'git-lfs-transfer asd/CATS.git download'
10:17:00.780498 trace git-lfs: pure SSH protocol connection failed: Unable to negotiate version with remote side (unable to read capabilities): EOF
10:17:00.782048 trace git-lfs: run_command: ssh -- [email protected] git-lfs-authenticate asd/CATS.git download
10:17:00.784207 trace git-lfs: exec: ssh '--' '[email protected]' 'git-lfs-authenticate asd/CATS.git download'
10:17:01.827763 trace git-lfs: exec: cygpath '-w' 'C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt'
10:17:01.865159 trace git-lfs: HTTP: GET https://lfs.github.com/asd/CATS/locks
10:17:02.085589 trace git-lfs: HTTP: 200
10:17:02.085589 trace git-lfs: HTTP: {"locks":[{"id":"2443402","path":"Content/CATS/Maps/EmptyMap.umap","owner":{"name":"omigamedev"},"locked_at":"2023-02-01T15:10:26Z"}],"next_cursor":""}

Content/CATS/Maps/EmptyMap.umap  omigamedev      ID:2443402
10:17:02.088229 trace git-lfs: filepathfilter: creating pattern ".git" of type gitignore
10:17:02.088758 trace git-lfs: filepathfilter: creating pattern "**/.git" of type gitignore
10:17:02.089814 trace git-lfs: filepathfilter: accepting "tmp"

from uegitplugin.

mastercoms avatar mastercoms commented on May 26, 2024

Note that you can now define GIT_USE_CUSTOM_LFS to 0 temporarily to work around this issue.

from uegitplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.