PyGIWarning: UbuntuAppLaunch was imported without specifying a version first
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Released
|
Undecided
|
Christopher Lee | ||
Ubuntu Music App |
Invalid
|
Undecided
|
Unassigned | ||
pygobject (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When launching Autopilot tests for Music App you get an error indicating that UbuntuAppLaunch was imported without specifying a version first.
This is the error:
autopilot run music_app
/usr/lib/
from gi.repository import GLib, UbuntuAppLaunch
Loading tests from: /home/victor/
Failed to import test module: music_app.
Traceback (most recent call last):
File "/usr/lib/
module = self._get_
File "/usr/lib/
__import_
File "/home/
from ubuntuuitoolkit import (
ImportError: No module named ubuntuuitoolkit
Tests running...
=======
ERROR: unittest.
-------
Traceback (most recent call last):
ImportError: Failed to import test module: music_app.
Traceback (most recent call last):
File "/usr/lib/
module = self._get_
File "/usr/lib/
__import_
File "/home/
from ubuntuuitoolkit import (
ImportError: No module named ubuntuuitoolkit
Related branches
- Max Brustkern (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 125 lines (+14/-37)5 files modifiedautopilot/application/_launcher.py (+2/-0)
autopilot/introspection/types.py (+7/-30)
autopilot/tests/unit/test_platform.py (+2/-2)
debian/control (+1/-0)
docs/otto.py (+2/-5)
description: | updated |
Changed in autopilot: | |
status: | New → In Progress |
Changed in autopilot: | |
assignee: | nobody → Christopher Lee (veebers) |
Changed in autopilot: | |
status: | Fix Committed → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better.
This is an issue that is related to python gi on Xenial (16.04), therefore I am adding pygobject to this bug and as it affects all the core apps which use this kind of import I'm marking this as invalid for music specifically.