Ok, I though it was OK since running locate ogcserver returns this: /usr/lib/pymodules/python2.7/mapnik2/ogcserver/WMS.py /usr/lib/pymodules/python2.7/mapnik2/ogcserver/WMS.pyc /usr/lib/pymodules/python2.7/mapnik2/ogcserver/__init__.py /usr/lib/pymodules/python2.7/mapnik2/ogcserver/__init__.pyc /usr/lib/pymodules/python2.7/mapnik2/ogcserver/cgiserver.py /usr/lib/pymodules/python2.7/mapnik2/ogcserver/cgiserver.pyc /usr/lib/pymodules/python2.7/mapnik2/ogcserver/common.py /usr/lib/pymodules/python2.7/mapnik2/ogcserver/common.pyc /usr/lib/pymodules/python2.7/mapnik2/ogcserver/configparser.py /usr/lib/pymodules/python2.7/mapnik2/ogcserver/configparser.pyc /usr/lib/pymodules/python2.7/mapnik2/ogcserver/exceptions.py /usr/lib/pymodules/python2.7/mapnik2/ogcserver/exceptions.pyc /usr/lib/pymodules/python2.7/mapnik2/ogcserver/modserver.py /usr/lib/pymodules/python2.7/mapnik2/ogcserver/modserver.pyc /usr/lib/pymodules/python2.7/mapnik2/ogcserver/wms111.py /usr/lib/pymodules/python2.7/mapnik2/ogcserver/wms111.pyc /usr/lib/pymodules/python2.7/mapnik2/ogcserver/wms130.py /usr/lib/pymodules/python2.7/mapnik2/ogcserver/wms130.pyc /usr/lib/pymodules/python2.7/mapnik2/ogcserver/wsgi.py /usr/lib/pymodules/python2.7/mapnik2/ogcserver/wsgi.pyc
But then again this data might stem from the previous fix you gave me when I got trouble with m = mapnik.Map(600, 300) and you told me to copy data from python 2.6 to 2.7: sudo cp /usr/lib/pyshared/python2.6/mapnik2/* /usr/lib/pymodules/python2.7/mapnik2/ But I still believed this code was mapnik2 ready since they reside inside the mapnik2 folder. I'll try downloading from github and see if that works any better. Espen On Tue, Nov 8, 2011 at 11:11 PM, Dane Springmeyer <[email protected]> wrote: > > On Nov 8, 2011, at 1:44 PM, Espen Isaksen wrote: > >> from mapnik2.ogcserver.wsgi import WSGIApp > > > Ah ha, I notice you are importing from mapnik2. You should be using the > updated OGCServer code which is a standalone package of python files that > lives outside of mapnik sources. > > You can download it from: > > https://github.com/mapnik/OGCServer > > Then change you scripts to do: > > import ogcserver > # or > from ogcserver import foo > > I'm not sure if this will solve your issue, but to investigate more we all > should be using the same code. > > Dane _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

