Skip to content

Error in data, multiple recorridos per osm_id (60+ errors per day) #152

@jperelli

Description

@jperelli

sentry issue
https://sentry.cualbondi.com.ar/sentry/web/issues/1323/?query=is:unresolved

investigation in production shell_plus

[[f'{r2.id}:{r2.osm_id}: {r2.linea.nombre} // {r2.nombre}' for r2 in Recorrido.objects.filter(osm_id=r['osm_id'])] for r in Recorrido.objects.values('osm_id').annotate(c=Count('osm_id')).filter(c__gt=1)]

results in these recorridos which have the same osm_id. Anyone of these are going to return 500 in cualbondi static site

[
    [
        '205:3004277: 10 // unico',
        '206:3004277: 10 // unico'
    ],
    [
        '207:3004297: 11 // unico',
        '208:3004297: 11 // unico'
    ],
    [
        '209:3004540: 13 // unico',
        '210:3004540: 13 // unico'
    ],
    [
        '211:3004869: 14 // unico',
        '212:3004869: 14 // unico'
    ],
    [
        '213:3687407: 16 // unico',
        '214:3687407: 16 // unico'
    ],
    [
        '215:3687459: 18 // unico',
        '216:3687459: 18 // unico'
    ],
    [
        '199:3004802: 4 // unico',
        '200:3004802: 4 // unico'
    ],
    [
        '201:2996292: 5 // unico',
        '202:2996292: 5 // unico'
    ],
    [
        '1311:1159514: 517 // troncal',
        '2635:1159514: 517 // troncal'
    ],
    [
        '203:2998242: 8 // unica',
        '204:2998242: 8 // unica'
    ],
    [
        '1332:2653155: Corredor 5 // A',
        '1353:2653155: Corredor 5 // A
    ']
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions