touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #24120
[Bug 1326037] Re: click_action_button() is not working
*** This bug is a duplicate of bug 1324556 ***
https://bugs.launchpad.net/bugs/1324556
** Changed in: ubuntu-ui-toolkit (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1326037
Title:
click_action_button() is not working
Status in “ubuntu-ui-toolkit” package in Ubuntu:
Fix Released
Bug description:
click_action_button() uitoolkit emulator is not working. it was
working fine in the previous release but the latest version broke it.
I get
Loading tests from: /home/om26er/code/canonical/address-book-
app/staging.working/tests/autopilot
Tests running...
<class 'Xlib.protocol.request.QueryExtension'>
Running from: ../../src/app/address-book-app
======================================================================
ERROR: address_book_app.tests.test_edit_contact.TestEditContact.test_remove_email
----------------------------------------------------------------------
Empty attachments:
process-stdout (../../src/app/address-book-app)
/var/log/syslog: {{{Jun 3 21:17:21 inspiron kernel: [20275.979414] input: autopilot-finger as /devices/virtual/input/input25}}}
process-return-code (../../src/app/address-book-app): {{{-15}}}
process-stderr (../../src/app/address-book-app): {{{
Using contact manager: "memory"
Testability driver loaded. Wire protocol version is "1.4".
unity::action::ActionManager::ActionManager(QObject*):
Could not determine application identifier. HUD will not work properly.
Provide your application identifier in $APP_ID environment variable.
UCUriHandler: Empty "APP_ID" environment variable, ignoring.
Fail to connect with sync monitor: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name com.canonical.SyncMonitor was not provided by any .service files")
QObject::connect: No such signal QDBusAbstractInterface::stateChanged()
QObject::connect: No such signal QDBusAbstractInterface::enabledServicesChanged()
WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and actions.
** (address-book-app:27029): WARNING **: Unable to register app: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: Invalid application ID
WARNING! Do not put Page/Tabs/PageStack inside another Page because that causes confusion which is the active page that sets the title and actions.
Unknown : [19] [-1]
Unknown : [19] [-1]
Unknown : [19] [0]
Unknown : [19] [4]
Unknown : [19] [5]
}}}
Traceback (most recent call last):
File "/home/om26er/code/canonical/address-book-app/staging.working/tests/autopilot/address_book_app/tests/test_edit_contact.py", line 115, in test_remove_email
self.add_contact("Fulano", "de Tal", None, ["fulano@xxxxxxxxx"])
File "/home/om26er/code/canonical/address-book-app/staging.working/tests/autopilot/address_book_app/tests/__init__.py", line 295, in add_contact
self.main_window.save()
File "/home/om26er/code/canonical/address-book-app/staging.working/tests/autopilot/address_book_app/emulators/main_window.py", line 131, in save
self.click_action_button("save")
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/_mainview.py", line 196, in click_action_button
header = self.open_header()
File "/home/om26er/code/canonical/address-book-app/staging.working/tests/autopilot/address_book_app/emulators/main_window.py", line 100, in open_header
header = self.get_header()
File "/usr/lib/python3/dist-packages/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py", line 46, in get_header
raise _common.ToolkitException('The main view has no header.')
ubuntuuitoolkit._custom_proxy_objects._common.ToolkitException: The main view has no header.
Ran 1 test in 26.622s
FAILED (failures=1)
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: ubuntu-ui-toolkit-autopilot 0.1.46+14.10.20140527-0ubuntu1
ProcVersionSignature: Ubuntu 3.15.0-1.5-generic 3.15.0-rc5
Uname: Linux 3.15.0-1-generic x86_64
ApportVersion: 2.14.2-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Jun 3 21:09:51 2014
InstallationDate: Installed on 2014-04-21 (43 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitecture: all
SourcePackage: ubuntu-ui-toolkit
UpgradeStatus: Upgraded to utopic on 2014-05-19 (15 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1326037/+subscriptions