[Pywikipedia-bugs] [Maniphest] [Commented On] T107141: SectionError exception nowhere raised

2024-05-09 Thread Xqt
Xqt added a comment. I guess this should be done in ‘loadrevisions‘ where NoPageError is raised too. TASK DETAIL https://phabricator.wikimedia.org/T107141 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper,

[Pywikipedia-bugs] [Maniphest] [Triaged] T364275: Pywikibot does not continue after timeout

2024-05-09 Thread Xqt
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T364275 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, pywikibot-bugs-list, JAnD, mevo, Isabelladantes1983, Themindcoder, Adamm71,

[Pywikipedia-bugs] [Maniphest] [Claimed] T364275: Pywikibot does not continue after timeout

2024-05-09 Thread Xqt
Xqt claimed this task. Xqt added a comment. The problem is similar to T364393 . TASK DETAIL https://phabricator.wikimedia.org/T364275 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt,

[Pywikipedia-bugs] [Maniphest] [Updated] T364275: Pywikibot does not continue after timeout

2024-05-09 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T364275 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Xqt, Aklapper, pywikibot-bugs-list, JAnD, mevo, Isabelladantes1983, Themindcoder,

[Pywikipedia-bugs] [Maniphest] [Commented On] T364275: Pywikibot does not continue after timeout

2024-05-09 Thread gerritbot
gerritbot added a comment. Change #1029487 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [fix] retry api request on ServerError https://gerrit.wikimedia.org/r/1029487 TASK DETAIL https://phabricator.wikimedia.org/T364275 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-09 Thread Xqt
Xqt added a comment. > I think so. But can we handle the timeouts in pw? As the other erros from API are handled with incremental delays and retry. We can only increase the socket_timeout value for real timeout exceptions. [1] Maybe within exception handling callback in http module. [3]

[Pywikipedia-bugs] [Maniphest] [Commented On] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-09 Thread Masti
Masti added a comment. In T364393#9783360 , @Xqt wrote: > @Masti: I assumed the -start:! tested it on several wikis but didn’t run into this issue. I made a patch and both server errors should lead to retry loops. > > I still think

[Pywikipedia-bugs] [Maniphest] [Commented On] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-09 Thread Xqt
Xqt added a comment. @Masti: I assumed the -start:! tested it on several wikis but didn’t run into this issue. I made a patch and both server errors should lead to retry loops. I still think this has something to do with the database conversion of MW 1.43: some api requests are very

[Pywikipedia-bugs] [Maniphest] [Commented On] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-09 Thread Masti
Masti added a comment. In T364393#9782642 , @Xqt wrote: > @Masti: What was your pagegenerator option when running your script? -start:'!' this and similar scripts sometimes run OK. but crash from time to time. BTW:

[Pywikipedia-bugs] [Maniphest] [Triaged] T349269: commons_information.py Help Message Does not Contain Enough Information

2024-05-09 Thread Xqt
Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T349269 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Rubin16, Ricordisamoa, Aklapper, pywikibot-bugs-list, Enag2000, mevo, PotsdamLamb, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Commented On] T349269: commons_information.py Help Message Does not Contain Enough Information

2024-05-09 Thread Xqt
Xqt added a comment. @Ricordisamoa: can you update the bot's documentation? TASK DETAIL https://phabricator.wikimedia.org/T349269 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Rubin16, Ricordisamoa, Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Claimed] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-09 Thread Xqt
Xqt claimed this task. Xqt triaged this task as "High" priority. TASK DETAIL https://phabricator.wikimedia.org/T364393 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: JJMC89, matej_suchanek, Xqt, Aklapper, Masti, pywikibot-bugs-list, mevo,

[Pywikipedia-bugs] [Maniphest] [Updated] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-09 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T364393 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: JJMC89, matej_suchanek, Xqt, Aklapper, Masti, pywikibot-bugs-list, mevo,

[Pywikipedia-bugs] [Maniphest] [Commented On] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-09 Thread gerritbot
gerritbot added a comment. Change #1029487 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [fix] retry api request on ServerError https://gerrit.wikimedia.org/r/1029487 TASK DETAIL https://phabricator.wikimedia.org/T364393 EMAIL PREFERENCES

[Pywikipedia-bugs] [Maniphest] [Commented On] T364393: pywikibot does not handle properly 502 Server Error reading pages

2024-05-09 Thread Xqt
Xqt added a comment. @Masti: What was your pagegenerator option when running your script? TASK DETAIL https://phabricator.wikimedia.org/T364393 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: JJMC89, matej_suchanek, Xqt, Aklapper, Masti,