[mapserver-users] Python Mapscript MS 3.6.1
Vinko Vrsalovic
vinko@cprsig.cl
Wed, 10 Jul 2002 19:12:41 -0400
On Wed, Jul 10, 2002 at 02:50:51PM -0600, Sean Gillies wrote:
> Vinko Vrsalovic wrote:
> > Hello,
> >
> > I've been trying to compile the mapscript python module, but I
> > keep finding this errors:
> >
> [snip]
>
> Vinko,
>
> One of your problems (regarding ms_error) occurs because the
> mapscript.i included with mapserver 3.6.1 is a bit out-of-date.
>
> Edit the Python specific section to match the following:
>
[snap]
> The key thing is to get an errorObj returned from msGetErrorObj().
Thanks a lot! The warnings from swig didn't disappear (as expected), but were
irrelevant to the working of the module (as expected too), now I'm happily coding in
PyMapScript :-)
BTW, Vine's script is very useful in installing the module.
(Why isn't mapscript.i fixed in the official distribution? Should i send
the fixed file to Steve?)
--
Vinko Vrsalovic <vinko[|-@-|]cprsig.cl>
http://www.cprsig.cl