systemed / tilemaker

Make OpenStreetMap vector tiles without the stack
https://tilemaker.org/
Other
1.4k stars 226 forks source link

Lua Runtime Error #673

Closed Booligoosh closed 5 months ago

Booligoosh commented 5 months ago

Hi, thanks for the great work as always. Getting an error when running Tilemaker:

lua runtime error: 
`maybe...Argument mismatch:string,boolean        candidate is:
                std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >,kaguya::VariadicArgType,
'  `maybe...Argument mismatch:string,boolean     candidate is:
                std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >,kaguya::VariadicArgType,
'  
Lua error on way 1009195265

Process file here, if that helps at all: https://github.com/Booligoosh/sydneybikemap/blob/tilemaker-3/tiles/process.lua

cldellow commented 5 months ago

I think https://github.com/Booligoosh/sydneybikemap/blob/tilemaker-3/tiles/process.lua#L539 should just be:

        LayerAsCentroid("housenumber")

The inscrutable error is unfortunate :(

Booligoosh commented 5 months ago

This solved it, thanks so much!! Yeah, a nicer error message would have been helpful