This is my current patch which attemps to do that. However, it fails with
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/autopilot/utilities.py", line 351, in action_on_test_end
obj.on_test_end(test_instance)
File "/usr/lib/python3/dist-packages/autopilot/input/_X11.py", line 493, in on_test_end
move_mouse_to_screen(0)
File "/usr/lib/python3/dist-packages/autopilot/display/__init__.py", line 59, in move_mouse_to_screen
Mouse.create().move(x, y, False)
File "/usr/lib/python3/dist-packages/autopilot/input/__init__.py", line 298, in create
return _pick_backend(backends, preferred_backend)
File "/usr/lib/python3/dist-packages/autopilot/utilities.py", line 65, in _pick_backend
"Unable to instantiate any backends\n%s" % '\n'.join(failure_reasons))
RuntimeError: Unable to instantiate any backends
X11: DisplayConnectionError(':99', b'No protocol specified\n')
}}}
python3-evdev and python3-xlib are installed, so I don't have a good idea what's wrong here. Attaching the patch here to avoid losing it, as I need to stop working on this now.
This is my current patch which attemps to do that. However, it fails with
Traceback (most recent call last): python3/ dist-packages/ autopilot/ utilities. py", line 351, in action_on_test_end on_test_ end(test_ instance) python3/ dist-packages/ autopilot/ input/_ X11.py" , line 493, in on_test_end mouse_to_ screen( 0) python3/ dist-packages/ autopilot/ display/ __init_ _.py", line 59, in move_mouse_ to_screen create( ).move( x, y, False) python3/ dist-packages/ autopilot/ input/_ _init__ .py", line 298, in create backends, preferred_backend) python3/ dist-packages/ autopilot/ utilities. py", line 65, in _pick_backend failure_ reasons) ) onError( ':99', b'No protocol specified\n')
File "/usr/lib/
obj.
File "/usr/lib/
move_
File "/usr/lib/
Mouse.
File "/usr/lib/
return _pick_backend(
File "/usr/lib/
"Unable to instantiate any backends\n%s" % '\n'.join(
RuntimeError: Unable to instantiate any backends
X11: DisplayConnecti
}}}
python3-evdev and python3-xlib are installed, so I don't have a good idea what's wrong here. Attaching the patch here to avoid losing it, as I need to stop working on this now.