Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45528 - glsa-check fails with a "glsa.GlsaTypeException"
Summary: glsa-check fails with a "glsa.GlsaTypeException"
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-03-23 12:05 UTC by Chris Durbin
Modified: 2004-03-31 23:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Durbin 2004-03-23 12:05:12 UTC
running glsa-check fails with the error:

Traceback (most recent call last):
  File "/usr/bin/glsa-check", line 152, in ?
    myglsa = Glsa(myid, glsaconfig)
  File "/usr/lib/gentoolkit/pym/glsa.py", line 326, in __init__
    self.read()
  File "/usr/lib/gentoolkit/pym/glsa.py", line 341, in read
    self.parse(urllib.urlopen(myurl))
  File "/usr/lib/gentoolkit/pym/glsa.py", line 359, in parse
    raise GlsaTypeException(self.DOM.doctype.systemId)
glsa.GlsaTypeException: wrong DOCTYPE: http://www.gentoo.org/dtd/glsa-old.dtd

when running "glsa-check -p(-f) all(new)"
Comment 1 Sascha Silbe 2004-03-23 14:05:33 UTC
Same here:

=== Begin ===
root@cube:~# glsa-check -p new
WARNING: This tool is completely new and not very tested, so it should not be
used on production systems. It's mainly a test tool for the new GLSA release
and distribution system, it's functionality will later be merged into emerge
and equery.
Please read http://www.gentoo.org/proj/en/portage/glsa-integration.xml
before using this tool AND before reporting a bug.

Traceback (most recent call last):
  File "/usr/bin/glsa-check", line 152, in ?
    myglsa = Glsa(myid, glsaconfig)
  File "/usr/lib/gentoolkit/pym/glsa.py", line 326, in __init__
    self.read()
  File "/usr/lib/gentoolkit/pym/glsa.py", line 341, in read
    self.parse(urllib.urlopen(myurl))
  File "/usr/lib/gentoolkit/pym/glsa.py", line 359, in parse
    raise GlsaTypeException(self.DOM.doctype.systemId)
glsa.GlsaTypeException: wrong DOCTYPE: http://www.gentoo.org/dtd/glsa-old.dtd
=== End ===


Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-03-23 20:38:33 UTC
Ah, I was afraid I missed the DTD check for one case :(
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-03-31 23:46:56 UTC
pre8 is in CVS now