On Jul 22, 2010, at 11:55 PM, Noli Sicad wrote: > I run with the original map.xml in the python directory. > > I still get the same error: > ~~~~~~~~~~~~~~ > > C:\mapnik-0.7.1\demo\python>python pyqtmapnik.py map.xml > Traceback (most recent call last): > File "pyqtmapnik.py", line 128, in <module> > w = MapnikWidget() > File "pyqtmapnik.py", line 24, in __init__ > self.map = mapnik.Map(256, 256) > AttributeError: 'module' object has no attribute 'Map' > > ~~~~~~~~~~~~ > > Noli
Hi Noli, Do you get this worked out? I would assume that the problem is that you are running the pyqtmapnik.py application from a directory that contains a file named 'mapnik.py' or a folder named 'mapnik' and that is being imported rather than the right 'mapnik' folder on your python path. Or maybe not, just a guess. Basically that is a complicated way of saying that it is a bad idea to run pyqtmapnik.py in that directory - do it somewhere else :) - dane _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

