Page MenuHomePhabricator

proofreadpage_tests failing in TestIndexPageMappings
Closed, DuplicatePublic

Description

See https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/build/job/i73hujp7gqc77lfl?fullLog=true

There is always this error:

File "c:\projects\pywikibot-g4xqx\pywikibot\proofreadpage.py", line 709, in wrapper
         self._get_page_mappings()
File "c:\projects\pywikibot-g4xqx\pywikibot\proofreadpage.py", line 778, in _get_page_mappings % self)
ValueError: Missing class="qualityN prp-pagequality-N" or class="new" in: [[wikisource:en:Index:Popular Science Monthly Volume 1.djvu]].

Event Timeline

Xqt triaged this task as High priority.May 2 2018, 2:24 PM

This task and T181913 seem to be an upstream issue. MW is returning inconsistent results.

Dalba renamed this task from proofreadpage_tests failing in TestIndexPageMappings for py2.7.2 to proofreadpage_tests failing in TestIndexPageMappings.Jul 7 2018, 12:34 PM

I removed T191192 as subtask because this is not a 2.7 only issue. It may occur in any python version. See https://ci.appveyor.com/project/Ladsgroup/pywikibot-g4xqx/build/1.0.542 where the tests failed on 3.4.x, 3.5.x, and 3.6.x.

Change 444424 had a related patch set uploaded (by Dalba; owner: dalba):
[pywikibot/core@master] Skip TestIndexPageMappings and test_url_image

https://gerrit.wikimedia.org/r/444424

Change 444424 merged by jenkins-bot:
[pywikibot/core@master] Skip TestIndexPageMappings and test_url_image

https://gerrit.wikimedia.org/r/444424