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

Error opening stream #388

Closed
sean-flanagan opened this issue Oct 1, 2020 · 8 comments
Closed

Error opening stream #388

sean-flanagan opened this issue Oct 1, 2020 · 8 comments

Comments

@sean-flanagan
Copy link

Hey Karl, I am getting an error: failure in opening stream (ffffd8f2), on macOS.

@karlstav
Copy link
Owner

karlstav commented Oct 1, 2020 via email

@sean-flanagan
Copy link
Author

sean-flanagan commented Oct 1, 2020 via email

@karlstav
Copy link
Owner

karlstav commented Oct 1, 2020

config.c is not the config file, it's just the part of the program that reads the config file, it probably should be named something else.

the config file is just a plain text (ini) file.

read more about configuration in the readme:

https://github.com/karlstav/cava#configuration

@karlstav karlstav closed this as completed Oct 7, 2020
@vkmb
Copy link

vkmb commented Apr 7, 2022

Hi Karl, I am also facing the same issue.

Os: macOS Monterey 12.3.1
Arch : Intel
Package Installer: Brew

config-file location: $HOME/.config/cava
config

Error:
error

The sound flower is working as expected and was checked with the recipe mentioned for macOS configuration.

@karlstav
Copy link
Owner

karlstav commented Apr 7, 2022

try the solution from #428:

#428 (comment)

@vkmb
Copy link

vkmb commented Apr 7, 2022

As suggested, I reinstalled portaudio with "brew update && brew reinstall portaudio" and tried it. I am getting different results for running the command with and without the path for config file and both doesn't show the visualisation as indented.
$ cava
cava output
Output: stuck in the same state and no visual update.
$ cava -p ~/.config/cava
cava -p ~/.config/cava  output
Output: Error opening stream with session broken.

@karlstav
Copy link
Owner

karlstav commented Apr 7, 2022

The default config file is most likely somewhere else then

~/.config/cava

@vkmb
Copy link

vkmb commented Apr 7, 2022

If the Privacy settings "Allow kitty to access microphone" dialog doesn't pop up it's going to the same issue again I guess. After building it from the source and installing it using the instructions specified in cava.rb , the os decided to pop up the dialog box. I did try to manually do this before posting the error today. Thanks a lot for visualiser Karl, I am onestep closer in finishing the ric3.
out

Output: The visualiser is working as expected. Thanks again !

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

3 participants