[Mapserver-users] mapscript shapefileObj

Michael Schulz mschulz@webgis.de
Thu, 10 Apr 2003 11:27:51 +0200


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@webgis.de                             www.webgis.de


_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users