[Tile-serving] [openstreetmap/osm2pgsql] Flex backend: getting an "attempt to index global 'osm2pgsql'" error (#1183)

mboeringa notifications at github.com
Fri May 22 11:47:16 UTC 2020


> Can you post the output of `./osm2pgsql -V` and the exact command line parameters you're using?

@mmd-osm 

```
osm2pgsql version 1.2.0 (0.96.0-652-gd34b7a2)

Compiled using the following library versions:
Libosmium 2.15.5
Lua 5.1.4 (LuaJIT 2.1.0-beta3)
```

I now see the commit number is included in the osm2pgsql version, and that is the same as you mentioned (d34b7a2), so we are definitely on the same version.

`osm2pgsql -o flex -d <DATABASE_NAME> -U <USER_NAME> --tablespace-slim-data '<TABLESPACE_NAME>' --tablespace-slim-index '<TABLESPACE_NAME>' --create -W -l --slim --drop --flat-nodes '<NODE_FILE_PATH>' --style 'src/openstreetmap-carto/openstreetmap-carto.style' --tag-transform-script 'src/openstreetmap-carto/openstreetmap-carto.lua' 'data/new-york-latest.osm.pbf' -C 0`



-- 
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/issues/1183#issuecomment-632650915
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200522/cf0bbba5/attachment.htm>


More information about the Tile-serving mailing list