touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #86180
[Bug 1464014] Re: Exception raised executing _get_current_page_header in the last scope in Krilling
What I had to do in my code is to overwrite the medhod get_scope_title
which it is located in unity8.shell.emulators.dash because it was
raising an exception when it tries to access to the isCurrent property
of a QQuickLoader which hasn't this property.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1464014
Title:
Exception raised executing _get_current_page_header in the last scope
in Krilling
Status in unity8 package in Ubuntu:
New
Bug description:
I am testing using the krilling (vivid version) phone using the Dash
class in unit8/shell/emulators/dash.py. I created a method to go
through all the scopes (from today until photos) verifying that the
titles are correct. When I execute the method _get_current_page_header
being in the last scope (photos), then the following exception is
raised.
Traceback (most recent call last):
File "/home/phablet/test/ubuntu_system_tests/tests/test_scopes.py", line 56, in test_default_scopes
print(dash.get_scope_title())
File "/home/phablet/test/ubuntu_system_tests/helpers/unity8/dash.py", line 74, in get_scope_title
return self._get_current_page_header().title
File "/usr/lib/python3/dist-packages/unity8/shell/emulators/dash.py", line 182, in _get_current_page_header
if i.isCurrent:
File "/usr/lib/python3/dist-packages/autopilot/introspection/dbus.py", line 416, in __getattr__
(self.__class__.__name__, name))
AttributeError: Class 'QQuickLoader' has no attribute 'isCurrent'.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1464014/+subscriptions
References