gerritbot added a comment.
Change 969516 **merged** by jenkins-bot:
[pywikibot/core@master] proofreadpage.py: fetch URL of page scan via API
https://gerrit.wikimedia.org/r/969516
TASK DETAIL
https://phabricator.wikimedia.org/T181913
EMAIL PREFERENCES
https://phabricator.wikimedi
gerritbot added a comment.
Change 969516 had a related patch set uploaded (by Mpaa; author: Mpaa):
[pywikibot/core@master] proofreadpage.py: fetch URL of page scan via API
https://gerrit.wikimedia.org/r/969516
TASK DETAIL
https://phabricator.wikimedia.org/T181913
EMAIL PREFERENCES
Xqt added a comment.
Test is skipped in such cases:
try:
url_image = soup.find(class_='prp-page-image')
# if None raises AttributeError
url_image = url_image.find('img')
# if None raises TypeError.
url_image = url_image['src']
except (TypeError
gerritbot added a comment.
Change 774867 **merged** by jenkins-bot:
[pywikibot/core@master] [tests] Skip failing proofreadtests
https://gerrit.wikimedia.org/r/774867
TASK DETAIL
https://phabricator.wikimedia.org/T181913
EMAIL PREFERENCES
https://phabricator.wikimedia.org/setting
gerritbot added a comment.
Change 774867 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] [tests] Skip failing proofreadtests
https://gerrit.wikimedia.org/r/774867
TASK DETAIL
https://phabricator.wikimedia.org/T181913
EMAIL PREFERENCES
https://phab
gerritbot added a comment.
Change 768164 **merged** by Xqt:
[pywikibot/core@master] Revert "Skip TestIndexPageMappings and test_url_image"
https://gerrit.wikimedia.org/r/768164
TASK DETAIL
https://phabricator.wikimedia.org/T181913
EMAIL PREFERENCES
https://phabricator.wikimedia.
gerritbot added a comment.
Change 768164 had a related patch set uploaded (by Xqt; author: Xqt):
[pywikibot/core@master] Revert "Skip TestIndexPageMappings and test_url_image"
https://gerrit.wikimedia.org/r/768164
TASK DETAIL
https://phabricator.wikimedia.org/T181913
EMAIL PREFERE
gerritbot added a comment.
Change 24 merged by jenkins-bot:
[pywikibot/core@master] Skip TestIndexPageMappings and test_url_image
https://gerrit.wikimedia.org/r/24TASK DETAILhttps://phabricator.wikimedia.org/T181913EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpref
gerritbot added a comment.
Change 24 had a related patch set uploaded (by Dalba; owner: dalba):
[pywikibot/core@master] Skip TestIndexPageMappings and test_url_image
https://gerrit.wikimedia.org/r/24TASK DETAILhttps://phabricator.wikimedia.org/T181913EMAIL PREFERENCEShttps://phabricator.wi
Dalba added a comment.
The test still fails from time to time, the new traceback is:
https://travis-ci.org/wikimedia/pywikibot/jobs/331196015#L5369
==
ERROR: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite)
T
gerritbot added a comment.
Change 396917 merged by jenkins-bot:
[pywikibot/core@master] [bugfix] Catch AttributeError and raise the ValueError
https://gerrit.wikimedia.org/r/396917TASK DETAILhttps://phabricator.wikimedia.org/T181913EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/
gerritbot added a comment.
Change 396917 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [bugfix] Catch AttributeError and raise the ValueError
https://gerrit.wikimedia.org/r/396917TASK DETAILhttps://phabricator.wikimedia.org/T181913EMAIL PREFERENCEShttps://phabricat
Dalba added a comment.
I cannot reproduce it anymore. The strange thing is that running the following script on toolforge prints 100, while on my local computer prints 0.
import requests
error_count = 0
for i in range(100):
r = requests.get('https://en.wikisource.org/w/index.php?title=Page%3AP
13 matches
Mail list logo