Autopilot gives PyGIWarnings in run.py

Bug #1546782 reported by Nicholas Skaggs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Notes app
Fix Committed
Undecided
Max Brustkern

Bug Description

Autopilot gives warnings under xenial

/usr/lib/python3/dist-packages/autopilot/run.py:635: PyGIWarning: Click was imported without specifying a version first. Use gi.require_version('Click', '0.4') before import to ensure that the right version gets loaded.
  action()
/usr/lib/python3/dist-packages/autopilot/run.py:686: PyGIWarning: Accounts was imported without specifying a version first. Use gi.require_version('Accounts', '1.0') before import to ensure that the right version gets loaded.
  self.args.suite
/usr/lib/python3/dist-packages/autopilot/run.py:686: PyGIWarning: Signon was imported without specifying a version first. Use gi.require_version('Signon', '1.0') before import to ensure that the right version gets loaded.

Versions:

apt-cache show autopilot*
Package: autopilot-desktop
Priority: optional
Section: universe/metapackages
Installed-Size: 23
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Thomi Richards <email address hidden>
Architecture: all
Source: autopilot
Version: 1.5.1+16.04.20151209-0ubuntu2
Depends: at-spi2-core, bamfdaemon, gir1.2-gconf-2.0, gir1.2-glib-2.0, gir1.2-gtk-3.0, python3-autopilot, python3-xlib (>= 0.14+20091101-1ubuntu3)
Recommends: python3-autopilot-vis, python3-evdev
Filename: pool/universe/a/autopilot/autopilot-desktop_1.5.1+16.04.20151209-0ubuntu2_all.deb
Size: 1656
MD5sum: 740a381470fe955bb53e22f9627509b2
SHA1: 3365642346c244b1cbe6e4fe3940d1bf164b709e
SHA256: d0830de0782e5b9a382fc2d39c02062f242beb4c694df1650098b9f2bec81841
Description-en: Autopilot support for the ubuntu Desktop platform
 This metapackage exists to depend on the packages needed to install and use
 autopilot on the Ubuntu Desktop platform.
Description-md5: 99df27e48b3a55cb5ac3b22c0d393ac9
Homepage: https://launchpad.net/autopilot
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: ubuntu-sdk

Package: autopilot-desktop-legacy
Priority: optional
Section: universe/metapackages
Installed-Size: 9
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Thomi Richards <email address hidden>
Architecture: all
Source: autopilot-legacy
Version: 1.4.1+15.10.20150911-0ubuntu2
Depends: gir1.2-gconf-2.0, gir1.2-glib-2.0, gir1.2-gtk-3.0, python-autopilot, python-xlib, bamfdaemon
Recommends: python-autopilot-vis, python-evdev
Filename: pool/universe/a/autopilot-legacy/autopilot-desktop-legacy_1.4.1+15.10.20150911-0ubuntu2_all.deb
Size: 1654
MD5sum: 802ac028d630b4c4f1c59fcda1c2ec7d
SHA1: 9048be9f0616e571014cd8a44084c38f6a506ceb
SHA256: 1aae8d0e8d1c6ab836d6bfe1958d3eef3138cb0f42f9cb972eb2796e1dd777e2
Description-en: Autopilot support for the ubuntu Desktop platform
 This metapackage exists to depend on the packages needed to install and use
 autopilot on the Ubuntu Desktop platform.
 .
 This is the legacy Python 2 support.
Description-md5: cf2febac1a2211cb77e8d4bcaae703f2
Homepage: https://launchpad.net/autopilot
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Package: autopilot-qt4
Priority: extra
Section: universe/libs
Installed-Size: 225
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Michael Zanetti <email address hidden>
Architecture: amd64
Source: autopilot-qt
Version: 1.4+15.10.20150825-0ubuntu1
Replaces: autopilot-qt, libautopilot-qt (<< 1.4+14.10.20140724.1-0ubuntu2)
Provides: autopilot-qt
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libqt4-dbus (>= 4:4.5.3), libqtcore4 (>= 4:4.7.0~beta1), libqtgui4 (>= 4:4.6.1), libstdc++6 (>= 5.2), libxpathselect1.4v5 (>= 1.4+15.10.20150824.1)
Conflicts: autopilot-qt
Breaks: libautopilot-qt (<< 1.4+14.10.20140724.1-0ubuntu2)
Filename: pool/universe/a/autopilot-qt/autopilot-qt4_1.4+15.10.20150825-0ubuntu1_amd64.deb
Size: 65756
MD5sum: 4f6514ce2ad52ec367bbf7e7cd43e9c7
SHA1: a2acce857fd9a4d7c03694da13790f2046229fec
SHA256: a2f3dd84e3277b704eb35bbc33fbd7feda0690c7e076c5115c46ab0f7cc34506
Description-en: make Qt applications introspectable by autopilot - Qt4 plugin
 autopilot-qt allows autopilot to test any existing Qt application, without
 having to rebuild the application under test.
 .
 This package provides the driver used for packages built against Qt4.
Description-md5: f3e6edb36f0853f1f5d065e837e5c590
Homepage: https://launchpad.net/autopilot-qt
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: ubuntu-sdk

Package: autopilot-qt5
Priority: extra
Section: universe/libs
Installed-Size: 250
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Michael Zanetti <email address hidden>
Architecture: amd64
Source: autopilot-qt
Version: 1.4+15.10.20150825-0ubuntu1
Replaces: libautopilot-qt (<< 1.4+14.10.20140724.1-0ubuntu2)
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libqt5core5a (>= 5.4.0), libqt5dbus5 (>= 5.0.2), libqt5gui5 (>= 5.0.2) | libqt5gui5-gles (>= 5.0.2), libqt5quick5 (>= 5.0.2) | libqt5quick5-gles (>= 5.0.2), libqt5test5 (>= 5.0.2), libqt5widgets5 (>= 5.0.2), libstdc++6 (>= 5.2), libxpathselect1.4v5 (>= 1.4+15.10.20150824.1)
Breaks: libautopilot-qt (<< 1.4+14.10.20140724.1-0ubuntu2)
Filename: pool/universe/a/autopilot-qt/autopilot-qt5_1.4+15.10.20150825-0ubuntu1_amd64.deb
Size: 72992
MD5sum: 575182bb9953890b5283a11a6522cadd
SHA1: 5fae17570f758e8f826af1dddc7d9770d47b0b22
SHA256: 9258c0fcff07b94430a93131ad7f7d4e180b4cc327a860f3222d3341e793ee6a
Description-en: make Qt applications introspectable by autopilot - Qt5 plugin
 autopilot-qt allows autopilot to test any existing Qt application, without
 having to rebuild the application under test.
 .
 This package provides the driver used for packages built against Qt5.
Description-md5: da076c60d4d62e6f335ee86e534df33a
Homepage: https://launchpad.net/autopilot-qt
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Task: ubuntu-sdk

Package: autopilot-touch
Priority: optional
Section: universe/metapackages
Installed-Size: 23
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Thomi Richards <email address hidden>
Architecture: all
Source: autopilot
Version: 1.5.1+16.04.20151209-0ubuntu2
Depends: autopilot-qt5, fbset, python3-autopilot, python3-evdev, qttestability-autopilot
Filename: pool/universe/a/autopilot/autopilot-touch_1.5.1+16.04.20151209-0ubuntu2_all.deb
Size: 1596
MD5sum: 9cc1189a1f78c39e61ba722a7fe138ea
SHA1: 4d90c30a806e4ac565dcaf861074e1ad69d84c68
SHA256: aac48959cb7dcfddd560cd8d37bdc71800040d75a3e941733af4c5716a603ef8
Description-en: Autopilot support for the ubuntu Touch platform
 This metapackage exists to depend on the packages needed to install and use
 autopilot on the Ubuntu Touch platform.
Description-md5: 0fada5f3a785ddc69e56e3cf6c4e1485
Homepage: https://launchpad.net/autopilot
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Package: autopilot-touch-legacy
Priority: optional
Section: universe/metapackages
Installed-Size: 9
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Thomi Richards <email address hidden>
Architecture: all
Source: autopilot-legacy
Version: 1.4.1+15.10.20150911-0ubuntu2
Depends: libautopilot-qt (>= 1.4), python-autopilot, python-evdev, fbset
Filename: pool/universe/a/autopilot-legacy/autopilot-touch-legacy_1.4.1+15.10.20150911-0ubuntu2_all.deb
Size: 1628
MD5sum: 6d14a5e6b5248626bc651d7b48f7c338
SHA1: ca889dd98d5a99a5f81a750d9e02097f0fb1f3f2
SHA256: 1447d8ac93d7011b7e87a4e67bec6c4be01fb2ebbeb3b27c2a371fa2b3141069
Description-en: Autopilot support for the ubuntu Touch platform
 This metapackage exists to depend on the packages needed to install and use
 autopilot on the Ubuntu Touch platform.
 .
 This is the legacy Python 2 support.
Description-md5: 62b9a6cb5c523b68e4af122790498133
Homepage: https://launchpad.net/autopilot
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

Related branches

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

This can be replicated with:

bzr branch lp:reminders-app
cd reminders-app/tests/autopilot
autopilot3 list reminders

Changed in autopilot:
assignee: nobody → Max Brustkern (nuclearbob)
Revision history for this message
Max Brustkern (nuclearbob) wrote :

All of this code is in the tests themselves. I'll be uploading a branch shortly that fixes the warnings.

affects: autopilot → reminders-app
Changed in reminders-app:
status: New → In Progress
Revision history for this message
Max Brustkern (nuclearbob) wrote :
Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

Fix committed into lp:reminders-app at revision 538, scheduled for release in reminders-app, milestone 2014-11-27

Changed in reminders-app:
status: In Progress → Fix Committed
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.