This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Nominatim: Resuming Indexing Processing Returned Error for Rank 22

0

Hi everyone,

I ran out of disk space on my Compute Engine VM instance whilst it was in the process of doing rank 30. So when I increased the disk space, and then promptly re-ran the indexing process from where it left off, I got a Keyboard Interrupt traceback midway through, on rank 22. Is it safe to ignore this?

WARNING: Starting rank 22
Traceback (most recent call last):
  File "/srv/nominatim/Nominatim-3.5.1/nominatim/nominatim.py", line 370, in <module>
    Indexer(options).run()
  File "/srv/nominatim/Nominatim-3.5.1/nominatim/nominatim.py", line 210, in run
    self.index(RankRunner(rank))
  File "/srv/nominatim/Nominatim-3.5.1/nominatim/nominatim.py", line 227, in index
    for r in cur:
  File "/usr/lib/python3.6/encodings/utf_8.py", line 15, in decode
    def decode(input, errors='strict'):
KeyboardInterrupt
WARNING: Done 0/0 in 14 @ 0.000 per second - FINISHED rank 22
WARNING: Starting rank 23
WARNING: Done 0/0 in 0 @ 0.000 per second - FINISHED rank 23
WARNING: Starting rank 24
WARNING: Done 0/0 in 1 @ 0.000 per second - FINISHED rank 24
WARNING: Starting rank 25
WARNING: Done 0/0 in 0 @ 0.000 per second - FINISHED rank 25

asked 17 Sep '20, 20:13

rirhun's gravatar image

rirhun
26559
accept rate: 0%

edited 17 Sep '20, 20:15


One Answer:

1

The reindex looks for records in the placex table having indexed_status > 0 (because 0 means it was already indexed). Since rank 23, 24, 25 all show 'Done 0/0' (no places found) I'm sure rank 22 also had no places. So that's fine.

answered 17 Sep '20, 20:31

mtmail's gravatar image

mtmail
4.8k1574
accept rate: 27%

Source code available on GitHub .