autopilot vis fails with: autopilot.introspection.dbus.StateNotFoundError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
XPathSelect |
New
|
High
|
Unassigned | ||
autopilot (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
xpathselect (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When introspecting large application like qtcreator, autopilot vis fails with:
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
object_details = node.get_
File "/usr/lib/
self.
File "/usr/lib/
_, new_state = self.get_
File "/usr/lib/
raise StateNotFoundEr
autopilot.
TEST CASE
1. Install qtcreator
2. Run: autopilot launch qtcreator
3. Run: autopilot vis
4. In vis select qtcreator
5. Browser the widget tree
ACTUAL RESULT
Lot of widget can not be instrospected and fail with StateNotFound
EXPECTED RESULT
User can introspect the whole tree
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-autopilot 1.4+14.
ProcVersionSign
Uname: Linux 3.13.0-8-generic x86_64
ApportVersion: 2.13.2-0ubuntu4
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Feb 18 09:19:29 2014
InstallationDate: Installed on 2013-09-03 (167 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
PackageArchitec
SourcePackage: autopilot
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Thomi Richards (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 33 lines (+5/-2)2 files modifiedlib/parser.h (+1/-1)
test/test_parser.cpp (+4/-1)
This is an issue with xpathselect related to the colons in the name (i.e. Internal: :MainWindow) .
I have a branch fix for this, in progress . . .