-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
brew install: Error: Failed to download resource "essentia" #37
Comments
README.md fails to mention that users need to install git-lfs first. After doing that, re-running.... I'm not sure if it worked.?? Message at the end seems to suggest the need to open an issue? $ brew install essentia --HEAD
==> Fetching mtg/essentia/essentia
==> Downloading https://files.pythonhosted.org/packages/21/9f/b251f7f8a76dec1d6651be194dfba8fb8d7781d10ab3987190de8391d08e/six-1.14.0.ta
Already downloaded: /Users/shawley/Library/Caches/Homebrew/downloads/22c9c7a937f5bb39678fed6ea3266190990eedb811f541ddc6b35ae42dc0e2e9--six-1.14.0.tar.gz
==> Cloning https://github.com/MTG/essentia.git
Updating /Users/shawley/Library/Caches/Homebrew/essentia--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at b584c9b1 Docs: improve formatting
Entering 'test/audio'
Entering 'test/models'
/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio
/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models
==> Installing essentia from mtg/essentia
==> /opt/homebrew/opt/python@3.9/bin/python3 waf configure --mode=release --with-examples --with-vamp
Last 15 lines from /Users/shawley/Library/Logs/Homebrew/essentia/01.python3:
2024-01-18 01:36:31 +0000
/opt/homebrew/opt/python@3.9/bin/python3
waf
configure
--mode=release
--with-examples
--with-vamp
--prefix=/opt/homebrew/Cellar/essentia/HEAD-b584c9b
If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
https://github.com/mtg/homebrew-essentia/issues
These open issues may also help:
brew install: Error: Failed to download resource "essentia" https://github.com/MTG/homebrew-essentia/issues/37
cannot install essentia on MacOS M1 https://github.com/MTG/homebrew-essentia/issues/32
cannot install essentia on MacOs https://github.com/MTG/homebrew-essentia/issues/30
Essentia install fails on MacOS with 'Broken revdeps detected' https://github.com/MTG/homebrew-essentia/issues/33
essentia installs fine, but gaia fails https://github.com/MTG/homebrew-essentia/issues/22
essentia's formula was built from an unstable upstream --HEAD.
This build failure is expected behaviour.
Do not create issues about this on Homebrew's GitHub repositories.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it. So... what was the error this time? I thought I might try uninstalling and reinstalling, but apparently installation did indeed fail: $ brew uninstall essentia
Error: No such keg: /opt/homebrew/Cellar/essentia |
Tried deleting the cache in Library/, but got the same message. And actually it again says that $ rm -rf /Users/shawley/Library/Caches/Homebrew/essentia--git
$ brew install essentia --HEAD
==> Downloading https://formulae.brew.sh/api/formula.jws.json
################################################################################################################################# 100.0%
==> Fetching mtg/essentia/essentia
==> Downloading https://files.pythonhosted.org/packages/21/9f/b251f7f8a76dec1d6651be194dfba8fb8d7781d10ab3987190de8391d08e/six-1.14.0.ta
Already downloaded: /Users/shawley/Library/Caches/Homebrew/downloads/22c9c7a937f5bb39678fed6ea3266190990eedb811f541ddc6b35ae42dc0e2e9--six-1.14.0.tar.gz
==> Cloning https://github.com/MTG/essentia.git
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models'
Error: essentia: Failed to download resource "essentia"
Failure while executing; `/usr/bin/env git submodule update --init --recursive` exited with 128. Here's the output:
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
git-lfs filter-process: git-lfs: command not found
fatal: the remote end hung up unexpectedly
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models' $ which git-lfs
/opt/homebrew/bin/git-lfs |
One more little trick to make sure ln -s "$(which git-lfs)" "$(git --exec-path)/git-lfs" With that, installation proceeds but it says that your repo is over its data quota! $ rm -rf /Users/shawley/Library/Caches/Homebrew/essentia--git
$ brew install essentia --HEAD
==> Fetching mtg/essentia/essentia
==> Downloading https://files.pythonhosted.org/packages/21/9f/b251f7f8a76dec1d6651be194dfba8fb8d7781d10ab3987190de8391d08e/six-1.14.0.ta
Already downloaded: /Users/shawley/Library/Caches/Homebrew/downloads/22c9c7a937f5bb39678fed6ea3266190990eedb811f541ddc6b35ae42dc0e2e9--six-1.14.0.tar.gz
==> Cloning https://github.com/MTG/essentia.git
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git'...
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
Downloading maest/discogs-maest-10s-pw-1.pb (347 MB)
Error downloading object: maest/discogs-maest-10s-pw-1.pb (d45bbbe):
Smudge error: Error downloading maest/discogs-maest-10s-pw-1.pb (d45bbbedd67ca8fb113ef1a55159fb6bb5a006e7d503843a3dd9629098562f0f):
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 '/Users/shawley/Library/Caches/Homebrew/essentia--git/.git/modules/test/models/lfs/logs/20240117T194546.535835.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: maest/discogs-maest-10s-pw-1.pb: smudge filter lfs failed
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models'
Error: essentia: Failed to download resource "essentia"
Failure while executing; `/usr/bin/env git submodule update --init --recursive` exited with 128. Here's the output:
Submodule 'test/audio' (https://github.com/MTG/essentia-audio) registered for path 'test/audio'
Submodule 'test/models' (https://github.com/MTG/essentia-models) registered for path 'test/models'
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/audio'...
Cloning into '/Users/shawley/Library/Caches/Homebrew/essentia--git/test/models'...
Submodule path 'test/audio': checked out '89df8e4d6fb306db6d2e14b6de6357aacda43b10'
Downloading maest/discogs-maest-10s-pw-1.pb (347 MB)
Error downloading object: maest/discogs-maest-10s-pw-1.pb (d45bbbe): Smudge error: Error downloading maest/discogs-maest-10s-pw-1.pb (d45bbbedd67ca8fb113ef1a55159fb6bb5a006e7d503843a3dd9629098562f0f): 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 '/Users/shawley/Library/Caches/Homebrew/essentia--git/.git/modules/test/models/lfs/logs/20240117T194546.535835.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: maest/discogs-maest-10s-pw-1.pb: smudge filter lfs failed
fatal: Unable to checkout '3ca4130bcb398a1361867e5d8462d3a7a0c02ccd' in submodule path 'test/models' :-( |
@drscotthawley , Any luck with this ? |
I had to update the python version in |
I fixed the build issue by adding a new symlink to the python3-binary:
After that I was able to install the formula.
The issue is also fixed in #36. |
This seems to be that Issue #12 which was closed in 2018, needs to be reopened.
After installing the tap:
The text was updated successfully, but these errors were encountered: