[mapserver-dev] python mapscript compile causes error

Umberto Nicoletti umberto.nicoletti at gmail.com
Tue Feb 28 15:52:27 EST 2012


This ticket should have information and a patch to help you fix your issue:

http://trac.osgeo.org/mapserver/ticket/3940

Which python version are you using, btw?

On Tue, Feb 28, 2012 at 5:32 PM, Guillaume Sueur <no-reply at neogeo-online.net
> wrote:

> Hi list,
>
> I did my own compile of mapscript after some modifications in mapogcsld.c
> file, and if the things went well, I ran into two similar errors provided
> by mapscript.py but not directly connected to the modifications I've made.
>
> On lines 823 and 1371, instead of having __init__(self, *args) like in
> mapscript genuine version, there was respectively :
> def __init__(self, layer = None):
> and
> def __init__(self, map = None):
> which caused following lines using args to raise an exception.
> I don't understand why it occured (maybe swig configuration or whatever)
> and would appreciate any clue about this.
>
> Best regards
>
> Guillaume
> ______________________________**_________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/mapserver-dev<http://lists.osgeo.org/mailman/listinfo/mapserver-dev>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120228/b735b08d/attachment.html


More information about the mapserver-dev mailing list