lfs issue "relation does not exist"
cc @marin @jacobvosmaer @ayufan
On clone from a repo that uses lfs:
Δ temp git clone git@gitlab.com:gitlab-org/University.git
Cloning into 'University'...
remote: Counting objects: 25, done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 25 (delta 3), reused 0 (delta 0)
Receiving objects: 100% (25/25), done.
Resolving deltas: 100% (3/3), done.
Checking connectivity... done.
Downloading classes/images/emoji.png (37.58 KB)
Username for 'https://gitlab.com': job@gitlab.com
Password for 'https://job@gitlab.com@gitlab.com':
Error accessing media: classes/images/emoji.png (e7b60a483d88917ebc5974ddd46686d4fc0ab1a6bf70ad6a9d6fae05d8b237fa)
Errors logged to .git/lfs/objects/logs/20151119T163613.556855272.log
Use `git lfs logs last` to view the log.
error: external filter git-lfs smudge %f failed 2
error: external filter git-lfs smudge %f failed
fatal: classes/images/emoji.png: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry the checkout with 'git checkout -f HEAD'
git lfs log last
:
git-lfs/1.0.2 (GitHub; darwin amd64; go 1.5.1; git 0566698)
git version 2.5.0
$ git-lfs smudge classes/images/emoji.png
Error accessing media: classes/images/emoji.png (e7b60a483d88917ebc5974ddd46686d4fc0ab1a6bf70ad6a9d6fae05d8b237fa)
relation does not exist
goroutine 1 [running]:
github.com/github/git-lfs/lfs.Stack(0x0, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/lfs/errors.go:557 +0x80
github.com/github/git-lfs/commands.logPanicToWriter(0xca41c0, 0xc820100080, 0xcb2dd0, 0xc8200737b0)
/Users/rick/go/src/github.com/github/git-lfs/commands/commands.go:184 +0xf7f
github.com/github/git-lfs/commands.logPanic(0xcb2dd0, 0xc8200737b0, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/commands/commands.go:148 +0x421
github.com/github/git-lfs/commands.handlePanic(0xcb2dd0, 0xc8200737b0, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/commands/commands.go:123 +0x4e
github.com/github/git-lfs/commands.LoggedError(0xcb2dd0, 0xc8200737b0, 0x4e3700, 0x1e, 0xc82011dc98, 0x2, 0x2)
/Users/rick/go/src/github.com/github/git-lfs/commands/commands.go:73 +0x82
github.com/github/git-lfs/commands.smudgeCommand(0x6baf40, 0xc820073830, 0x1, 0x1)
/Users/rick/go/src/github.com/github/git-lfs/commands/command_smudge.go:80 +0xd89
github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).execute(0x6baf40, 0xc820073780, 0x1, 0x1, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:477 +0x403
github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra.(*Command).Execute(0x6bbc40, 0x0, 0x0)
/Users/rick/go/src/github.com/github/git-lfs/vendor/_nuts/github.com/spf13/cobra/command.go:551 +0x46a
github.com/github/git-lfs/commands.Run()
/Users/rick/go/src/github.com/github/git-lfs/commands/commands.go:88 +0x23
main.main()
/Users/rick/go/src/github.com/github/git-lfs/git-lfs.go:34 +0x12e
ENV:
LocalWorkingDir=/Users/job/temp/University
LocalGitDir=.git
LocalGitStorageDir=.git
LocalMediaDir=.git/lfs/objects
TempDir=.git/lfs/tmp
ConcurrentTransfers=3
BatchTransfer=true
GIT_DIR=.git