Binder projects should not use git-lfs?

I use git-lfs in https://github.com/hannari-python/tutorial
And I tried to build the repository with mybinder.org.

But the build failed like

Waiting for build to start...
Picked Git content provider.
Cloning into '/tmp/repo2dockerv6a38b_p'...
Checking out files: 100% (50/50), done.
Downloading data/japan-trade-statistics/y_1997.db (482 MB)
Error downloading object: data/japan-trade-statistics/y_1997.db (9c3352f): Smudge error: Error downloading data/japan-trade-statistics/y_1997.db (9c3352fac48d18046499db000ec491950f8ba5efdec15ce6417aeaaba44271da): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

Errors logged to /tmp/repo2dockerv6a38b_p/.git/lfs/logs/20200814T171652.705396465.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: data/japan-trade-statistics/y_1997.db: smudge filter lfs failed
Error during build: Command '['git', 'reset', '--hard', 'c1467cd7172256ef99cb63a0f19c9f8a38bba7d7']' returned non-zero exit status 128.

Does it mean that projects that build with binder should not use git-lfs?

I’m not sure if we do anything special to help/not help with git-lfs support. I think we don’t do anything special, so the default behaviour of git would apply.

The error message says something about being out of quota. Does someone know if this quota is based on the account owning the repository (hannari-python) or is it the account fetching the repository (maybe based on mybinder.org’s IP?).

1 Like

@betatim
Sorry for bothering you.

It was because the bandwidth of git-lfs-data on github exceeded the limit.
The Binder build now works well after I deleted the git-lfs data from the repository.

No worries. Glad we found a solution so quickly :smiley: