[Tile-serving] [openstreetmap/osm2pgsql] Lua function errors now trigger runtime exception (#845)
mmd
notifications at github.com
Tue Jun 19 20:13:17 UTC 2018
As seen on https://help.openstreetmap.org/questions/64259/osm2pgsql-failed-due-to-error-failed-to-execute-lua-function:
@SomeoneElseOSM seems to be the first one to hit this stricter check: the previous z_order calculation logic had some issue ("attempt to perform arithmetic on field 'layer' (a string value)") and the error message on osm2pgsql was easy to ignore. With the stricter check, the error message is no longer ignored, and the stylesheet needs to be fixed to use proper Lua syntax.
Code in question: https://github.com/SomeoneElseOSM/SomeoneElse-style/blob/master/style.lua#L16
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/845#issuecomment-398529869
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180619/522f859e/attachment.html>
More information about the Tile-serving
mailing list