Crash on optimization of Belgian Government COA

Bug #479669 reported by Janus on 2009-11-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Scour
Undecided
Unassigned

Bug Description

Revision 150 from bzr.

$ scour < Coats_of_arms_of_Belgium_Government.svg > r.svg
scour 0.22
Copyright Jeff Schiller, 2009
Traceback (most recent call last):
  File "/home/janus/bin/scour", line 2414, in <module>
    out_string = scourString(in_string, options).encode("UTF-8")
  File "/home/janus/bin/scour", line 2205, in scourString
    while removeUnreferencedElements(doc) > 0:
  File "/home/janus/bin/scour", line 526, in removeUnreferencedElements
    referencedIDs = findReferencedElements(doc.documentElement)
  File "/home/janus/bin/scour", line 457, in findReferencedElements
    findReferencedElements(child, ids)
  File "/home/janus/bin/scour", line 457, in findReferencedElements
    findReferencedElements(child, ids)
  File "/home/janus/bin/scour", line 423, in findReferencedElements
    cssRules = parseCssString(node.firstChild.nodeValue)
AttributeError: 'NoneType' object has no attribute 'nodeValue'
$

codedread (codedread) wrote :

Thanks for the bug report - this fix has been pushed in r151 and will be part of 0.22

Changed in scour:
status: New → Fix Committed
codedread (codedread) on 2009-11-10
Changed in scour:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers