Jump to content

gitea - Error downloading object


Recommended Posts

When I try to pull the changes made to my fork by sync it to 0ad:main I get the error:

Downloading binaries/data/mods/public/art/meshes/props/caryatid.dae (101 KB)
Error downloading object: binaries/data/mods/public/art/meshes/props/caryatid.dae (4758e69): Smudge error: Error downloading binaries/data/mods/public/art/meshes/props/caryatid.dae (4758e699101e3ab0b367bc4557a5fe155b395df3a28d3c3ecc3c5d7bb4b45565): batch response: Repository or object not found: https://gitea.wildfiregames.com/DesertRose/0ad-DR_fork.git/objects/batch
Check that it exists and that you have proper access to it

Errors logged to '/home/tre/git/0ad/0ad-DR_fork/.git/lfs/logs/20260321T085833.61052115.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
Spoiler
git-lfs/3.7.1 (GitHub; linux amd64; go 1.25.3 X:nodwarf5)
git version 2.53.0

$ git-lfs filter-process
Error downloading object: binaries/data/mods/public/art/meshes/props/caryatid.dae (4758e69): Smudge error: Error downloading binaries/data/mods/public/art/meshes/props/caryatid.dae (4758e699101e3ab0b367bc4557a5fe155b395df3a28d3c3ecc3c5d7bb4b45565): batch response: Repository or object not found: https://gitea.wildfiregames.com/DesertRose/0ad-DR_fork.git/objects/batch
Check that it exists and that you have proper access to it

batch response: Repository or object not found: https://gitea.wildfiregames.com/DesertRose/0ad-DR_fork.git/objects/batch
Check that it exists and that you have proper access to it
Error downloading binaries/data/mods/public/art/meshes/props/caryatid.dae (4758e699101e3ab0b367bc4557a5fe155b395df3a28d3c3ecc3c5d7bb4b45565)
github.com/git-lfs/git-lfs/v3/errors.newWrappedError
	github.com/git-lfs/git-lfs/v3/errors/types.go:228
github.com/git-lfs/git-lfs/v3/errors.Wrap
	github.com/git-lfs/git-lfs/v3/errors/errors.go:74
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).downloadFile
	github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:124
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).Smudge
	github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:83
github.com/git-lfs/git-lfs/v3/commands.smudge
	github.com/git-lfs/git-lfs/v3/commands/command_smudge.go:128
github.com/git-lfs/git-lfs/v3/commands.filterCommand
	github.com/git-lfs/git-lfs/v3/commands/command_filter_process.go:132
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.7.0/command.go:944
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.7.0/command.go:1068
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.7.0/command.go:992
github.com/git-lfs/git-lfs/v3/commands.Run
	github.com/git-lfs/git-lfs/v3/commands/run.go:154
main.main
	github.com/git-lfs/git-lfs/v3/git-lfs.go:34
runtime.main
	runtime/proc.go:285
runtime.goexit
	runtime/asm_amd64.s:1693
Smudge error
github.com/git-lfs/git-lfs/v3/errors.newWrappedError
	github.com/git-lfs/git-lfs/v3/errors/types.go:228
github.com/git-lfs/git-lfs/v3/errors.NewSmudgeError
	github.com/git-lfs/git-lfs/v3/errors/types.go:314
github.com/git-lfs/git-lfs/v3/lfs.(*GitFilter).Smudge
	github.com/git-lfs/git-lfs/v3/lfs/gitfilter_smudge.go:100
github.com/git-lfs/git-lfs/v3/commands.smudge
	github.com/git-lfs/git-lfs/v3/commands/command_smudge.go:128
github.com/git-lfs/git-lfs/v3/commands.filterCommand
	github.com/git-lfs/git-lfs/v3/commands/command_filter_process.go:132
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/cobra@v1.7.0/command.go:944
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/cobra@v1.7.0/command.go:1068
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/cobra@v1.7.0/command.go:992
github.com/git-lfs/git-lfs/v3/commands.Run
	github.com/git-lfs/git-lfs/v3/commands/run.go:154
main.main
	github.com/git-lfs/git-lfs/v3/git-lfs.go:34
runtime.main
	runtime/proc.go:285
runtime.goexit
	runtime/asm_amd64.s:1693

Have this error for a few days now.

Is that an issue I can fix myself, or is this on the remote's side? I can't find any helpful info online.

Edited by DesertRose
Link to comment
Share on other sites

  • DesertRose changed the title to gitea - Error downloading object

Trying to sync in the web UI gives me this error message:

Merge Failed: There was a conflict while merging. Hint: Try a different strategy.

And all fixes for it I found are for conflicts with the same repo, not with a parent repo.

 

A comment similar to

git merge upstream/main

doesn't seem to exist for git-lfs

Spoiler
git remote add upstream https://gitea.wildfiregames.com/0ad/0ad.git

git merge upstream/main
Link to comment
Share on other sites

5 minutes ago, DesertRose said:
Merge Failed: There was a conflict while merging. Hint: Try a different strategy.

Ah, you edited the main branch of your repo.... The classical workflow would be to not make any of your edits there but on dedicated branches.

Assuming we still want to use your main to rebase all local branches --since @guerringuerrin confirmed this worked for him, I'm guessing this was indeed due to something, probably rights, preventing you to pull lfs assets from 0AD's main repo storage-- here is what you could do:

  1. Drop all commits you did on main locally
  2. Force push your own main branch
  3. Try again to sync your main with 0AD's main using the web UI


 

  • Like 1
Link to comment
Share on other sites

And, if dropping your commits doesn’t work for some reason, you can also try resetting your local branch to a few commits earlier in the history. Then try steps 2 and 3 again.

View the history to choose where to go with:
git log --oneline 
Then:
git reset --hard <commit-hash>
Then:

23 minutes ago, Atrik said:

2. Force push your own main branch

3. Try again to sync your main with 0AD's main using the web UI

Edited by guerringuerrin
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...