[Pywikipedia-bugs] [Maniphest] [Updated] T160355: site_detect_tests fails with AttributeError in constructor of MWSite

2017-04-19 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T160355EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, valhallasw, Dalba, Aklapper, XZise, Xqt, pywikibot-bugs-list, Adik2382, Th3d3v1ls, Ramalepe

[Pywikipedia-bugs] [Maniphest] [Commented On] T160355: site_detect_tests fails with AttributeError in constructor of MWSite

2017-04-19 Thread gerritbot
gerritbot added a comment. Change 349156 had a related patch set uploaded (by Dalba): [pywikibot/core@master] site_detect.py: Check the response in _parse_post_117 for server errors https://gerrit.wikimedia.org/r/349156TASK DETAILhttps://phabricator.wikimedia.org/T160355EMAIL PREFERENCEShttps://ph

[Pywikipedia-bugs] [Maniphest] [Commented On] T160355: site_detect_tests fails with AttributeError in constructor of MWSite

2017-04-19 Thread Dalba
Dalba added a comment. private_wiki is not set because _parse_post_117 method is getting a server error status from the server and ignores it. We should check for server errors inside _parse_post_117, just the way we do in MWSite.__init__.TASK DETAILhttps://phabricator.wikimedia.org/T160355EMAIL PR

[Pywikipedia-bugs] [Maniphest] [Triaged] T132849: Fail gracefully on invalid user name

2017-04-19 Thread Framawiki
Framawiki triaged this task as "Low" priority. TASK DETAILhttps://phabricator.wikimedia.org/T132849EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FramawikiCc: APerson, Aklapper, pywikibot-bugs-list, Mdupont, Magul, Tbscho, MayS, JJMC89, Avicennasis, Sn1per, j

[Pywikipedia-bugs] [Maniphest] [Claimed] T123020: Add support for `ns` (namespace) parameter in `Page.move`

2017-04-19 Thread Framawiki
Framawiki claimed this task.Framawiki added a comment. I'll try to look at this.TASK DETAILhttps://phabricator.wikimedia.org/T123020EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FramawikiCc: Framawiki, jayvdb, Aklapper, StudiesWorld, pywikibot-bugs-list, Dal

[Pywikipedia-bugs] [Maniphest] [Commented On] T113193: Detect toollabs environment in pywikibot.version

2017-04-19 Thread Framawiki
Framawiki added a comment. It can be useful too to indicate if the script is running on an executer host or on the bastion.TASK DETAILhttps://phabricator.wikimedia.org/T113193EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FramawikiCc: Framawiki, Aklapper, pyw

[Pywikipedia-bugs] [Maniphest] [Triaged] T110411: login.py doesnt recognise * in config.usernames

2017-04-19 Thread Framawiki
Framawiki triaged this task as "High" priority.Framawiki added a comment. It can really be practical.TASK DETAILhttps://phabricator.wikimedia.org/T110411EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FramawikiCc: Framawiki, gerritbot, Dalba, Aklapper, jayvdb,

[Pywikipedia-bugs] [Maniphest] [Edited] T75534: missing language in family causes exception in Page.langlinks

2017-04-19 Thread Framawiki
Framawiki edited the task description. (Show Details) EDIT DETAILSOn en.wowwiki: ``` ERROR: testLinks (tests.page_tests.TestPageObject)...UnknownSite: Language nn does not exist in family wowwiki ``` --...TASK DETAILhttps://phabricator.wikimedia.org/T75534EMAIL PREFERENCESht

[Pywikipedia-bugs] [Maniphest] [Claimed] T132849: Fail gracefully on invalid user name

2017-04-19 Thread Framawiki
Framawiki claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T132849EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: FramawikiCc: APerson, Aklapper, pywikibot-bugs-list, Mdupont, Magul, Tbscho, MayS, JJMC89, Avicennasis, Sn1per, jayvdb, Dalba, Mast

[Pywikipedia-bugs] [Maniphest] [Updated] T163349: makecat.py fails under python 3: TypeError: can't concat bytes to str

2017-04-19 Thread Dalba
Dalba added a project: Pywikibot-core. TASK DETAILhttps://phabricator.wikimedia.org/T163349EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, Sn1per, jayvdb, Masti,

[Pywikipedia-bugs] [Maniphest] [Updated] T163349: makecat.py fails under python 3: TypeError: can't concat bytes to str

2017-04-19 Thread Dalba
Dalba added a parent task: T60053: Pywikibot Python 3 compatibility (tracking). TASK DETAILhttps://phabricator.wikimedia.org/T163349EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba___

[Pywikipedia-bugs] [Maniphest] [Updated] T60053: Pywikibot Python 3 compatibility (tracking)

2017-04-19 Thread Dalba
Dalba added a subtask: T163349: makecat.py fails under python 3: TypeError: can't concat bytes to str. TASK DETAILhttps://phabricator.wikimedia.org/T60053EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, Xqt, jayvdb, valhallasw, Ricordisamoa,

[Pywikipedia-bugs] [Maniphest] [Created] T163349: makecat.py fails under python 3: TypeError: can't concat bytes to str

2017-04-19 Thread Dalba
Dalba created this task.Dalba added a project: Pywikibot-Other-scripts.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTION$ python3 pwb.py makecat TEST -lang:en -family:wikipedia Traceback (most recent call last): File "pwb.py", line 263, in if not main(): Fil

[Pywikipedia-bugs] [Maniphest] [Commented On] T122715: Check if the page content has changed before trying to save it (in Page.put)

2017-04-19 Thread gerritbot
gerritbot added a comment. Change 312721 abandoned by Xqt: pywikibot.Page.put: checking the changes before saving Reason: per T122715 https://gerrit.wikimedia.org/r/312721TASK DETAILhttps://phabricator.wikimedia.org/T122715EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpre

[Pywikipedia-bugs] [Maniphest] [Updated] T161726: Support new geo-shape datatype in Pywikibot

2017-04-19 Thread Lokal_Profil
Lokal_Profil added a comment. For now the url is hardcoded in the family file. Once T162561: Expose geoShapeStorageFrontendUrl through siteinfo is resolved we should instead get to it through the api.TASK DETAILhttps://phabricator.wikimedia.org/T161726EMAIL PREFERENCEShttps://phabricator.wikimedia.

[Pywikipedia-bugs] [Maniphest] [Commented On] T87409: pep8 E402 vs __version__ and others

2017-04-19 Thread gerritbot
gerritbot added a comment. Change 348942 merged by jenkins-bot: [pywikibot/core@master] Remove version variable from the modules of the test package https://gerrit.wikimedia.org/r/348942TASK DETAILhttps://phabricator.wikimedia.org/T87409EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/p

[Pywikipedia-bugs] [Maniphest] [Commented On] T151145: Make Travis (and Appveyor) pass again

2017-04-19 Thread Xqt
Xqt added a comment. Thanks a lot folks!TASK DETAILhttps://phabricator.wikimedia.org/T151145EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Magul, XqtCc: Xqt, Dalba, Sn1per, jayvdb, Aklapper, Magul, pywikibot-bugs-list, Tbscho, MayS, Mdupont, JJMC89, Avicennas

[Pywikipedia-bugs] [Maniphest] [Commented On] T151145: Make Travis (and Appveyor) pass again

2017-04-19 Thread Magul
Magul added a comment. We have still few issues in Appveyor and should revalidate all open subtasks here (as they propably should be closed), but that looks like real milestone for this project. We should treat right now any Travis failure as blocker (at least till we move to Wikimedia CI) and try

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T151145: Make Travis (and Appveyor) pass again

2017-04-19 Thread Dalba
Dalba added a subscriber: Xqt.Dalba added a comment. @Magul, It is! I don't know when was the last time that a build pass successfully! :) Of-course there are still some tests that sporadically fail that we should focus on. Thanks to everyone involved, especially you and @Xqt!TASK DETAILhttps://p

[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T151145: Make Travis (and Appveyor) pass again

2017-04-19 Thread Magul
Magul added a subscriber: Dalba.Magul added a comment. @Dalba that's huge! https://travis-ci.org/wikimedia/pywikibot-core/builds/223520844 chapeau bas!TASK DETAILhttps://phabricator.wikimedia.org/T151145EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MagulCc:

[Pywikipedia-bugs] [Maniphest] [Commented On] T87409: pep8 E402 vs __version__ and others

2017-04-19 Thread gerritbot
gerritbot added a comment. Change 348942 had a related patch set uploaded (by Dalba): [pywikibot/core@master] Remove version variable from the modules of the test package https://gerrit.wikimedia.org/r/348942TASK DETAILhttps://phabricator.wikimedia.org/T87409EMAIL PREFERENCEShttps://phabricator.wi

[Pywikipedia-bugs] [Maniphest] [Updated] T87409: pep8 E402 vs __version__ and others

2017-04-19 Thread gerritbot
gerritbot added a project: Patch-For-Review. TASK DETAILhttps://phabricator.wikimedia.org/T87409EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: Dalba, Ricordisamoa, gerritbot, Legoktm, Ladsgroup, Xqt, XZise, valhallasw, pywikibot-bugs-list, jayvdb

[Pywikipedia-bugs] [Maniphest] [Commented On] T87409: pep8 E402 vs __version__ and others

2017-04-19 Thread Dalba
Dalba added a comment. In T87409#2189435, @Xqt wrote: imho this could be removed or it should be replaced by a more informative value. +1. There are only a few scripts that actually use __version__ : bot.py: handle_args prints out module versions in verbose mode version.py: A few functions,

[Pywikipedia-bugs] [Maniphest] [Closed] T160268: test_arabeyes is failing with assertion error

2017-04-19 Thread Dalba
Dalba closed this task as "Resolved".Dalba added a comment. I'm going to mark this task as resolved. Please feel free to reopen or create a new task/RFC if required.TASK DETAILhttps://phabricator.wikimedia.org/T160268EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences

[Pywikipedia-bugs] [Maniphest] [Unblock] T151145: Make Travis (and Appveyor) pass again

2017-04-19 Thread Dalba
Dalba closed subtask T160268: test_arabeyes is failing with assertion error as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T151145EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Magul, DalbaCc: Sn1per, jayvdb, Aklapper, Magul, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Closed] T163293: jenkins-bot verification is failing with AttributeError: 'module' object has no attribute 'PEP257Checker'

2017-04-19 Thread Dalba
Dalba closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T163293EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, Magul, Tbscho, MayS, Lew