[Geocoding] Error importing osm file, index_placex: UPDATE failed: ERROR: upper bound of FOR loop cannot be null]
Sarah Hoffmann
lonvia at denofr.de
Fri Jun 29 10:56:57 BST 2012
This was meant to go to the list...
----- Forwarded message from Sarah Hoffmann <lonvia at denofr.de> -----
Hi Adrian,
On Fri, Jun 29, 2012 at 11:22:12AM +0200, Adrian Chapela wrote:
> I am folling instructions of:
> http://wiki.openstreetmap.org/wiki/Nominatim/Installation
>
> At step ./utils/setup.php (importing database) the import never ends because it is sending the next error:
> index_placex: UPDATE failed: ERROR: upper bound of FOR loop cannot be null
> CONTEXT: PL/pgSQL function "get_osm_rel_members" line 6 at FOR with integer loop variable
> PL/pgSQL function "placex_update" line 312 at FOR over SELECT rows
>
> The problem is when setup.php execute the next:
> nominatim -i -d nominatim -t 3 -R 4
>
> I am using osm2pgsql 0.80 and osmosis 0.40.1
Your osm2pgsql is most likely too old. Try out the very latest version
of Nominatim from git. It comes bundled with the correct version of
osm2pgsql. Please note that the compilation instructions have changed
slightly. The wiki site has been updated.
Sarah
More information about the Geocoding
mailing list