Skip to content

Instantly share code, notes, and snippets.

@davehunt
Created April 29, 2014 13:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davehunt/11400946 to your computer and use it in GitHub Desktop.
Save davehunt/11400946 to your computer and use it in GitHub Desktop.
+ ./bin/getdimensions.py --output-file=eideticker.properties --output-screenshot=dimensions.png --wifi-settings=/home/mozilla/eideticker-ci/jenkins-master/jobs/b2g.tarako.mozilla-b2g28_v1_3t.tests/workspace/wifi.json
DeviceManager INFO | Stopping B2G
DeviceManager INFO | Starting B2G
DeviceManager INFO | Waiting for Marionette...
DeviceManager INFO | Marionette ready, starting session
DeviceManager INFO | Marionette ready!
Capturing to file ./bin/../captures/capture-test-1398777901.35.zip
Serving '/home/mozilla/eideticker-ci/jenkins-master/jobs/b2g.tarako.mozilla-b2g28_v1_3t.tests/workspace/src/tests' at 10.246.24.40:40702
Using adb interface (type: b2g, host: None, port: None, debuglevel: 20)
Apr 29 14:25:44 Capture Controller | Starting capture...
Terminating capture proc...
Capture proc terminated
Start capture. Frame: 4. Time: 1398777946.43
End capture. Frame: 31. Time: 1398777946.87
Apr 29 14:25:48 Capture Controller | Converting capture...
Apr 29 14:25:48 Capture Controller | Gathering capture dimensions and cropping to start/end of capture...
Apr 29 14:25:48 Capture Controller | Rewriting images in /tmp/tmp9vzfw6...
Apr 29 14:25:49 Capture Controller | Writing final capture './bin/../captures/capture-test-1398777901.35.zip'...
Processing capture...
Traceback (most recent call last):
File "./bin/getdimensions.py", line 179, in <module>
main()
File "./bin/getdimensions.py", line 161, in main
if square and (not largest_square or square.get_area(s) > square.get_area(
File "/home/mozilla/eideticker-ci/jenkins-master/jobs/b2g.tarako.mozilla-b2g28_v1_3t.tests/workspace/src/videocapture/videocapture/square.py", line 72, in get_area
return (square[2] - square[0]) * (square[3] - square[1])
TypeError: 'NoneType' object has no attribute '__getitem__'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment