You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug report (encountered problems with amazon-dash)
Feature request (request for a new functionality)
Question
Other
Guideline for bug reports
amazon-dash version: master
Python version: 3.7 (Docker)
Pip & Setuptools version: not relevant
Operating System: Docker (alpine)
The pip install or setup install command has been completed without errors
The python -m amazon_dash.install command has been completed without errors
The amazon-dash discovery command works without errors
I have created/edited the configuration file
Amazon-dash service or amazon-dash --debug run works
Description
Dockerfile uses Alpine Linux which has no support for bash.
Error executing the device Button: Error running command /usr/bin/env bash -c echo test: The error code 127 has returned. Stderr: env: can't execute 'bash': No such file or directory
What is the purpose of your issue?
Guideline for bug reports
pip install
orsetup install
command has been completed without errorspython -m amazon_dash.install
command has been completed without errorsamazon-dash discovery
command works without errorsamazon-dash --debug run
worksDescription
Dockerfile uses Alpine Linux which has no support for bash.
Error stack:
https://github.com/Nekmo/amazon-dash/blob/develop/amazon_dash/execute.py#L36
results in
/usr/bin/env bash
because bash is the default shell here
https://github.com/Nekmo/amazon-dash/blob/develop/amazon_dash/execute.py#L39
and here is no shell name provided if you want to execute a command with your dash button
https://github.com/Nekmo/amazon-dash/blob/develop/amazon_dash/execute.py#L169
The text was updated successfully, but these errors were encountered: