ERROR importer:51 - Could not find any typelib for Gdk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Autopilot |
Fix Released
|
Undecided
|
Christopher Lee | ||
autopilot (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Spotted in several autopilot logs, such as http://
Jul 18 09:24:11 ubuntu-phablet utah: Running command: utah-autopilot run -v phone_app.
Jul 18 09:24:12 ubuntu-phablet utah: Loading tests from: /usr/lib/
Jul 18 09:24:12 ubuntu-phablet utah: 09:24:12.227 ERROR importer:51 - Could not find any typelib for Gdk
Jul 18 09:24:12 ubuntu-phablet kernel: [ 98.286006] input: autopilot-finger as /devices/
Jul 18 09:24:12 ubuntu-phablet utah: 09:24:12.391 INFO globals:49 - *******
Jul 18 09:24:12 ubuntu-phablet utah: 09:24:12.392 INFO globals:50 - Starting test phone_app.
I. e. the "ERROR importer:51 - Could not find any typelib for Gdk". It seems it is mostly harmless, but it looks odd in logs. This seems to come from http://
If this is ok to ignore, I suggest catching the ImportError there and outputting a warning (if there is reduced functionality).
If this is important functionality, I suggest that autopilot should grow a dependency to python-gi and gir1.2-gtk-3.0. Alternatively this could also drop the usage of Gdk and instead just query xrandr.
Related branches
- Martin Pitt (community): Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 24 lines (+4/-2)1 file modifiedautopilot/display/_X11.py (+4/-2)
Changed in autopilot: | |
assignee: | nobody → Thomi Richards (thomir) |
assignee: | Thomi Richards (thomir) → Chris Gagnon (chris.gagnon) |
Changed in autopilot: | |
assignee: | Chris Gagnon (chris.gagnon) → Christopher Lee (veebers) |
Changed in autopilot: | |
milestone: | none → 1.4 |
status: | Fix Committed → Fix Released |
"ERROR importer:51 - Could not find any typelib for Gdk" is expected on the phone, it's first looking for the _x11 backend, when that doesn't work it looks for the ubuntu platform api backend and uses that.