logo separator

[mkgmap-dev] Problem with an empty CodePage key in TYP.txt

From osm@pinns osm at pinns.co.uk on Fri Feb 2 16:33:26 GMT 2018

Hi Bend

I think this should be in TYPWiz and perhaps a warning in mkgmap that 
codepages cant be 0

Nick


On 02/02/2018 16:21, Bernd Weigelt wrote:
> Hello
>
> TYPwiz creates an empty key 'CodePage=' in my styles_typ.txt every time i had
> changed this file, this leads to an error message at the end of the build
> process.
> I don't know if this line is needed, but i can't see any problem, when i
> comment this key out, made it for very much builds.
>
> Should this problem fixed in MKGMAP or better in TYPwiz?
>
>
> Bernd
>
> ;generated by TYPWiz 5,82
> ;created : 02-01-2018
> ;------------------------------
> [_id]
> ProductCode=46
> FID=5
> ;Header=5B
> CodePage=
> [end]
>
>
>
> II: building basemap
> Time started: Fri Feb 02 16:58:17 CET 2018
> java.lang.ArrayIndexOutOfBoundsException: 1
>          at uk.me.parabola.mkgmap.main.TypCompiler
> $CharsetProbe.tryCharset(TypCompiler.java:252)
>          at uk.me.parabola.mkgmap.main.TypCompiler
> $CharsetProbe.probeCharset(TypCompiler.java:222)
>          at uk.me.parabola.mkgmap.main.TypCompiler$CharsetProbe.access
> $000(TypCompiler.java:205)
>          at uk.me.parabola.mkgmap.main.TypCompiler.makeMap(TypCompiler.java:67)
>          at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:263)
>          at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:259)
>          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>          at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
> 1149)
>          at java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:624)
>          at java.lang.Thread.run(Thread.java:748)
> Number of MapFailedExceptions: 0
> Number of ExitExceptions: 0
> Time finished: Fri Feb 02 17:01:42 CET 2018
> Total time taken: 205566ms
>
>
>
>
>
>
>
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20180202/6404c47d/attachment.html>


More information about the mkgmap-dev mailing list