attempt to call global 'Find' (a nil value)
I was running tilemaker with the default (ie. config-openmaptiles.json etc.) config & process files on the central american osm.pbf file (I used https://download.geofabrik.de/central-america-latest.osm.pbf)
The run died with:
lua runtime error: /tilemaker/process-openmaptiles.lua:123: attempt to call global 'Find' (a nil value).
From the file, I see it died on the first instance of Find: 121: function node_function() 122: -- Write 'aerodrome_label' 123: local aeroway = Find("aeroway")
I was using the install from apt (apt-get tilemaker) -- not building from scratch. I have a feeling that this is the issue: apt search tilemakers shows tilemaker/stable 2.2.0-2+b1
Is this a versioning problem? Am I using v3 lua files with v2 binaries?
lua interface has breaking changes v2 vs, v3, so yes you need the v2 process lua file
see https://github.com/systemed/tilemaker/commits/master/resources/process-openmaptiles.lua (breaking change was commit in december, alternatively you can use the older release version directly https://github.com/systemed/tilemaker/releases )