artemp/mapnik — Issue #325: Server Hangs Using XML Configuration Files
Author: artemp
Created: 2011-10-11 16:11:52+00:00
State: open
Labels: OGC_Server__WMS_

I'm running Apache 2.2.9 with mod_python on Ubuntu Intrepid. I am able render maps perfectly when I define the styles directly in Python. I'm now trying to use XML Configuration files, but loading one causes the server to hang indefinitely with no errors.

I've traced the problem back as far as loadXML() in WMS.py. The process hangs at line 49 when load_map() is called. Any errors raised before that cause the script to fail normally.

I've tested running a python script that, by itself, uses load_xml() and generates an image successfully - only its use within the context of BaseWMSFactory is giving problems.

I've attached my worldMapFactory and the related XML file (though it has failed on multiple files).