Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#60556 - [arch-wiki-lite] fails to build
Attached to Project:
Community Packages
Opened by Erich Eckner (deepthought) - Tuesday, 23 October 2018, 09:56 GMT
Last edited by Kyle Keen (keenerd) - Tuesday, 13 November 2018, 04:22 GMT
Opened by Erich Eckner (deepthought) - Tuesday, 23 October 2018, 09:56 GMT
Last edited by Kyle Keen (keenerd) - Tuesday, 13 November 2018, 04:22 GMT
|
DetailsDescription:
extra-x86_64-build fails with: error parsing /usr/share/doc/arch-wiki/html/nl/Category:Database_management_systems.html Traceback (most recent call last): File "wiki_lite.py", line 183, in <module> main() File "wiki_lite.py", line 158, in main text = html_to_text(html) File "wiki_lite.py", line 121, in html_to_text return remove_escapes(remove_tags(html)) File "wiki_lite.py", line 102, in remove_tags html = body.findall(html)[0] IndexError: list index out of range Additional info: * package version(s) arch-wiki-lite 20170410-1 (git revision b3cf0160763bd7cfa6581460907cd4ee3191bb83) * config and/or log files etc. full log is attached Steps to reproduce: > git checkout b3cf0160763bd7cfa6581460907cd4ee3191bb83 > cd arch-wiki-lite/repos/community-any > extra-x86_64-build |
This task depends upon
Closed by Kyle Keen (keenerd)
Tuesday, 13 November 2018, 04:22 GMT
Reason for closing: Fixed
Additional comments about closing: arch-wiki-lite 20181022-1
Tuesday, 13 November 2018, 04:22 GMT
Reason for closing: Fixed
Additional comments about closing: arch-wiki-lite 20181022-1
log.x86_64
body = re.compile('^<body class="mediawiki.*?<li id="copyright">', flags)
to
body = re.compile('^<body class="mediawiki.*?<li id="footer-info-copyright">', flags)
resolves the issue of the regular expression returning an empty list. Was the formatting of the wiki changed?
Appears to be an upstream bug.