I'm trying to generate an animation from the Pavia Mapping Party. Ojw
pointed me to the svn and the render.py and video.py scripts.
The render.py script work smooth, but i have some problem with the video.py

I modified all the offending .gpx for wrong timestamp format, but now,
when trying to generate the video I obtain this error:

> $ python video.py -d /home/marascalchie/Desktop/Tracks/2008-01/06/
> Loading data
>  * 20080106 093759.gpx
>  * 20080106 125043.gpx
>  * W20080106102203.gpx
>  * Luca.gpx
>  * 20080106 101626.gpx
>  * 20080106 085821.gpx
>  * 20080106 101506.gpx
>  * W20080106120632.gpx
>  * 20080106 083644.gpx
>  * Roberto.gpx
>  * 20080106-1329-pavia-tracklog.gpx
>  * 20080106-1329-pavia-waypoints.gpx
>  * Davide.gpx
>  * 20080106 111414.gpx
> Read 24562 points in 14 files
> Calculating extents
> Centred on 45.134511, 9.192895
>  - Lat 45.089511 to 45.179511, Long 9.129105 to 9.256684
>  - Ratio: 1.417545
> Creating image 720 x 600 px
> Outputting to out_m.mpg at 720 x 600
> Title...
> Traceback (most recent call last):
>   File "video.py", line 499, in <module>
>     TracklogPlotter.drawTitle()
>   File "video.py", line 417, in drawTitle
>     self.video.addFrame(self.surface, 70)
>   File "video.py", line 52, in addFrame
>     buf = surface.get_data_as_rgba()
> AttributeError: 'cairo.ImageSurface' object has no attribute 
> 'get_data_as_rgba'
> [EMAIL PROTECTED] video rendering]$
> [EMAIL PROTECTED] video rendering]$ AttributeError: 
> 'cairo.ImageSurface' object has no attribute 'get_data_as_rgba'
> bash: AttributeError:: command not found
Any advice?

Edo
-- 
Edoardo Marascalchi
ICT Consultant

website: http://www.edoardomarascalchi.it
skype: My status <skype:asca_edom?call>


_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk

Reply via email to