[Sugar-devel] The stacktrace for the Pippy camera example error
quozl at laptop.org
Mon Dec 5 19:31:16 EST 2011
On Tue, Dec 06, 2011 at 01:19:13AM +0100, laurent bernabe wrote:
> Here the stack trace for the camera example
> File "<<myhome>>/.sugar/default/org.laptop.Pippy/tmp/pippy_app.py" line 35, in <module>
> image = pygame.image.load('/tmp/pippypic.jpg')
> pygame.error : Unsupported image format
Thanks! This means the gst did not save an image from the camera.
Please try in a Terminal shell:
gst-launch v4l2src ! ffmpegcolorspace ! jpegenc ! filesink location=/tmp/pippypic.jpg
and show me any error output.
If there is no error output, wait a second, then press Control/C. (If
the command is left to run, /tmp/pippypic.jpg grows continuously as
frames are stored in the file.)
Please check you have adequate free space in /tmp directory.
More information about the Sugar-devel