[Mapserver-users] python mapscript

Michael Schulz mschulz at webgis.de
Wed Jul 2 11:14:28 EDT 2003


Hi,

i have a question concerning the new error handling code in python
mapscript. While it is very good that mapscript now throws real
meaningful exceptions for a lot of errors, it is somewhat annyoing that
e.g. queryByPoint also gives an error when no records where found. What
would be the correct way to change this behaviour?
A bit more background information why this behaviour is annoying me (for
those using python mapscript in the zmapserver environment): i am
working on implementing query mechanisms in zmapserver, and in the
combination zope-zmapserver-python/mapscript it seems, that i am not
able to catch this exception correctly. Even worse, the zope process
gets killed (although an error should be raised, the zope process
segfaults). Well, as you might assume this is not the intended
behaviour. Hmm, any ideas, where to start looking?

TIA, Michael

--
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                Informationstechnologie mbH
                             Sautierstr. 38, 79104 Freiburg
                                     0761 55695-95 (Fax 96)
mschulz at webgis.de                             www.webgis.de





More information about the mapserver-users mailing list