[Sugar-devel] The stacktrace for the Pippy camera example error

laurent bernabe laurent.bernabe at gmail.com
Mon Dec 5 19:47:12 EST 2011


>From your new command error, i know now that I need to install gst-launch :
i'll retry after having installed it

2011/12/6 James Cameron <quozl at laptop.org>

> 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.
>
> --
> James Cameron
> http://quozl.linux.org.au/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20111206/a6deb37c/attachment.html>


More information about the Sugar-devel mailing list