Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jperelli opened this issue Jun 18, 2019 · 0 comments
Open

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

jperelli opened this issue Jun 18, 2019 · 0 comments

Comments

@jperelli
Copy link
Member

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
    ']
]
@jperelli jperelli changed the title Error in data, multiple recorridos per osm_id Error in data, multiple recorridos per osm_id (60+ errors per day) Jun 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant