Upgrade your mapnik installation to SVN Head and that should fix the  
problem. See http://trac.mapnik.org/changeset/714/ for a patch  
otherwise.

Dane


On Sep 29, 2008, at 2:47 AM, [EMAIL PROTECTED] wrote:

> hello,
>
> i have a problem with the use of wms with mapnik on Debain etch.  
> When I
> used my server wms I error follows: "ImportError: cannot import name
> rawdata". I found on the maillist [Mapnick-user] a patch for amending
> the method GetMap:
>  "def GetMap(self, params):
>           m = self._buildMap(params)
>           im = Image(params['width'], params['height'])
>           render(m, im)
>           return Response(params['format'],
> im.tostring(params['format']))"
>  Since I have not error but when I loaded a picture I have new error :
> "RuntimeError: unknown format: image / jpeg" . Can someone help me ? 
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to