Hi there, I'm trying to get your app to run on a relatively fresh install of 15.04. I've added the dependences, but get the error below after running 'python3 sleep_inhibit'. Any ideas what I'm doing wrong?
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused
couldn't open display
Traceback (most recent call last):
File "sleep_inhibit", line 39, in <module>
exit(main())
File "/home/home/sleep-inhibit-1.0.0-beta/sleepinhibit/startup.py", line 76, in main
if not dependencies_are_satisfied():
File "/home/home/sleep-inhibit-1.0.0-beta/sleepinhibit/startup.py", line 31, in dependencies_are_satisfiedyapayne/Web2Executable/issues
util.cmd_output(['xprintidle'])
File "/home/home/sleep-inhibit-1.0.0-beta/sleepinhibit/util.py", line 26, in cmd_output
return subprocess.check_output(*args, **kwargs).decode('utf-8').strip()
File "/usr/lib/python3.4/subprocess.py", line 620, in check_output
raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command '['xprintidle']' returned non-zero exit status 1
Edit from dev
The ultimate solution here is to have a way to inhibit sleep which doesn't depend on having an X session. Any contributions along that front would be welcomed.
Hi there, I'm trying to get your app to run on a relatively fresh install of 15.04. I've added the dependences, but get the error below after running 'python3 sleep_inhibit'. Any ideas what I'm doing wrong?
Edit from dev
The ultimate solution here is to have a way to inhibit sleep which doesn't depend on having an X session. Any contributions along that front would be welcomed.