Crash on optimization of Belgian Government COA

Bug #479669 reported by Janus
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

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'

Revision history for this message
Janus (ysangkok+launchpad) wrote :
Revision history for this message
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)
Changed in scour:
status: Fix Committed → Fix Released
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.