Merge lp:~sylvain-pineau/checkbox/camera_test_cheese_introspection into lp:checkbox
Proposed by
Sylvain Pineau
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Sylvain Pineau | ||||||||||||
Approved revision: | 4301 | ||||||||||||
Merged at revision: | 4303 | ||||||||||||
Proposed branch: | lp:~sylvain-pineau/checkbox/camera_test_cheese_introspection | ||||||||||||
Merge into: | lp:checkbox | ||||||||||||
Diff against target: |
233 lines (+90/-77) 2 files modified
providers/plainbox-provider-checkbox/bin/camera_test (+86/-77) providers/plainbox-provider-checkbox/jobs/camera.txt.in (+4/-0) |
||||||||||||
To merge this branch: | bzr merge lp:~sylvain-pineau/checkbox/camera_test_cheese_introspection | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sylvain Pineau (community) | Approve | ||
Taihsiang Ho | Pending | ||
Pierre Equoy | Pending | ||
Review via email: mp+291712@code.launchpad.net |
This proposal supersedes a proposal from 2016-04-11.
Description of the change
This MR removes all gstreamer pipelines from the camera_test script. This new version relies on libcheese as creating a camera bin is not something we want to maintain in the checkbox provider.
WARNING:
DO not merge without the packaging branch update first.
To post a comment you must log in.
"./camera still"
works well on dino2 (CID 201508-18005) besides one small inline comment (please see below)
-------------
"./camera display"
crashed. The error message is:
http:// paste.ubuntu. com/15760725/
./camera_test:570: PyGIWarning: Cheese was imported without specifying a version first. Use gi.require_ version( 'Cheese' , '3.0') before import to ensure that the right version gets loaded. exit(getattr( camera, args.test)()) set_device_ by_device_ node(self. args.device) by_device_ node'
from gi.repository import Cheese
Traceback (most recent call last):
File "./camera_test", line 575, in <module>
sys.
File "./camera_test", line 248, in display
camera.
AttributeError: 'Camera' object has no attribute 'set_device_