On Sat, Feb 16, 2008 at 07:45:17AM -0800, Hank Sims wrote: > Hi all: > > I'm trying to get the Mapnik WMS server (from v. 0.5) up and running on > my Ubuntu Gutsy box, but I keep running into the same import error: > > Traceback (most recent call last): > File "./wms", line 9, in <module> > from mapnik.ogcserver.cgiserver import Handler > File "/usr/lib/python2.5/site-packages/mapnik/ogcserver/cgiserver.py", > line 29, in <module> > from wms111 import ExceptionHandler as ExceptionHandler111 > File "/usr/lib/python2.5/site-packages/mapnik/ogcserver/wms111.py", line > 22, in <module> > from common import ParameterDefinition, Response, Version, ListFactory, > \ > File "/usr/lib/python2.5/site-packages/mapnik/ogcserver/common.py", line > 23, in <module> > from mapnik import Map, Color, Envelope, render, rawdata, Image, > Projection as MapnikProjection, render_to_file, Coord > ImportError: cannot import name rawdata > > For what it's worth, mapnik itself seems to work fine. I've drawn a > couple of sample maps with it. > I've tested this error from the shell, and "rawdata" seems to be the > only module that won't import. > My general setup and configuration is based on Matt Perry's little > tutorial. > Any ideas? I've already installed and reinstalled.
As far as I know, 'rawdata' is gone in 0.5. There's a replacement; I don't know off the top of my head what it is. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

