print_tree() fails with StateNotFoundError

Bug #1276672 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Autopilot
Fix Released
High
Unassigned
One Hundred Papercuts
Fix Released
High
Unassigned
autopilot (Ubuntu)
Fix Released
High
Nicholas Skaggs

Bug Description

Dumping widget tree of complex applications with print_tree() fails with StateNotFoundError

I pushed an example to lp:~jibel/+junk/sdk_tests
pull the branch and run:
$ autopilot run sdk_tests

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-autopilot 1.4+14.04.20140123.1-0ubuntu1 [modified: usr/lib/python2.7/dist-packages/autopilot/introspection/dbus.py]
ProcVersionSignature: Ubuntu 3.13.0-6.23-generic 3.13.0
Uname: Linux 3.13.0-6-generic x86_64
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Feb 5 10:57:15 2014
InstallationDate: Installed on 2013-09-03 (154 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130902)
PackageArchitecture: all
SourcePackage: autopilot
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Running on different machines instrospection fails on the same components
  == StateNotFoundError for object /QtCreator/Core::Internal::MainWindow ==
  == StateNotFoundError for object /QtCreator/Core::Internal::OpenEditorsWindow ==
  == StateNotFoundError for object /QtCreator/Core::Internal::OutputPaneManager ==
  == StateNotFoundError for object /QtCreator/Core::NavigationWidget ==
  == StateNotFoundError for object /QtCreator/Core::RightPaneWidget ==
  == StateNotFoundError for object /QtCreator/CppEditor::Internal::InsertVirtualMethodsDialog ==
  == StateNotFoundError for object /QtCreator/CppTools::Internal::SymbolsFindFilterConfigWidget ==
  == StateNotFoundError for object /QtCreator/Find::Internal::FindToolBar ==
  == StateNotFoundError for object /QtCreator/Help::Internal::ExternalHelpWindow ==
  == StateNotFoundError for object /QtCreator/Help::Internal::OpenPagesSwitcher ==
  == StateNotFoundError for object /QtCreator/ProjectExplorer::Internal::MiniProjectTargetSelector ==
  == StateNotFoundError for object /QtCreator/QmlDesigner::FormEditorWidget ==
  == StateNotFoundError for object /QtCreator/QmlDesigner::Internal::DebugViewWidget ==
  == StateNotFoundError for object /QtCreator/QmlDesigner::NavigatorWidget ==
  == StateNotFoundError for object /QtCreator/QmlDesigner::StackedWidget ==
  == StateNotFoundError for object /QtCreator/QmlDesigner::StatesEditorWidget ==
  == StateNotFoundError for object /QtCreator/QmlEditorWidgets::ContextPaneWidget ==
  == StateNotFoundError for object /QtCreator/QmlEditorWidgets::CustomColorDialog ==
    == StateNotFoundError for object /QtCreator/QSplitter/Core::OutputPanePlaceHolder ==
    == StateNotFoundError for object /QtCreator/QWidget/Utils::StyledSeparator ==
    == StateNotFoundError for object /QtCreator/QWidget/Utils::StyledSeparator ==

Changed in autopilot (Ubuntu):
assignee: nobody → Nicholas Skaggs (nskaggs)
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

It renders essential functionality of the package (or a dependent one) broken.

Changed in autopilot (Ubuntu):
importance: Undecided → High
Changed in autopilot:
status: New → Confirmed
Changed in hundredpapercuts:
status: New → Triaged
importance: Undecided → High
Changed in autopilot:
status: Confirmed → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopilot - 1.4+14.04.20140408-0ubuntu1

---------------
autopilot (1.4+14.04.20140408-0ubuntu1) trusty; urgency=low

  [ Thomi Richards ]
  * Fix flake8 errors in trunk.
  * Make the make-coverage.sh script exit non-0 when tests fail.
  * Don't abort print_tree when we catch the StateNotFoundError
    exception. (LP: #1276672)
  * Tweak the vis tool so the splitter between the tree widget and the
    properties pane cannot be completely dragged to one side or the
    other. (LP: #1281360)
  * Fix functional test that was very dependant on timing. (LP:
    #1301005)
  * Make logger objects within autopilot private.

  [ Nicholas Skaggs ]
  * Don't abort print_tree when we catch the StateNotFoundError
    exception. (LP: #1276672)

  [ Corey Goldberg ]
  * When no tests are found, display "Did not find any tests" and exit,
    instead of invoking the runner. (LP: #1282995)
  * Fix functional test that was very dependant on timing. (LP:
    #1301005)

  [ nskaggs ]
  * Don't abort print_tree when we catch the StateNotFoundError
    exception. (LP: #1276672)

  [ Max Brustkern ]
  * Update documentation to reflect new terminology (LP:1288054) (LP:
    #1288054)
  * Make logger objects within autopilot private.
 -- Ubuntu daily release <email address hidden> Tue, 08 Apr 2014 00:29:56 +0000

Changed in autopilot (Ubuntu):
status: In Progress → Fix Released
Changed in autopilot:
status: In Progress → Fix Released
Revision history for this message
Paul White (paulw2u) wrote :

Closing as all other bug tasks showing "Fix Released"

Changed in hundredpapercuts:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.