[mapserver-users] MapScript resultsGetShape confusion
    Daniel Morissette 
    dmorissette at mapgears.com
       
    Tue Jun  1 14:02:35 PDT 2010
    
    
  
Christian Jauvin wrote:
> 
> I did what you suggested, and added:
> 
> CONFIG "MS_ERRORFILE" "<error file>"
> CONFIG "CPL_DEBUG" "ON"
> DEBUG 5
> 
Did you also include DEBUG 5 inside the POSTGIS layer itself?
> to my mapfile, and performed my query again. It generated a very long
> file (200K+ lines!) with only two types of line:
> 
> [Tue Jun  1 14:36:01 2010].765230 getSymbol(): Symbol definition
> error. Parsing error near (null):(line 208)
> [...]
> [Tue Jun  1 14:36:01 2010].777963 msPostGISLayerResultsGetShape called
> for record = 338
> [...]
> 
200k times the same message sounds like an infinite loop of some sort.
Perhaps look at the first few lines of debug/error messages. There may 
be a different message that would have been output *before* entering the 
infinite loop and that could give a hint about what is happening. Just a 
guess... can't do much more from here.
What is the last version that worked fine? 5.6.2?
Daniel
-- 
Daniel Morissette
http://www.mapgears.com/
    
    
More information about the MapServer-users
mailing list