nominatim-docker icon indicating copy to clipboard operation
nominatim-docker copied to clipboard

ERROR: No Data during build

Open Cloudmersive opened this issue 5 years ago • 1 comments

osm2pgsql version 0.96.0 (64 bit id space)

Allocating memory for dense node cache Allocating dense node cache in one big chunk Allocating memory for sparse node cache Sharing dense sparse Node-cache: cache=12000MB, maxblocks=192000*65536, allocation method=11 Mid: pgsql, cache=12000 Setting up table: planet_osm_nodes Setting up table: planet_osm_ways Setting up table: planet_osm_rels Parsing gazetteer style file '/srv/nominatim/Nominatim/settings/import-full.style'. Using projection SRS 4326 (Latlong) NOTICE: table "place" does not exist, skipping

Reading in file: /srv/nominatim/src/data.osm.pbf Using PBF parser. Processing: Node(358820k 707.7k/s) Way(0k 0.00k/s) Relation(0 0.00/s)string(7) "No Data" ERROR: No Data The command '/bin/sh -c service postgresql start && sudo -u nominatim ${USERHOME}/Nominatim/build/utils/setup.php --osm-file /srv/nominatim/src/data.osm.pbf --all --threads ${BUILD_THREADS} --osm2pgsql-cache ${OSM2PGSQL_CACHE} && service postgresql stop' returned a non-zero code: 255

Cloudmersive avatar Jun 15 '19 20:06 Cloudmersive

Even with 128GB of RAM I am getting this error:

Removing intermediate container 73a43611068b ---> 4ac1a37d37c5 Step 49/68 : RUN service postgresql start && sudo -u nominatim ${USERHOME}/Nominatim/build/utils/setup.php --osm-file /srv/nominatim/src/data.osm.pbf --all --threads ${BUILD_THREADS} --osm2pgsql-cache ${OSM2PGSQL_CACHE} && service postgresql stop ---> Running in a3414236a884

  • Starting PostgreSQL 9.6 database server ...done. 2019-06-16 05:17:24 == module path: /srv/nominatim/Nominatim/build/module 2019-06-16 05:17:24 == Create DB 2019-06-16 05:17:24 == Setup DB Postgres version found: 9.06 Postgis version found: 2.5 2019-06-16 05:17:27 == WARNING: optional external UK postcode table file (/srv/nominatim/Nominatim/data/gb_postcode_data.sql.gz) not found. Skipping. 2019-06-16 05:17:27 == Import data osm2pgsql version 0.96.0 (64 bit id space)

Allocating memory for dense node cache Allocating dense node cache in one big chunk Allocating memory for sparse node cache Sharing dense sparse Node-cache: cache=60000MB, maxblocks=960000*65536, allocation method=11 Mid: pgsql, cache=60000 Setting up table: planet_osm_nodes Setting up table: planet_osm_ways Setting up table: planet_osm_rels Parsing gazetteer style file '/srv/nominatim/Nominatim/settings/import-full.style'. Using projection SRS 4326 (Latlong) NOTICE: table "place" does not exist, skipping

Reading in file: /srv/nominatim/src/data.osm.pbf Using PBF parser. Processing: Node(3416720k 1998.1k/s) Way(0k 0.00k/s) Relation(0 0.00/s)ERROR: No Data string(7) "No Data" The command '/bin/sh -c service postgresql start && sudo -u nominatim ${USERHOME}/Nominatim/build/utils/setup.php --osm-file /srv/nominatim/src/data.osm.pbf --all --threads ${BUILD_THREADS} --osm2pgsql-cache ${OSM2PGSQL_CACHE} && service postgresql stop' returned a non-zero code: 255 adm101@buildslave:~/nsfw/geocode$

Cloudmersive avatar Jun 16 '19 05:06 Cloudmersive