Python mapscript Python 2.5 OS X 10.5

Richard Greenwood richard.greenwood at GMAIL.COM
Wed Jan 16 20:00:40 PST 2008


Disclaimer first: My Python skills are thin-to-none.

I'm having trouble with Python mapscript with Python 2.5.1 on OS X
10.5. I am working with the mapscript distributed with mapserver
5.0.0. It builds w/o error, but the tests fail: FAILED (failures=1,
errors=4)
The failure is FAIL: numpoints is immutable, this should raise error
The 4 errors are all related to postgres.

I went ahead and installed anyway, and get a new series of errors:

  File "mapscript.py", line 88, in <module>
    MS_LAYER_ALLOCSIZE = _mapscript.MS_LAYER_ALLOCSIZE
AttributeError: 'module' object has no attribute 'MS_LAYER_ALLOCSIZE'

Comment out line 88 and:

  File "mapscript.py", line 89, in <module>
    MS_CLASS_ALLOCSIZE = _mapscript.MS_CLASS_ALLOCSIZE
AttributeError: 'module' object has no attribute 'MS_CLASS_ALLOCSIZE'

etc.

Any suggestions?

Thanks,
Rich


-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com



More information about the MapServer-users mailing list