[Mapserver-users] mapObj clone() method problem
Michael Schulz
mschulz at webgis.de
Tue Apr 20 06:19:27 PDT 2004
Hi,
this could be related to a known problem/bug for mapfiles that don't
have a fontset defined. Is that true for your case?
Further information can be found in mapserver bug id 557.
HTH, Michael
Alexandros Chimarios schrieb:
> Hi all,
>
> I have a problem using Python Mapscript. In particular when i invoke
> mapObj.clone() method i got a segmentation fault. This is my source code :
>
> mo = mapObj('/usr/local/apache2/cgi-bin/geodata/world.map')
> mo_clone = mo.clone()
>
> However, when I created a subclass of mapObj, then the clone method run
> normally. But i have noticed that the clone method runs ok for 2 times. if I
> try to invoke it the 3rd time i get an segmenation fault again. For example :
>
> y = mo;
> for i in [1,2,3,4,5,6,7,8,9,10]:
>
> c = y.clone()
>
> print i;
>
> It prints :
>
> 1
> 2
> Segmentation fault
>
>
> Could anyone explain me why's this happenning ?
>
> p.s : I use Python 2.2 on RedHat Linux 9 with kernel 2.4.20
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
--
-----------------------------------------------------------
Michael Schulz in medias res
Dipl.-Geologe Gesellschaft für
Informationstechnologie mbH
In den Weihermatten 66
79108 Freiburg
0761 55695-95 (Fax 96)
mschulz at webgis.de www.webgis.de/www.zopecms.de
More information about the MapServer-users
mailing list