Skip to content

"amixer: Mixer attach default error: No such file or directory" when try to start blockify or blockify-ul

You want to start blockify-ui or blockify on a pulseaudio served arch linux and get the following error?

amixer: Mixer attach default error: No such file or directory
Traceback (most recent call last):
  File "/usr/bin/blockify-ui", line 11, in <module>
    load_entry_point('blockify==3.6.3', 'gui_scripts', 'blockify-ui')()
  File "/usr/lib/python3.6/site-packages/blockify/gui.py", line 972, in main
    _cli = cli.initialize(__doc__)
  File "/usr/lib/python3.6/site-packages/blockify/cli.py", line 597, in initialize
    cli = Blockify(_blocklist)
  File "/usr/lib/python3.6/site-packages/blockify/cli.py", line 63, in __init__
    self.channels = self.initialize_channels()
  File "/usr/lib/python3.6/site-packages/blockify/cli.py", line 184, in initialize_channels
    amixer_output = subprocess.check_output("amixer")
  File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command 'amixer' returned non-zero exit status 1.

Try to call "amixer" first and check the output. The chance is high that it will be something like the follow:

amixer: Mixer attach default error: No such file or directory

How to fix this?

Install the following tools: * extra/pulseaudio-alsa * extra/alsa-utils * extra/alsa-plugins * extra/alsa-lib

After that, amixer should output something meaningful and blockify should work as expected.

Translate to de es fr it pt ja

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

The author does not allow comments to this entry

Add Comment

Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

Markdown format allowed
Form options