logo separator

[mkgmap-dev] Commit: r2107: Translate contact:phone=* as phone=*.

From Martin mkmap at snailrun.de on Wed Jan 4 16:49:26 GMT 2012

Hello Steve,

was this patch ever commited? I checked out the last version from trunk and copied the default style to my working-folder. Without the patch I get a lot of errors starting with:
java.lang.StackOverflowError
	at sun.nio.cs.UTF_8.updatePositions(UTF_8.java:58)
	at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(UTF_8.java:392)
	at sun.nio.cs.UTF_8$Encoder.encodeLoop(UTF_8.java:447)
	at java.nio.charset.CharsetEncoder.encode(CharsetEncoder.java:544)
	at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:240)
	at java.lang.StringCoding.encode(StringCoding.java:272)
	at java.lang.String.getBytes(String.java:946)
	at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
	at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:228)
	at java.io.File.isDirectory(File.java:754)
	at uk.me.parabola.mkgmap.osmstyle.StyleFileLoader.createStyleLoader(StyleFileLoader.java:55)
	at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:132)
	at uk.me.parabola.mkgmap.osmstyle.StyleImpl.readBaseStyle(StyleImpl.java:518)
	at uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:140)
...

After the patch it works fine. 

Cheers,
Martin

Am 24.11.2011 um 13:25 schrieb Steve Ratcliffe:

> On 23/11/11 18:47, navmaps wrote:
>> Correction: the words 'base-style=location' in the info file are not
>> preceded by the '#'
> 
>>>> Again I don't see that, but the top part of this stack trace is
>>>> missing
>>>> so I can't tell what the problem is.
>>>> 
>>>>> at
>>>>> uk.me.parabola.mkgmap.osmstyle.StyleImpl.<init>(StyleImpl.java:140)
>>>>>           at
>>>>> uk.me.parabola.mkgmap.osmstyle.StyleImpl.readBaseStyle(StyleImpl.java
>>>>> :518)
> 
> Ah, OK, so it is recursive style inclusion.
> 
> The attached patch fixes that.
> 
> ..Steve
> <recursive_style_include.patch>_______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list