Skip to content

Instantly share code, notes, and snippets.

@dellsystem
Created June 14, 2012 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dellsystem/4cfae474ac8a9453a444 to your computer and use it in GitHub Desktop.
Save dellsystem/4cfae474ac8a9453a444 to your computer and use it in GitHub Desktop.
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