--> --> -->
 
 
<class '_mapscript.MapServerError'>
Python 2.7.3: /usr/bin/python
Tue May 23 15:49:23 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /mnt/bigtank/services/wms/spot5 in ()
    186 
    187 #===========================================================
=>  188 main()
    189 
    190 
main = <function main>
 /mnt/bigtank/services/wms/spot5 in main()
    125     mapText = replaceConfig(mapText,config)
    126     mapFile.close()
=>  127     mapObj = mapscript.msLoadMapFromString(mapText,".");
    128 
    129     """
mapObj undefined, global mapscript = <module 'mapscript' from '/usr/lib64/python2.7/site-packages/mapscript.pyc'>, mapscript.msLoadMapFromString = <built-in function msLoadMapFromString>, mapText = 'Map\r\n NAME "ALL"\r\n EXTENT 96 5 106.5 21\r\n ... End #METADATA\r\n End #WEB\r\n\r\nEnd #Map\r\n'

<class '_mapscript.MapServerError'>: loadLabel(): Unknown identifier. Parsing error near (BACKGROUNDCOLOR):(line 23)
      args = ('loadLabel(): Unknown identifier. Parsing error near (BACKGROUNDCOLOR):(line 23)',)
      message = 'loadLabel(): Unknown identifier. Parsing error near (BACKGROUNDCOLOR):(line 23)'