Webchecker version 1.25.6.1 on Windows 2000
Professional.
Run webchecker with this argument
http://www.naleo.org/WSJArticle002.htm
Webchecker will return this traceback:
Traceback (most recent call last):
File "C:\Python22\Tools\webchecker\webchecker.py",
line 858, in ?
main()
File "C:\Python22\Tools\webchecker\webchecker.py",
line 222, in main
c.run()
File "C:\Python22\Tools\webchecker\webchecker.py",
line 349, in run
self.dopage(url)
File "C:\Python22\Tools\webchecker\webchecker.py",
line 403, in dopage
page = self.getpage(url_pair)
File "C:\Python22\Tools\webchecker\webchecker.py",
line 507, in getpage
return Page(text, url, maxpage=self.maxpage,
checker=self)
File "C:\Python22\Tools\webchecker\webchecker.py",
line 671, in __init__
self.parser.feed(self.text)
File "C:\Python22\lib\sgmllib.py", line 95, in feed
self.goahead(0)
File "C:\Python22\lib\sgmllib.py", line 161, in goahead
k = self.parse_declaration(i)
File "C:\Python22\lib\markupbase.py", line 66, in
parse_declaration
decltype, j = self._scan_name(j, i)
File "C:\Python22\lib\markupbase.py", line 313, in
_scan_name
self.error("expected name token")
File "C:\Python22\lib\sgmllib.py", line 102, in error
raise SGMLParseError(message)
sgmllib.SGMLParseError: expected name token
I believe this is because of the xml in the source code
(see WSJArticle002_source.txt attached to this bug
report).
Even if the code in this page is poorly formatted,
webchecker should be able continue checking other
links in this domain (rather than stopping). For example
webchecker could report “unable to check
http://www.naleo.org/WSJArticle002.htm” and return
traceback like the above, and then continue with the rest
of the domain.
|