Sometimes I’m seeing a different failure:

Traceback (most recent call last):
File 
"/usr/lib/python3/dist-packages/webbrowser_app/tests/test_bookmark_options.py", 
line 170, in test_save_bookmarked_url_in_new_folder
self.main_window.go_to_url(url)
File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 
41, in go_to_url
self.address_bar.go_to_url(url)
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 
357, in go_to_url
self.write(url)
File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", line 
361, in write
self.text_field.write(text, clear)
File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
return f(instance, *args, **kwargs)
File 
"/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py",
 line 49, in write
self.keyboard.type(text)
File "/usr/lib/python3/dist-packages/autopilot/input/_osk.py", line 105, in type
self._keyboard.type(string, delay)
File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", 
line 211, in type
self.press_key(char)
File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", 
line 176, in press_key
req_key_state = self._keypad_contains_key(req_keypad, key)
File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", 
line 304, in _keypad_contains_key
self._update_details_for_keypad(keypad_name)
File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", 
line 289, in _update_details_for_keypad
self._show_keypad(keypad_name)
File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", 
line 329, in _show_keypad
self._current_keypad_name.wait_for(keypad_name)
File "/usr/lib/python3/dist-packages/autopilot/introspection/types.py", line 
181, in wait_for
failure_msg))
AssertionError: After 10.0 seconds test on KeyboardContainer.state failed: 
'SYMBOLS' != dbus.String('CHARACTERS', variant_level=1)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-keyboard in Ubuntu.
https://bugs.launchpad.net/bugs/1542224

Title:
  [regression] RuntimeError("Keyboard is not on screen") in webbrowser-
  app autopilot tests

Status in ubuntu-keyboard package in Ubuntu:
  New

Bug description:
  I’m seeing a large number of webbrowser-app autopilot test failures lately (I 
think this started 2 or 3 days ago).
  Almost all of them expose a traceback like this:

  Traceback (most recent call last):
  File 
"/usr/lib/python3/dist-packages/webbrowser_app/tests/test_addressbar_states.py",
 line 82, in test_does_not_clear_when_typing_while_loading
  self.main_window.go_to_url(url)
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", 
line 41, in go_to_url
  self.address_bar.go_to_url(url)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
  return f(instance, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", 
line 357, in go_to_url
  self.write(url)
  File "/usr/lib/python3/dist-packages/webbrowser_app/emulators/browser.py", 
line 361, in write
  self.text_field.write(text, clear)
  File "/usr/lib/python3/dist-packages/autopilot/logging.py", line 46, in inner
  return f(instance, *args, **kwargs)
  File 
"/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_textfield.py",
 line 49, in write
  self.keyboard.type(text)
  File "/usr/lib/python3/dist-packages/autopilot/input/_osk.py", line 105, in 
type
  self._keyboard.type(string, delay)
  File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", 
line 211, in type
  self.press_key(char)
  File "/usr/lib/python3/dist-packages/ubuntu_keyboard/emulators/keyboard.py", 
line 165, in press_key
  raise RuntimeError("Keyboard is not on screen")
  RuntimeError: Keyboard is not on screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-keyboard/+bug/1542224/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to