SRombauts / UEGitPlugin

Unreal Engine 5 Git LFS 2 Source Control Plugin (beta)
http://srombauts.github.io/UEGitPlugin
MIT License
808 stars 165 forks source link

Cannot activate Git LFS 2 file locking workflow #68

Open yutamago opened 6 years ago

yutamago commented 6 years ago

grafik

The checkbox is disabled and cannot be checked.

Git version: 2.16.1.windows.2 Git LFS version: 2.3.4 Unreal version: 4.18.3

SRombauts commented 6 years ago

Hi, I've just checked with the exact same versions (I updated git for windows for the test) and it's working as intended on my side.

Can you check the Log files, or post them here please ?

yutamago commented 6 years ago

One of my team members tried the same with the same result. Today I can't check the checkbox above either. (Add a .gitattribute file to enable Git LFS)

[2018.03.03-12.19.48:487][  3]LogSourceControl: Using 'git'
[2018.03.03-12.19.48:487][  3]LogSourceControl: RunCommand: 'git version'
[2018.03.03-12.19.48:551][  3]LogSourceControl: RunCommand(version):
git version 2.16.1.windows.2

[2018.03.03-12.19.48:551][  3]LogSourceControl: Git version 2.16.1(2)
[2018.03.03-12.19.48:551][  3]LogSourceControl: RunCommand: 'git cat-file -h'
[2018.03.03-12.19.48:624][  3]LogSourceControl: RunCommand(cat-file -h):
usage: git cat-file (-t [--allow-unknown-type] | -s [--allow-unknown-type] | -e | -p | <type> | --textconv | --filters) [--path=<path>] <object>
   or: git cat-file (--batch | --batch-check) [--follow-symlinks] [--textconv | --filters]

<type> can be one of: blob, tree, commit, tag
    -t                    show object type
    -s                    show object size
    -e                    exit with zero when there's no error
    -p                    pretty-print object's content
    --textconv            for blob objects, run textconv on object's content
    --filters             for blob objects, run filters on object's content
    --path <blob>         use a specific path for --textconv/--filters
    --allow-unknown-type  allow -s and -t to work with broken/corrupt objects
    --buffer              buffer --batch output
    --batch[=<format>]    show info and content of objects fed from the standard input
    --batch-check[=<format>]
                          show info about objects fed from the standard input
    --follow-symlinks     follow in-tree symlinks (used with --batch or --batch-check)
    --batch-all-objects   show all objects with --batch or --batch-check

[2018.03.03-12.19.48:624][  3]LogSourceControl: Warning: RunCommand(cat-file -h) ReturnCode=129:

[2018.03.03-12.19.48:624][  3]LogSourceControl: RunCommand: 'git lfs version'
[2018.03.03-12.19.48:688][  3]LogSourceControl: RunCommand(lfs version):

[2018.03.03-12.19.48:689][  3]LogSourceControl: Warning: RunCommand(lfs version) ReturnCode=128:
error: cannot spawn git-lfs: Invalid argument

Looks like it has problems finding LFS, but it's definitely installed. I can use it from the command line without problems.

SRombauts commented 6 years ago

How did you install git and lfs? I am using the Git for Windows 64 bits installer, with LFS, and adding Git and all command lines to the path (which is not the recommended install, I should try to reset all to default settings)

Also, I am away from any computer for the weekend...

dskvr commented 3 years ago

On Mac, I found that despite git-lfs being distributed with recent versions of git, the plugin did not recognize the Git LFS until I ran brew install git-lfs.

davixe commented 2 years ago

Hi!

I have a similar issue. Cannot enable Git LFS 2 file locking workflow. I'm also on a Mac.

The logs only show me this:

LogSourceControl: Git plugin '3.03' LogSourceControl: Using '/usr/bin/git'

And when I try to edit, save, and checkout a file, log is full of errors like this:

LogSourceControl: Error: Failed to update repo on initialization. SourceControl: Error: git-lfs filter-process: git-lfs: command not found SourceControl: Error: fatal: the remote end hung up unexpectedly LogSourceControl: Error: Command 'UpdateStatus' Failed!

any ideas?

Thanks!

OttherCreek commented 2 years ago

Is there already any solution for this issue?? I have the same problem as @yutamago and I can't activate this checkbox.