[Mapserver-users] mapscript shapefileObj

Michael Schulz mschulz at webgis.de
Thu Apr 10 05:27:51 EDT 2003


Hi,

i have run into a error with my applications using python/mapscript.
With one of the latest nightlies the new shapefileObj() function
complains it needs 3 arguments instead of 2 !?

>>> from mapscript import *
>>> r = shapefileObj("c:\\tonne\test.shp",MS_SHAPE_POINT)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "C:\programme\zope_jupiter\bin\DLLs\mapscript.py", line 359, in
__init__
    self.this = apply(_mapscript.new_shapefileObj,args)
TypeError: new_shapefileObj() takes exactly 3 arguments (2 given)

Can anybody reproduce this error? TIA, Michael

--
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                Informationstechnologie mbH
                             Sautierstr. 38, 79104 Freiburg
                                     0761 55695-95 (Fax 96)
mschulz at webgis.de                             www.webgis.de





More information about the mapserver-users mailing list