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
[x ] 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
I'm having trouble installing. Maybe someone has gotten past this. When running sudo python -m amazon.dash install things fail. Immediately I get a ps: illegal option error:
Executing all install scripts for Amazon-Dash
[OK] config has been installed successfully
ps: illegal option -- -
usage: ps [-AaCcEefhjlMmrSTvwXx] [-O fmt | -o fmt] [-G gid[,gid...]]
[-g grp[,grp...]] [-u [uid,uid...]]
[-p pid[,pid...]] [-t tty[,tty...]] [-U user[,user...]]
ps [-L]
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/jason/Library/Python/2.7/lib/python/site-packages/amazon_dash/install/main.py", line 3, in
catch(cli)()
File "/Users/jason/Library/Python/2.7/lib/python/site-packages/amazon_dash/install/init.py", line 47, in wrap
return fn(*args, **kwargs)
File "/Library/Python/2.7/site-packages/click/core.py", line 764, in call
return self.main(*args, **kwargs)
File "/Library/Python/2.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Library/Python/2.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Library/Python/2.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Library/Python/2.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/jason/Library/Python/2.7/lib/python/site-packages/amazon_dash/install/init.py", line 152, in all
has_service = has_service or (service().install() and
File "/Users/jason/Library/Python/2.7/lib/python/site-packages/amazon_dash/install/init.py", line 71, in install
self.is_installable()
File "/Users/jason/Library/Python/2.7/lib/python/site-packages/amazon_dash/install/init.py", line 107, in is_installable
if get_init_system() != 'systemd' or not get_systemd_services_path():
File "/Users/jason/Library/Python/2.7/lib/python/site-packages/amazon_dash/install/init.py", line 30, in get_init_system
return check_output(['ps', '--no-headers', '-o', 'comm', '1']).strip(b'\n ').decode('utf-8')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['ps', '--no-headers', '-o', 'comm', '1']' returned non-zero exit status 1
The text was updated successfully, but these errors were encountered:
Put an
x
into all the boxes [ ] relevant to your issue (like this:[x]
)What is the purpose of your issue?
Guideline for bug reports
You can delete this section if your report is not a bug
How to get your version:
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
I'm having trouble installing. Maybe someone has gotten past this. When running sudo python -m amazon.dash install things fail. Immediately I get a ps: illegal option error:
The text was updated successfully, but these errors were encountered: