Skip to content
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

Infinite Scan on OSX 12.7.1 #11

Open
beatelite opened this issue Nov 25, 2023 · 2 comments
Open

Infinite Scan on OSX 12.7.1 #11

beatelite opened this issue Nov 25, 2023 · 2 comments

Comments

@beatelite
Copy link

Summary: scanning a directory with n items never completes

Repo:
1- download the dmg file
2 - open and pick a directory (I'm using a directory with 1 sample)

current:
loads infinitely

expected:
scans and labels.

What I've tried:

  • pulled the repo and tested the dev build
    Error is
thread 'tokio-runtime-worker' panicked at src/utils/extractor_music.rs:23:7:
assertion failed: status.success()

When I println!("Exit status: {:?}", status); on line 21 of Extractor_music.rs, I get Exit status: ExitStatus { code: Some(126) }

I'm not terribly familiar with rust or Tauri but I think the command could not be executed.
I tried downloading a new binary from https://essentia.upf.edu/extractors/ and adding just the one I needed but I'm not entirely sure how to hook it up. Any suggestions?

System:
OSX 12.7.1 Monteray
processor: 2.7 GHz 12-Core Intel Xeon E5

@beatelite
Copy link
Author

beatelite commented Nov 25, 2023

Update: when I run the following in the terminal: /Users//Documents/Code/pulp/src-tauri/binaries/streaming_extractor_music-x86_64-apple-darwin I get: dyld[35775]: Library not loaded: '/usr/local/opt/taglib/lib/libtag.1.dylib' Referenced from: '/Users/<myusername>/Documents/Code/pulp/src-tauri/binaries/streaming_extractor_music-x86_64-apple-darwin' Reason: tried: '/usr/local/opt/taglib/lib/libtag.1.dylib' (no such file), '/usr/local/lib/libtag.1.dylib' (no such file), '/usr/lib/libtag.1.dylib' (no such file) I homebrew installed all the dependcies and now the dmg app works but my local dev version crashes on launch. What am I missing?

@vincehi
Copy link
Owner

vincehi commented Nov 25, 2023

You can test the essential binary directly

/pulp/src-tauri/binaries/streaming_extractor_music-x86_64-apple-darwin "your-audio-file.wav" "~/Desktop/out.json" 

I thought it was self-contained; I don't remember having to install anything to make it work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants