Create a gist now

Instantly share code, notes, and snippets.

@dellsystem /etc.py Secret
Created Jun 14, 2012

Find staff polygons stack trace
Task rodan.jobs.staff_polygons_find.find_staves_polygons[d988d561-a3a5-434d-a432-70b35d59963e] raised exception: IndexError('list index out of range',)Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/celery/execute/trace.py", line 181, in trace
_task
R = retval = fun(*args, **kwargs)
File "/home/wliu/rodan_source/rodan/jobs/utils.py", line 49, in real_inner
outputs = f(*input_paths, **kwargs)
File "/home/wliu/rodan_source/rodan/jobs/staff_polygons_find.py", line 35, in find_staves_polygons
poly_list = utils.fix_poly_point_list(poly_list, staff_finder.staffspace_height)
File "/home/wliu/rodan_source/rodan/jobs/utils.py", line 183, in fix_poly_point_list
y_pix_diff = vert.x - innerline.vertices[k].x
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment