Skip to content

Corrupted project (again!) Can't download, can't pull (smudge filter failed) #2661

Closed

Description

@ShacharWeis

I have a repo with LFS and many tracked files. If I browse to the files in the web interface, they look ok. It says "tracked with LFS" and I can see the file.

If try to download, I get the placeholder instead of the file.
If I try to pull, I get "smude filter failed" errors.

I'm totally stuck now. Please help.

Activity

  1. technoweenie commented on Oct 11, 2017

    @technoweenie
    Contributor

    Hi, I just need some details to help you out:

    1. What does git lfs env output? That'll let me know what version of LFS you're using, and some details of your local configuration.
    2. What error messages do you see when trying to pull? Adding GIT_TRACE=1 to the front of the command will add extra debug output too.
  2. ShacharWeis commented on Oct 11, 2017

    @ShacharWeis
    Author

    $ git lfs env
    git-lfs/2.3.2 (GitHub; windows amd64; go 1.8.3; git 81153cc)
    git version 2.14.2.windows.2

    LocalWorkingDir=C:\Dev\MicroColumns
    LocalGitDir=C:\Dev\MicroColumns.git
    LocalGitStorageDir=C:\Dev\MicroColumns.git
    LocalMediaDir=C:\Dev\MicroColumns.git\lfs\objects
    LocalReferenceDir=
    TempDir=C:\Dev\MicroColumns.git\lfs\tmp
    ConcurrentTransfers=3
    TusTransfers=false
    BasicTransfersOnly=false
    SkipDownloadErrors=false
    FetchRecentAlways=false
    FetchRecentRefsDays=7
    FetchRecentCommitsDays=0
    FetchRecentRefsIncludeRemotes=true
    PruneOffsetDays=3
    PruneVerifyRemoteAlways=false
    PruneRemoteName=origin
    LfsStorageDir=C:\Dev\MicroColumns.git\lfs
    AccessDownload=none
    AccessUpload=none
    DownloadTransfers=basic
    UploadTransfers=basic
    GIT_LFS_PATH=C:\Program Files\Git LFS
    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"

  3. ShacharWeis commented on Oct 11, 2017

    @ShacharWeis
    Author

    Error downloading object: Assets/AssetStore/BezierMeshBuilder/Demo/Resources/Textures/GrassHillAlbedo.psd (842d445): Smudge error: Error downloading Assets/AssetStore/BezierMeshBuilder/Demo/Resources/Textures/GrassHillAlbedo.psd (842d445bc4df19c423763a20d4640b08b087fd31380c1811613155c19d6e3c9d): batch request: missing protocol: ""

    Errors logged to C:\Dev\MicroColumns.git\lfs\objects\logs\20171011T141104.6466499.log
    Use git lfs logs last to view the log.
    error: external filter 'git-lfs filter-process' failed
    fatal: Assets/AssetStore/BezierMeshBuilder/Demo/Resources/Textures/GrassHillAlbedo.psd: smudge filter lfs failed

  4. ShacharWeis commented on Oct 11, 2017

    @ShacharWeis
    Author
    $ git lfs logs last
    git-lfs/2.3.2 (GitHub; windows amd64; go 1.8.3; git 81153cc0)
    git version 2.14.2.windows.2
    
    $ git-lfs.exe filter-process
    Error downloading object: Assets/AssetStore/BezierMeshBuilder/Demo/Resources/Textures/GrassHillAlbedo.psd (842d445): Smudge error: Error downloading Assets/AssetStore/BezierMeshBuilder/Demo/Resources/Textures/GrassHillAlbedo.psd (842d445bc4df19c423763a20d4640b08b087fd31380c1811613155c19d6e3c9d): batch request: missing protocol: ""
    
    missing protocol: ""
    batch request
    github.com/git-lfs/git-lfs/errors.newWrappedError
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/errors/types.go:170
    github.com/git-lfs/git-lfs/errors.Wrap
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/errors/errors.go:74
    github.com/git-lfs/git-lfs/tq.(*tqClient).Batch
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/tq/api.go:55
    github.com/git-lfs/git-lfs/tq.Batch
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/tq/api.go:37
    github.com/git-lfs/git-lfs/tq.(*TransferQueue).enqueueAndCollectRetriesFor
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/tq/transfer_queue.go:426
    github.com/git-lfs/git-lfs/tq.(*TransferQueue).collectBatches.func1
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/tq/transfer_queue.go:348
    runtime.goexit
            C:/Go/src/runtime/asm_amd64.s:2197
    Error downloading Assets/AssetStore/BezierMeshBuilder/Demo/Resources/Textures/GrassHillAlbedo.psd (842d445bc4df19c423763a20d4640b08b087fd31380c1811613155c19d6e3c9d)
    github.com/git-lfs/git-lfs/errors.newWrappedError
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/errors/types.go:170
    github.com/git-lfs/git-lfs/errors.Wrapf
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/errors/errors.go:85
    github.com/git-lfs/git-lfs/lfs.downloadFile
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/lfs/pointer_smudge.go:96
    github.com/git-lfs/git-lfs/lfs.PointerSmudge
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/lfs/pointer_smudge.go:61
    github.com/git-lfs/git-lfs/lfs.(*Pointer).Smudge
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/lfs/pointer.go:64
    github.com/git-lfs/git-lfs/commands.smudge
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/commands/command_smudge.go:128
    github.com/git-lfs/git-lfs/commands.filterCommand
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/commands/command_filter_process.go:116
    github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra.(*Command).execute
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra/command.go:477
    github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra.(*Command).Execute
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra/command.go:551
    github.com/git-lfs/git-lfs/commands.Run
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/commands/run.go:68
    main.main
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/git-lfs.go:35
    runtime.main
            C:/Go/src/runtime/proc.go:185
    runtime.goexit
            C:/Go/src/runtime/asm_amd64.s:2197
    Smudge error
    github.com/git-lfs/git-lfs/errors.newWrappedError
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/errors/types.go:170
    github.com/git-lfs/git-lfs/errors.NewSmudgeError
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/errors/types.go:256
    github.com/git-lfs/git-lfs/lfs.PointerSmudge
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/lfs/pointer_smudge.go:70
    github.com/git-lfs/git-lfs/lfs.(*Pointer).Smudge
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/lfs/pointer.go:64
    github.com/git-lfs/git-lfs/commands.smudge
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/commands/command_smudge.go:128
    github.com/git-lfs/git-lfs/commands.filterCommand
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/commands/command_filter_process.go:116
    github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra.(*Command).execute
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra/command.go:477
    github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra.(*Command).Execute
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/vendor/github.com/spf13/cobra/command.go:551
    github.com/git-lfs/git-lfs/commands.Run
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/commands/run.go:68
    main.main
            C:/Users/techn/go/src/github.com/git-lfs/git-lfs/git-lfs.go:35
    runtime.main
            C:/Go/src/runtime/proc.go:185
    runtime.goexit
            C:/Go/src/runtime/asm_amd64.s:2197
    
    
  5. technoweenie commented on Oct 11, 2017

    @technoweenie
    Contributor

    Unfortunately, LFS requires a server to function. I don't see one in your Git configuration. You can either clone from a Git host that supports LFS (GitHub, BitBucket, Gitolite, etc), or you can configure the lfs.url git config value to point at a server.

  6. ShacharWeis commented on Oct 11, 2017

    @ShacharWeis
    Author

    Yeah, seems I was pulling instead of cloning. Thanks!

  7. rarepops commented on Mar 10, 2018

    @rarepops

    I am having this issue as well, really annoying. It's only for FBX files, and I am trying to do a merge from GitHub.

    git-lfs/2.3.4 (GitHub; windows amd64; go 1.8.3; git d2f6752f)
    git version 2.15.1.windows.2
    
    Endpoint (githubitu)=https://github.itu.dk/rapo/Milkyway_Inn.git/info/lfs (auth=basic)
    LocalWorkingDir=G:\Workspace\Unity Projects\Milkyway Inn
    LocalGitDir=G:\Workspace\Unity Projects\Milkyway Inn\.git
    LocalGitStorageDir=G:\Workspace\Unity Projects\Milkyway Inn\.git
    LocalMediaDir=G:\Workspace\Unity Projects\Milkyway Inn\.git\lfs\objects
    LocalReferenceDir=
    TempDir=G:\Workspace\Unity Projects\Milkyway Inn\.git\lfs\tmp
    ConcurrentTransfers=3
    TusTransfers=false
    BasicTransfersOnly=false
    SkipDownloadErrors=false
    FetchRecentAlways=false
    FetchRecentRefsDays=7
    FetchRecentCommitsDays=0
    FetchRecentRefsIncludeRemotes=true
    PruneOffsetDays=3
    PruneVerifyRemoteAlways=false
    PruneRemoteName=origin
    LfsStorageDir=G:\Workspace\Unity Projects\Milkyway Inn\.git\lfs
    AccessDownload=none
    AccessUpload=none
    DownloadTransfers=basic
    UploadTransfers=basic
    GIT_LFS_PATH=C:\Program Files\Git LFS
    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"
    
    
    Error downloading object: Assets/Assets/Models/Placeholder/asteroid.fbx (bc66b52): Smudge error: Error downloading Assets/Assets/Models/Placeholder/asteroid.fbx (bc66b528b1f9107bea3af451e5f498aaa1054de2f4a5e9371236689dc42e8870): batch request: missing protocol: ""
    
    Errors logged to G:\Workspace\Unity Projects\Milkyway Inn\.git\lfs\objects\logs\20180310T160430.7613652.log
    Use `git lfs logs last` to view the log.
    
    
    error: external filter 'git-lfs filter-process' failed
    fatal: Assets/Assets/Models/Placeholder/asteroid.fbx: smudge filter lfs failed
    
  8. ttaylorr commented on Mar 16, 2018

    @ttaylorr
    Contributor

    Hi @Rares95, thanks for dropping a note here. I think that this issue should have been closed since the original issue was resolved. Though this is a similar error, I believe that it is caused by a different issue. Could you please open a new issue and we can discuss there? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions