← Back to team overview

registry team mailing list archive

[Bug 512251] Re: [Lucid Xubuntu] lshw corrupt lastmountpoint

 

Can we get a backport please? It causes problems with python parsing of
"sudo lshw -xml":

Traceback (most recent call last):
  File "test.py", line 203, in <module>
    main()
  File "test.py", line 200, in main
    core()
  File "test.py", line 78, in __init__
    self.lshw()
  File "test.py", line 153, in lshw
    doc = xml.dom.minidom.parseString(self.lshwxml)
  File "/usr/lib/python2.6/xml/dom/minidom.py", line 1928, in parseString
    return expatbuilder.parseString(string)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 940, in parseString
    return builder.parseString(string)
  File "/usr/lib/python2.6/xml/dom/expatbuilder.py", line 223, in parseString
    parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 943, column 61

Line #943 matches a lastmountpoint line

-- 
[Lucid Xubuntu] lshw corrupt lastmountpoint
https://bugs.launchpad.net/bugs/512251
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for lshw.