Python Mapscript Crashes

Stéphane COLZY stephane.colzy at MAGELLIUM.FR
Tue Oct 17 04:17:48 EDT 2006


Hello,

 

Have you already encountered this exception with Python/MapScript :

 

Exception exceptions.AttributeError: "'NoneType' object has no attribute
'currentThread'" in <bound method mapObj.__del__ of <mapscript.mapObj; proxy
of C mapObj instance at _10108002_p_map_obj>> ignored

 

I’m using python/mapscript from MS4W 1.19 and Python 2.4.3

 

The exception “randomly” appears in python debug mode only, in other cases
python.exe just crashes.

 

My guess is there’s a segmentation fault when disposing mapscript objects,
but I have no clues on how to troubleshoot this issue


 

 

 

Stéphane COLZY

stephane.colzy at magellium.fr
05 61 28 81 22

MAGELLIUM
10 avenue de l'Europe
31525 - Ramonville Saint Agne

 <http://www.magellium.fr/> http://www.magellium.fr

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061017/0387afe0/attachment.html


More information about the mapserver-users mailing list