Cannot checkout v0.6.0

I have a problem when trying to checkout the new release on existing repo, were I was using v0.5.1:

$ git checkout v0.6.0
Downloading data/lm/lm.binary (946 MB)
Error downloading object: data/lm/lm.binary (a24953c): Smudge error: Error downloading data/lm/lm.binary (a24953ce3f013bbf5f4a1c9f5a0e5482bc56eaa81638276de522f39e62ff3a56): [a24953ce3f013bbf5f4a1c9f5a0e5482bc56eaa81638276de522f39e62ff3a56] Object does not exist on the server: [404] Object does not exist on the server

Errors logged to /home/ben/DeepSpeech/.git/lfs/logs/20191204T093647.555974818.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: data/lm/lm.binary: smudge filter lfs failed

When tried with a freshly cloned repo and it checkouts just fine though. Maybe there is something to fix here.

git lfs logs last gives:

git-lfs/2.9.0 (GitHub; linux amd64; go 1.13.1)
git version 2.17.1

$ git-lfs filter-process
Error downloading object: data/lm/lm.binary (a24953c): Smudge error: Error downloading data/lm/lm.binary (a24953ce3f013bbf5f4a1c9f5a0e5482bc56eaa81638276de522f39e62ff3a56): [a24953ce3f013bbf5f4a1c9f5a0e5482bc56eaa81638276de522f39e62ff3a56] Object does not exist on the server: [404] Object does not exist on the server

[404] Object does not exist on the server
[a24953ce3f013bbf5f4a1c9f5a0e5482bc56eaa81638276de522f39e62ff3a56] Object does not exist on the server
github.com/git-lfs/git-lfs/errors.newWrappedError
	/tmp/docker_run/src/git-lfs/amd64/errors/types.go:198
github.com/git-lfs/git-lfs/errors.Wrapf
	/tmp/docker_run/src/git-lfs/amd64/errors/errors.go:85
github.com/git-lfs/git-lfs/tq.(*TransferQueue).enqueueAndCollectRetriesFor
	/tmp/docker_run/src/git-lfs/amd64/tq/transfer_queue.go:572
github.com/git-lfs/git-lfs/tq.(*TransferQueue).collectBatches.func1
	/tmp/docker_run/src/git-lfs/amd64/tq/transfer_queue.go:432
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1357
Error downloading data/lm/lm.binary (a24953ce3f013bbf5f4a1c9f5a0e5482bc56eaa81638276de522f39e62ff3a56)
github.com/git-lfs/git-lfs/errors.newWrappedError
	/tmp/docker_run/src/git-lfs/amd64/errors/types.go:198
github.com/git-lfs/git-lfs/errors.Wrapf
	/tmp/docker_run/src/git-lfs/amd64/errors/errors.go:85
github.com/git-lfs/git-lfs/lfs.(*GitFilter).downloadFile
	/tmp/docker_run/src/git-lfs/amd64/lfs/gitfilter_smudge.go:115
github.com/git-lfs/git-lfs/lfs.(*GitFilter).Smudge
	/tmp/docker_run/src/git-lfs/amd64/lfs/gitfilter_smudge.go:76
github.com/git-lfs/git-lfs/commands.smudge
	/tmp/docker_run/src/git-lfs/amd64/commands/command_smudge.go:127
github.com/git-lfs/git-lfs/commands.filterCommand
	/tmp/docker_run/src/git-lfs/amd64/commands/command_filter_process.go:118
github.com/spf13/cobra.(*Command).execute
	/tmp/docker_run/src/git-lfs/amd64/vendor/github.com/spf13/cobra/command.go:766
github.com/spf13/cobra.(*Command).ExecuteC
	/tmp/docker_run/src/git-lfs/amd64/vendor/github.com/spf13/cobra/command.go:852
github.com/spf13/cobra.(*Command).Execute
	/tmp/docker_run/src/git-lfs/amd64/vendor/github.com/spf13/cobra/command.go:800
github.com/git-lfs/git-lfs/commands.Run
	/tmp/docker_run/src/git-lfs/amd64/commands/run.go:97
main.main
	/tmp/docker_run/src/git-lfs/amd64/git-lfs.go:33
runtime.main
	/usr/local/go/src/runtime/proc.go:203
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1357
Smudge error
github.com/git-lfs/git-lfs/errors.newWrappedError
	/tmp/docker_run/src/git-lfs/amd64/errors/types.go:198
github.com/git-lfs/git-lfs/errors.NewSmudgeError
	/tmp/docker_run/src/git-lfs/amd64/errors/types.go:284
github.com/git-lfs/git-lfs/lfs.(*GitFilter).Smudge
	/tmp/docker_run/src/git-lfs/amd64/lfs/gitfilter_smudge.go:85
github.com/git-lfs/git-lfs/commands.smudge
	/tmp/docker_run/src/git-lfs/amd64/commands/command_smudge.go:127
github.com/git-lfs/git-lfs/commands.filterCommand
	/tmp/docker_run/src/git-lfs/amd64/commands/command_filter_process.go:118
github.com/spf13/cobra.(*Command).execute
	/tmp/docker_run/src/git-lfs/amd64/vendor/github.com/spf13/cobra/command.go:766
github.com/spf13/cobra.(*Command).ExecuteC
	/tmp/docker_run/src/git-lfs/amd64/vendor/github.com/spf13/cobra/command.go:852
github.com/spf13/cobra.(*Command).Execute
	/tmp/docker_run/src/git-lfs/amd64/vendor/github.com/spf13/cobra/command.go:800
github.com/git-lfs/git-lfs/commands.Run
	/tmp/docker_run/src/git-lfs/amd64/commands/run.go:97
main.main
	/tmp/docker_run/src/git-lfs/amd64/git-lfs.go:33
runtime.main
	/usr/local/go/src/runtime/proc.go:203
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1357

Current time in UTC: 
2019-12-04 08:36:47

ENV:
LocalWorkingDir=/home/ben/DeepSpeech
LocalGitDir=/home/ben/DeepSpeech/.git
LocalGitStorageDir=/home/ben/DeepSpeech/.git
LocalMediaDir=/home/ben/DeepSpeech/.git/lfs/objects
LocalReferenceDirs=
TempDir=/home/ben/DeepSpeech/.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=/home/ben/DeepSpeech/.git/lfs
AccessDownload=none
AccessUpload=none
DownloadTransfers=basic,lfs-standalone-file
UploadTransfers=basic,lfs-standalone-file
GIT_DIR=.git
GIT_PREFIX=

Client IP addresses:
xx.xx.xx.xx

Let’s be clear, it works well on a new repo, you can checkout v0.6.0 ?

Yes, I can checkout v0.6.0 on new repo as mentioned. I just wanted to let you know, maybe there is simply something missing on the server.

If it works fine with a new repo, I don’t see how you can come to that conclusion. I’ve just checked, git fetch upstream && git checkout upstream/v0.6.0 and I get the proper new lm …

Thank you @lissyx, for some reason git reset --hard v0.6.0 helped here. Problem solved.

1 Like