Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
glsa-check broken ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
el muchacho
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2015
Posts: 78

PostPosted: Sat Jul 11, 2015 9:24 am    Post subject: glsa-check broken ? Reply with quote

Hi,

I run it everyday and today i'm having this Python error when running
Code:
glsa-check --test all


Code:
glsa-check --version
glsa-check (0.3.0.9-r2)
Author: Marius Mauch <genone@gentoo.org>
This program is licensed under the GPL, version


Code:

Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/glsa-check", line 336, in <module>
    myglsa = Glsa(myid, glsaconfig)
  File "/usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.py", line 505, in __init__
    self.read()
  File "/usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.py", line 523, in read
    self.parse(urlopen(myurl))
  File "/usr/lib64/python2.7/site-packages/gentoolkit/glsa/__init__.py", line 537, in parse
    self.DOM = xml.dom.minidom.parse(myfile)
  File "/usr/lib64/python2.7/xml/dom/minidom.py", line 1918, in parse
    return expatbuilder.parse(file)
  File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 928, in parse
    result = builder.parseFile(file)
  File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 207, in parseFile
    parser.Parse(buffer, 0)
xml.parsers.expat.ExpatError: mismatched tag: line 73, column 12


Any idea?

Thanks
H
Back to top
View user's profile Send private message
acmondor
n00b
n00b


Joined: 08 Aug 2014
Posts: 59
Location: Canadian Prairies

PostPosted: Sat Jul 11, 2015 2:56 pm    Post subject: Reply with quote

I encountered the same problem and traced the problem to the following file:

    /usr/portage/metadata/glsa/glsa-201507-14.xml

That xml file is incomplete. It looks like it got truncated somehow.

Anyway, if you remove that file or temporarily move it elsewhere you will see that glsa-check works as usual.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum