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

Duplicate values on display_name attribute.

1

Hi. I'm trying to apply with osmosis the day diff #1726 to my osm apidb, but I got this error: 'duplicate key value violates unique constraint "users_display_name_idx"'. This happens because, apparently, two users (whose ids are 6115593 and 4518891) have the same display_name ("Андрей Б"), but this should not be possible, according to the current osm apidb schema. How could this happen on OSM? What should I do in order to address this issue?

asked 08 Jun '17, 11:15

ardean80's gravatar image

ardean80
26114
accept rate: 0%

edited 08 Jun '17, 13:25

The display_names are not identical: 6115593 is "Андрей Б" and 4518891 is "Андрей Б ". The latter has a trailing space.

(11 Jun '17, 20:12) dsh4
1

No, they were identical. The older one has been changed with a trailing space, as a fix, after I opened the same issue on github ( https://github.com/openstreetmap/openstreetmap-website/issues/1560 ).

(11 Jun '17, 22:19) ardean80

Source code available on GitHub .