[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2023-12-03 Thread gerritbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2023-12-03 Thread gerritbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2023-05-04 Thread Xqt
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2022-03-29 Thread gerritbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2022-03-29 Thread gerritbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2022-03-28 Thread gerritbot
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.

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2022-03-07 Thread gerritbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2018-07-07 Thread gerritbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2018-07-07 Thread gerritbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2018-01-20 Thread Dalba
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2017-12-11 Thread gerritbot
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/

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2017-12-11 Thread gerritbot
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

[Pywikipedia-bugs] [Maniphest] [Commented On] T181913: test_url_image (tests.proofreadpage_tests.TestProofreadPageValidSite) sometimes fails

2017-12-02 Thread Dalba
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