Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempt to call global 'Find' (a nil value) #683

Open
lairdresearch opened this issue Feb 20, 2024 · 1 comment
Open

attempt to call global 'Find' (a nil value) #683

lairdresearch opened this issue Feb 20, 2024 · 1 comment

Comments

@lairdresearch
Copy link

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?

@geoneutrino
Copy link

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 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants