Hello, I have a problem with the python-mapscript library v6.0.1-2ubuntu1 with swig2.0.4 and python 2.7 installed (I'm running ubuntu 12.04)
If the function layer.getFeature is called, I get the following error: File "/home/xxx/Documents/xxx_python/xxxx/src/resdbcore/kaarten/mappreview.py", line 306, in gather_data resultaat = importlayer.getFeature(i) File "/usr/lib/python2.7/dist-packages/mapscript.py", line 1192, in <lambda> __getattr__ = lambda self, name: _swig_getattr(self, layerObj, name) File "/usr/lib/python2.7/dist-packages/mapscript.py", line 34, in _swig_getattr raise AttributeError,name AttributeError: getFeature the application runs fine on Windows but I try to get it running on linux with eclipse. the only relevant thing I found is that the layer.getFeature function has been temporarily removed from mapscript but should be available again >=6. altough I have swig2 installed, in the file /usr/lib/python2.7/dist-packages/mapscript.py in the head it is mentioned that this file has been automatically generated by SWIG 1.3.36. Could that be the problem, because AFAIK python-mapscript needs swig2? Tim
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
