[OSM-dev] Infinite template recursion at tile 2116,1325

Jeroen Dekkers jeroen at vrijschrift.org
Wed May 2 19:43:22 BST 2007


Rendering 2116,1325 always gives an infinite template recursion. See
the output below. Can somebody with more knowledge about XSLT look
into this?

jeroen at dijkstra:~/osm/tilesathome$ ./tilesGen.pl xy 2116 1325                          
- Using working directory /home/jeroen/osm/tilesathome/workdir/                        
* Please upgrade to inkscape 0.45.1 due to security problems with your inkscape version:
- Inkscape version 0.44.1                                                              
- xmlstarlet version 1.0.1                                                             
- zip is present
- pngcrush version 1.6.4
- Uploading with username "JeroenDekkers"
- Deleting ZIP files after upload
- Using OSM username "jeroen%40dekkers.cx"
Check MaxZoom
- Configured Layer: default
- Configured Layer: maplint
This is version 2707 (Glencoe) of tilesgen running on linux
[#1   0% jobinit] Doing tileset 2116,1325 (area around 53.461812,6.020508)
[#1   0% default] Frolloizing (part II) ...... ERROR
  The following command produced an error message:
  nice "xmlstarlet" tr frollo2.xsl temp-22548.osm > "data-22548-frollo.osm"
  Debug output follows:
  | runtime error: file frollo2.xsl line 276 element param
  | xsltApplyXSLTTemplate: A potential infinite template recursion was detected.
  | You can adjust xsltMaxDepth (--maxdepth) in order to raise the maximum number of nested template calls and variables/params (currently set to 3000).
  | Templates:
  | #0 name processSeg 
  | #1 name nextSeg 
  | #2 name linkedSeg 
  | #3 name processSeg 
  | #4 name nextSeg 
  | #5 name linkedSeg 
  | #6 name processSeg 
  | #7 name nextSeg 
  | #8 name linkedSeg 
  | #9 name processSeg 
  | #10 name nextSeg 
  | #11 name linkedSeg 
  | #12 name processSeg 
  | #13 name nextSeg 
  | #14 name linkedSeg 
  | Variables:
  | #0
  | var nextSegFromNodeId 
  | #1
  | var nextSegToNodeId 
  | #2
  | var currentSegFromNodeId 
  | #3
  | var currentSegToNodeId 
  | #4
  | var alreadyProcessed 
  | #5
  | var nextSeg 
  | #6
  | var newProcessedSegs 
  | #7
  | debug 
  | subPath 
  | processedSegs 
  | currentSeg 
  | #8
  | processedSegs 
  | currentSeg 
  | #9
  | subPath 
  | processedSegs 
  | currentSeg 
  | #10
  | param reverse
  | #11
  | currentSeg
  | #12
  | var toLooseEnds
  | #13
  | var fromLooseEnds
  | #14
  | debug
  | processedSegs
  | no result for temp-22548.osm
[#1   0% default] Frollotation failure (part II)...




More information about the dev mailing list