[Pywikipedia-bugs] [Maniphest] [Closed] T73971: site_tests test_image_usage_in_redirect timeout error after maximum retries

2022-10-12 Thread Xqt
Xqt closed this task as "Resolved". Xqt added a comment. Haven’t seen this issue for a long time TASK DETAIL https://phabricator.wikimedia.org/T73971 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, Legoktm, jayvdb, valhallas

[Pywikipedia-bugs] [Maniphest] [Closed] T75539: Unhandled API login error codes

2022-10-12 Thread Xqt
Xqt closed this task as "Resolved". Xqt claimed this task. Xqt added a comment. Seems this task is no longer valid TASK DETAIL https://phabricator.wikimedia.org/T75539 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, jayvdb, MZMcBride,

[Pywikipedia-bugs] [Maniphest] [Unassigned] T75539: Unhandled API login error codes

2022-10-12 Thread Xqt
Xqt removed Xqt as the assignee of this task. TASK DETAIL https://phabricator.wikimedia.org/T75539 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, jayvdb, MZMcBride, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkst

[Pywikipedia-bugs] [Maniphest] [Edited] T89451: Reducing complexity of the Family class

2022-10-12 Thread Xqt
Xqt updated the task description. TASK DETAIL https://phabricator.wikimedia.org/T89451 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: zhuyifei1999, Ricordisamoa, gerritbot, Omegat, jayvdb, pywikibot-bugs-list, Aklapper, XZise, PotsdamLamb, J

[Pywikipedia-bugs] [Maniphest] [Updated] T130516: needs_version decorator

2022-10-12 Thread Maintenance_bot
Maintenance_bot removed a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T130516 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Maintenance_bot Cc: Xqt, Aklapper, jayvdb, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonL

[Pywikipedia-bugs] [Maniphest] [Commented On] T130516: needs_version decorator

2022-10-12 Thread gerritbot
gerritbot added a comment. Change 582299 **restored** by Xqt: [pywikibot/core@master] [tests] decorate MW version https://gerrit.wikimedia.org/r/582299 TASK DETAIL https://phabricator.wikimedia.org/T130516 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailp

[Pywikipedia-bugs] [Maniphest] [Updated] T130516: needs_version decorator

2022-10-12 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T130516 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Xqt, Aklapper, jayvdb, pywikibot-bugs-list, Jersione, Hellket777, LisafBia6531, 786, Bigg

[Pywikipedia-bugs] [Maniphest] [Started] T130516: needs_version decorator

2022-10-12 Thread Xqt
Xqt reopened this task as "In Progress". Xqt claimed this task. TASK DETAIL https://phabricator.wikimedia.org/T130516 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, jayvdb, pywikibot-bugs-list, Jersione, Hellket777, LisafBia65

[Pywikipedia-bugs] [Maniphest] [Commented On] T320590: WikidataSPARQLPageGenerator Swallows Failures

2022-10-12 Thread Xqt
Xqt added a comment. @BrokenSegue: What is your requests version? TASK DETAIL https://phabricator.wikimedia.org/T320590 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, Aklapper, BrokenSegue, pywikibot-bugs-list, PotsdamLamb, Jyoo1011,

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T315045: Wrong permissions on created .pywikibot folder

2022-10-12 Thread Xqt
Xqt added a subscriber: Urbanecm. Xqt added a comment. Restricted Application removed a subscriber: Urbanecm. @Urbanecm: As you committed rPWBC049cd8a7 due to T206385

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T315045: Wrong permissions on created .pywikibot folder

2022-10-12 Thread Urbanecm
Urbanecm edited subscribers, added: Urbanecm; removed: Urbanecm_WMF. Urbanecm added a comment. Hi, I think it is appropriate to set +x for directories (for those, it means "can be cd'ed into"). My concern in T206385 was only for files, and I didn't

[Pywikipedia-bugs] [Maniphest] [Triaged] T320530: pwb error not found but exact match

2022-10-12 Thread Xqt
Xqt triaged this task as "High" priority. Xqt added a comment. Got it: The `_pwb` root of the site_package is shown in `PYWIKIBOT_DIR_PWB`. Unfortuntely `pwb.find_filename.test_path()` splits the path at the '.' sign here. Thats ok for the (user_)?script_paths but not for the root. TASK DETA

[Pywikipedia-bugs] [Maniphest] [Started] T320530: pwb error not found but exact match

2022-10-12 Thread Xqt
Xqt claimed this task. Xqt changed the task status from "Open" to "In Progress". TASK DETAIL https://phabricator.wikimedia.org/T320530 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Xqt, RoySmith, Aklapper, pywikibot-bugs-list, JJMC89, Potsda

[Pywikipedia-bugs] [Maniphest] [Updated] T320625: Pywikibot documentation improvements

2022-10-12 Thread KBach
KBach added a project: Pywikibot-Documentation. Restricted Application added a subscriber: pywikibot-bugs-list. TASK DETAIL https://phabricator.wikimedia.org/T320625 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: KBach Cc: pywikibot-bugs-list, Aklapp

[Pywikipedia-bugs] [Maniphest] [Commented On] T320530: pwb error not found but exact match

2022-10-12 Thread gerritbot
gerritbot added a comment. Change 841902 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] [BUGFIX] Fix disolving script_paths for site-package https://gerrit.wikimedia.org/r/841902 TASK DETAIL https://phabricator.wikimedia.org/T320530 EMAIL PREFERENC

[Pywikipedia-bugs] [Maniphest] [Updated] T320530: pwb error not found but exact match

2022-10-12 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T320530 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt, gerritbot Cc: Xqt, RoySmith, Aklapper, pywikibot-bugs-list, JJMC89, Jersione, Hellket777, LisafBia

[Pywikipedia-bugs] [Maniphest] [Updated] T320625: Pywikibot documentation improvements

2022-10-12 Thread Maintenance_bot
Maintenance_bot added a project: Pywikibot. TASK DETAIL https://phabricator.wikimedia.org/T320625 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: KBach, Maintenance_bot Cc: pywikibot-bugs-list, Aklapper, KBach, Maberdour, PotsdamLamb, Jyoo1011, Johns

[Pywikipedia-bugs] [Maniphest] [Commented On] T320530: pwb error not found but exact match

2022-10-12 Thread Xqt
Xqt added a comment. I fixed the script_path for site-package. You can create and install a local site-package by make_dist -local -upgrade To cleanup distribution files after installation you may use make_dist -nodist -clean https://doc.wikimedia.org/pywikibot/stable/

[Pywikipedia-bugs] [Maniphest] [Updated] T312992: Assess Pywikibot docs collection

2022-10-12 Thread Xqt
Xqt added a subtask: T320625: Pywikibot documentation improvements. TASK DETAIL https://phabricator.wikimedia.org/T312992 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: KBach, Xqt Cc: Xqt, srishakatux, pywikibot-bugs-list, Aklapper, TBurmeister, Pots

[Pywikipedia-bugs] [Maniphest] [Updated] T320625: Pywikibot documentation improvements

2022-10-12 Thread Xqt
Xqt added a parent task: T312992: Assess Pywikibot docs collection. TASK DETAIL https://phabricator.wikimedia.org/T320625 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: KBach, Xqt Cc: pywikibot-bugs-list, Aklapper, KBach, Maberdour, PotsdamLamb, Jyoo

[Pywikipedia-bugs] [Maniphest] [Commented On] T320530: pwb error not found but exact match

2022-10-12 Thread RoySmith
RoySmith added a comment. I have taken myself off the gerrit review list, as I'm not familiar enough with the code base to give useful input on this change. TASK DETAIL https://phabricator.wikimedia.org/T320530 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailprefe

[Pywikipedia-bugs] [Maniphest] [Commented On] T315045: Wrong permissions on created .pywikibot folder

2022-10-12 Thread RoySmith
RoySmith added a comment. @Urbanecm My understanding of +x for directories is that it it allows the directory to be used as part of a pathname (i.e. translating the path into an inode). Which effectively means you can't access the files in it. The fact that you can't cd into a directory i

[Pywikipedia-bugs] [Maniphest] [Created] T320637: version info for a site-package instsallation looks incomplete

2022-10-12 Thread Xqt
Xqt created this task. Xqt added a project: Pywikibot. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION **Steps to replicate the issue**: run `pwb version` from a site-package **What happens?**: The version info looks incomplete: Pyw

[Pywikipedia-bugs] [Maniphest] [Triaged] T320637: version info for a site-package instsallation looks incomplete

2022-10-12 Thread Xqt
Xqt triaged this task as "Low" priority. TASK DETAIL https://phabricator.wikimedia.org/T320637 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck,

[Pywikipedia-bugs] [Maniphest] [Commented On] T320590: WikidataSPARQLPageGenerator Swallows Failures

2022-10-12 Thread BrokenSegue
BrokenSegue added a comment. I am using requests version "2.28.1". And unfortunately your solution doesn't work. That retry only happens if the HTTP request times out. But often when using wikidata's SPARQL the server itself times out and returns non-JSON as its response. This causes the

[Pywikipedia-bugs] [Maniphest] [Retitled] T320637: version info for a site-package installation looks incomplete

2022-10-12 Thread Xqt
Xqt renamed this task from "version info for a site-package instsallation looks incomplete" to "version info for a site-package installation looks incomplete". TASK DETAIL https://phabricator.wikimedia.org/T320637 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailprefer

[Pywikipedia-bugs] [Maniphest] [Commented On] T320590: WikidataSPARQLPageGenerator Swallows Failures

2022-10-12 Thread Xqt
Xqt added a comment. @BrokenSegue: ah, that means the Timeout isn't raised in such case. Can you give me your `timeoutQuery` example to find a solution for such 500 status response. TASK DETAIL https://phabricator.wikimedia.org/T320590 EMAIL PREFERENCES https://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Commented On] T320590: WikidataSPARQLPageGenerator Swallows Failures

2022-10-12 Thread BrokenSegue
BrokenSegue added a comment. sure. here's a query that reliably times out: SELECT distinct ?item WHERE { VALUES ?goodRanks { wikibase:NormalRank wikibase:PreferredRank } ?item p:P856 ?url. ?url wikibase:rank ?goodRanks. # don't look at dead urls FILT

[Pywikipedia-bugs] [Maniphest] [Commented On] T315045: Wrong permissions on created .pywikibot folder

2022-10-12 Thread gerritbot
gerritbot added a comment. Change 841875 had a related patch set uploaded (by Xqt; author: Xqt): [pywikibot/core@master] Revert "Change default file mode for private files to 600" https://gerrit.wikimedia.org/r/841875 TASK DETAIL https://phabricator.wikimedia.org/T315045 EMAIL PR

[Pywikipedia-bugs] [Maniphest] [Updated] T315045: Wrong permissions on created .pywikibot folder

2022-10-12 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAIL https://phabricator.wikimedia.org/T315045 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: gerritbot Cc: Urbanecm, RoySmith, Framawiki, Xqt, Aklapper, Platonides, pywikibot-bugs-list, Jersione,

[Pywikipedia-bugs] [Maniphest] [Updated] T206385: Pywikibot sets non-executable file's mode to 700

2022-10-12 Thread Xqt
Xqt added a comment. Reopended after the proposed revert of rPWBC049cd8a7 , Maybe the changed must be done on other places like tools or when saving those files. TASK DETAIL https://phabricator.wikimedia.org

[Pywikipedia-bugs] [Maniphest] [Reopened] T206385: Pywikibot sets non-executable file's mode to 700

2022-10-12 Thread Xqt
Xqt reopened this task as "Open". TASK DETAIL https://phabricator.wikimedia.org/T206385 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Urbanecm, Xqt Cc: Xqt, RoySmith, Framawiki, gerritbot, Aklapper, pywikibot-bugs-list, Urbanecm, PotsdamLamb, Jyoo1

[Pywikipedia-bugs] [Maniphest] [Block] T178061: Reduce (API) warning clutter in login.py after clean installation

2022-10-12 Thread Xqt
Xqt reopened subtask T206385: Pywikibot sets non-executable file's mode to 700 as "Open". TASK DETAIL https://phabricator.wikimedia.org/T178061 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Stang, Kizule, Xqt, Aklapper, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Updated] T206385: Pywikibot sets non-executable file's mode to 700

2022-10-12 Thread Xqt
Xqt added a subtask: T315045: Wrong permissions on created .pywikibot folder. TASK DETAIL https://phabricator.wikimedia.org/T206385 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Urbanecm, Xqt Cc: Xqt, RoySmith, Framawiki, gerritbot, Aklapper, pywiki

[Pywikipedia-bugs] [Maniphest] [Updated] T315045: Wrong permissions on created .pywikibot folder

2022-10-12 Thread Xqt
Xqt added a parent task: T206385: Pywikibot sets non-executable file's mode to 700. TASK DETAIL https://phabricator.wikimedia.org/T315045 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Xqt Cc: Urbanecm, RoySmith, Framawiki, Xqt, Aklapper, Platonides

[Pywikipedia-bugs] [Maniphest] [Commented On] T320590: WikidataSPARQLPageGenerator Swallows Failures

2022-10-12 Thread Xqt
Xqt added a comment. Wasn't able to reproduce the response 500 issue. The Timeout was raised for me (after max_retries tries): WARNING: Waiting 20 seconds before retrying. ... Traceback (most recent call last): File "D:\pwb\GIT\core\pywikibot\data\sparql.py", line 151, in

[Pywikipedia-bugs] [Maniphest] [Commented On] T320590: WikidataSPARQLPageGenerator Swallows Failures

2022-10-12 Thread BrokenSegue
BrokenSegue added a comment. That's probably because you have your timeout in `user-config.py` is too low. The default value probably also is too low. If you set socket_timeout = 240 then you get the behavior I described. I tried commenting that line out in my config and I got wha