crashes and would not convert the file.

Bug #1128461 reported by swan
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed

Bug Description

This is the screen output:
$ time python -i loc.svg -o loc1.svg --enable-comment-stripping --enable-id-stripping --remove-metadata --shorten-ids --strip-xml-prolog
scour 0.26
Copyright Jeff Schiller, Louis Simard, 2010
Traceback (most recent call last):
  File "", line 3183, in <module>
    out_string = scourString(in_string, options).encode("UTF-8")
  File "", line 2952, in scourString
    cleanPolygon(polygon, options)
  File "", line 2164, in cleanPolygon
    pts = parseListOfPoints(elem.getAttribute('points'))
  File "", line 2136, in parseListOfPoints
    prev = nums[len(nums)-1]
IndexError: list index out of range

real 0m14.911s
user 0m14.609s
sys 0m0.080s

Revision history for this message
swan (eleonora46) wrote :
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced with scour 0.26.
Not reproduced with scour revision 216.

Apparently a duplicate of Bug #804238 "scour fails on some polygons/polylines".

Changed in scour:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.