[mapserver-users] issue when upgrading layer from 5.x to 6.0

Stephen Woodbridge woodbri at swoodbridge.com
Wed Aug 8 05:25:30 PDT 2012


Mark,

Can you run this request in gdb and do a backtrace after it crashes?
Hopefully your executable is compiled with --enable-debug

gdb /path/to/mapserv
run QUERY_STRING='everything after the ? in the url request'
backtrace
quit

And post the output. This will probably be more useful at identifying 
the problem.

-Steve W

On 8/8/2012 2:07 AM, Lime, Steve D (DNR) wrote:
> Nothing jumps out. Are you using INCLUDES or and external symbol file? Wonder if the line number is off or referencing another file.
>
> Steve
>
> ________________________________________
> From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Mark Volz [MarkVolz at co.lyon.mn.us]
> Sent: Tuesday, August 07, 2012 10:04 AM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] issue when upgrading layer from 5.x to 6.0
>
> Hello,
>
> I am upgrading a mapfile from Mapserver 5.x to Mapserver 6.0.  This map works fine in 5.x, however it crashes on the "STYLE" line.  If anyone sees anything wrong with this layer let me know.
>
> LAYER
>          NAME 'Townships'
>          TYPE POLYGON
>          DATA './LyonCounty/Boundaries/Townships'
>          MINSCALEDENOM 15000
>          STATUS DEFAULT
>          TRANSPARENCY 100
>          CLASSITEM "COLOR"
>          CLASS
>                  NAME 'Townships'
>                  EXPRESSION 'T'
>                  STYLE   ####### THIS IS WHERE MS CRASHED DUE TO "Unknown identifier. Parsing error near (STYLE):(line 109)"
>                          #SYMBOL 'hatch-test'
>                          COLOR 170 170 170
>                          SIZE 2
>                          WIDTH 1
>                  END #STYLE
>          END #class
> END # townships layer
>
> Thank you for your help
>
> Mark
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the mapserver-users mailing list