rotation_test crashes when rotation is unsupported
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox Provider - Base |
Fix Released
|
Low
|
Zygmunt Krynicki |
Bug Description
Testing a desktop with an nVidia card installed requiring the nVidia-current driver. Ran the rotation test and discovered that it crashed with an ugly traceback that is recreatable manually:
Traceback (most recent call last):
File "/usr/share/
File "/usr/share/
UnboundLocalError: local variable 'error' referenced before assignment
The script didnt' work. On further investigation, the 'Displays' tool does not provide any options or rotations available, and this is bore out by looking at nvidia-settings which ALSO does not appear to provide any rotation options.
This script should probably be fixed to handle cases like proprietary drivers as well as provide a cleaner error in this case.
Related branches
- Daniel Manrique (community): Approve
-
Diff: 14 lines (+2/-1)1 file modifiedproviders/plainbox-provider-checkbox/bin/rotation_test (+2/-1)
affects: | checkbox → plainbox-provider-checkbox |
Changed in plainbox-provider-checkbox: | |
milestone: | 0.6 → 0.7 |
Changed in plainbox-provider-checkbox: | |
status: | In Progress → Fix Committed |
milestone: | 0.7 → 0.6 |
Changed in plainbox-provider-checkbox: | |
status: | Fix Committed → Fix Released |
ii checkbox 0.15+bzr1842+ 201212050848~ precise1 System testing application certification 0.15+bzr556+ 201211161747~ precise1 Checkbox Certification Tests certification- client 0.15+bzr556+ 201211161747~ precise1 Client Certification 201212050848~ precise1 QT4 interface for checkbox
ii checkbox-
ii checkbox-
ii checkbox-qt 0.15+bzr1842+