Then I ran my tests, which now fail because the OSK isn't shown at all any more. So the keyboard emulator fails with
Traceback (most recent call last):
File "/home/phablet/messaging-app/tests/autopilot/messaging_app/tests/test_messaging.py", line 95, in test_write_new_message
kb = Keyboard()
File "/usr/lib/python2.7/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 55, in __init__
self.orientation = self.maliit.select_single(
File "/usr/lib/python2.7/dist-packages/ubuntu_keyboard/emulators/keyboard.py", line 105, in maliit
emulator_base=UbuntuKeyboardEmulatorBase
File "/usr/lib/python2.7/dist-packages/autopilot/introspection/__init__.py", line 271, in get_proxy_object_for_existing_process
raise ProcessSearchError("Search criteria returned no results")
ProcessSearchError: ('Search criteria returned no results', 'Unable to find maliit-server dbus object. Has it been started with introspection enabled?')
Did you mean something else with "maliit-server started with testability"?
How would I do that? I tried this loop a few times until "my" maliit-server was faster than the D-BUS (re-)spawned one:
$ pkill -e maliit-server; maliit-server -testability /usr/lib/ arm-linux- gnueabihf/ qt5/qml/ Ubuntu/ Components/ OrientationHelp er.qml: 100: ReferenceError: window is not defined
maliit-server killed (pid 8584)
maliit-server: invalid option -- 't'
maliit-server: invalid option -- 'e'
maliit-server: invalid option -- 's'
maliit-server: invalid option -- 't'
maliit-server: invalid option -- 'a'
maliit-server: invalid option -- 'b'
maliit-server: invalid option -- 'i'
maliit-server: invalid option -- 'l'
maliit-server: invalid option -- 'i'
maliit-server: invalid option -- 't'
maliit-server: invalid option -- 'y'
__pthread_gettid -2
error: empty dic file
Hash Manager Error : 2
WARNING: file://
Then I ran my tests, which now fail because the OSK isn't shown at all any more. So the keyboard emulator fails with
Traceback (most recent call last): phablet/ messaging- app/tests/ autopilot/ messaging_ app/tests/ test_messaging. py", line 95, in test_write_ new_message python2. 7/dist- packages/ ubuntu_ keyboard/ emulators/ keyboard. py", line 55, in __init__ orientation = self.maliit. select_ single( python2. 7/dist- packages/ ubuntu_ keyboard/ emulators/ keyboard. py", line 105, in maliit base=UbuntuKeyb oardEmulatorBas e python2. 7/dist- packages/ autopilot/ introspection/ __init_ _.py", line 271, in get_proxy_ object_ for_existing_ process ror("Search criteria returned no results")
File "/home/
kb = Keyboard()
File "/usr/lib/
self.
File "/usr/lib/
emulator_
File "/usr/lib/
raise ProcessSearchEr
ProcessSearchError: ('Search criteria returned no results', 'Unable to find maliit-server dbus object. Has it been started with introspection enabled?')
Did you mean something else with "maliit-server started with testability"?