[Pywikipedia-bugs] [Maniphest] [Claimed] T152435: super setUp()s and tearDown()s in unit test cases

2016-12-17 Thread Sn1per
Sn1per claimed this task. TASK DETAILhttps://phabricator.wikimedia.org/T152435EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Sn1perCc: jayvdb, Aklapper, TerraCodes, pywikibot-bugs-list, Dargasea, SacredWKnight, JakeTheDeveloper, D3r1ck01, MuhammadShuaib, Jay8

[Pywikipedia-bugs] [Maniphest] [Closed] T60814: PetScan page generator

2016-12-17 Thread jayvdb
jayvdb closed this task as "Resolved". TASK DETAILhttps://phabricator.wikimedia.org/T60814EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Sn1per, jayvdbCc: gerritbot, jayvdb, Sn1per, Aklapper, StudiesWorld, valhallasw, Ricordisamoa, JiraBugConverter, pywikibot

[Pywikipedia-bugs] [Maniphest] [Commented On] T151369: test_search_where is failing on Travis

2016-12-17 Thread Dalba
Dalba added a comment. OK, I could not come up with a "universally useful" search term. Personally, I don't like waiting 20seconds for such test. I don't think it's essential enough to keep it with this cost, especially that it is being skipped on some of the most important wikis (enwiki, dewiki an

[Pywikipedia-bugs] [Maniphest] [Commented On] T60814: PetScan page generator

2016-12-17 Thread gerritbot
gerritbot added a comment. Change 327753 merged by jenkins-bot: PetScan page generator https://gerrit.wikimedia.org/r/327753TASK DETAILhttps://phabricator.wikimedia.org/T60814EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Sn1per, gerritbotCc: gerritbot, jayv

[Pywikipedia-bugs] [Maniphest] [Updated] T153559: pywikibot.http._enqueue should have dict argument `params` and `data` like requests

2016-12-17 Thread jayvdb
jayvdb added a comment. See also T153560TASK DETAILhttps://phabricator.wikimedia.org/T153559EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc: Aklapper, jayvdb, pywikibot-bugs-list, SacredWKnight, Magul, Tbscho, MayS, Mdupont, JJMC89, D3r1ck01, Dalba, M

[Pywikipedia-bugs] [Maniphest] [Updated] T153560: Using pytest-httpbin

2016-12-17 Thread jayvdb
jayvdb added a project: Google-Code-In-2016.jayvdb added a comment. https://codein.withgoogle.com/dashboard/tasks/6219874818850816/TASK DETAILhttps://phabricator.wikimedia.org/T153560EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc: Aklapper, jayvdb, p

[Pywikipedia-bugs] [Maniphest] [Created] T153560: Using pytest-httpbin

2016-12-17 Thread jayvdb
jayvdb created this task.jayvdb added projects: Pywikibot-core, Pywikibot-network, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONThe test suite may be used with unittest, nose or pytest or any other advanced test runner. If pytest is used, pytest-httpbin s

[Pywikipedia-bugs] [Maniphest] [Updated] T153559: pywikibot.http._enqueue should have dict argument `params` and `data` like requests

2016-12-17 Thread jayvdb
jayvdb added a project: Google-Code-In-2016.jayvdb added a comment. GCI unpublished task https://codein.withgoogle.com/dashboard/tasks/5687405443022848/TASK DETAILhttps://phabricator.wikimedia.org/T153559EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc

[Pywikipedia-bugs] [Maniphest] [Commented On] T153559: pywikibot.http._enqueue should have dict argument `params` and `data` like requests

2016-12-17 Thread jayvdb
jayvdb added a comment. Btw, it looks like body is already mapped to data, so it probably already accepts a dict.TASK DETAILhttps://phabricator.wikimedia.org/T153559EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: jayvdbCc: Aklapper, jayvdb, pywikibot-bugs-list

[Pywikipedia-bugs] [Maniphest] [Edited] T153559: pywikibot.http._enqueue should have dict argument `params` and `data` like requests

2016-12-17 Thread jayvdb
jayvdb edited the task description. (Show Details) EDIT DETAILS...It should also accept unencoded dicts `params` and `data`, like requests http://docs.python-requests.org/en/master/user/quickstart/#passing-parameters-in-urls Note that `data` is only for POST/PUT/etc. It isnt relevant for GET.TASK

[Pywikipedia-bugs] [Maniphest] [Created] T153559: pywikibot.http._enqueue should have dict argument `params` and `data` like requests

2016-12-17 Thread jayvdb
jayvdb created this task.jayvdb added projects: Pywikibot-core, Pywikibot-network.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONpywikibot.http._enqueue only accepts a uri and body. It should also accept unencoded dicts params and data, like requests http://docs.python-re

[Pywikipedia-bugs] [Maniphest] [Commented On] T153515: Unrecognized value for parameter "meta": wikibase.

2016-12-17 Thread JAnD
JAnD added a comment. I didn't updated bot and I got ths message tooTASK DETAILhttps://phabricator.wikimedia.org/T153515EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JAnDCc: JAnD, Aklapper, pywikibot-bugs-list, Octahedron80, Thibaut120094

[Pywikipedia-bugs] [Maniphest] [Commented On] T151351: Fresh clone of pywikibot from gerrit fails with error: RPC failed; result=56, HTTP code = 200 on Toollabs

2016-12-17 Thread Multichill
Multichill added a comment. In T151351#2815002, @Paladox wrote: Try this http://stackoverflow.com/questions/17683295/git-bash-error-rpc-failed-result-18-htp-code-200b-1kib-s please? Tried and failed. I ended up just making a symlink. I'm not going to spend time on this. Feel free to do whatever

[Pywikipedia-bugs] [Maniphest] [Commented On] T151351: Fresh clone of pywikibot from gerrit fails with error: RPC failed; result=56, HTTP code = 200 on Toollabs

2016-12-17 Thread Stashbot
Stashbot added a comment. Mentioned in SAL (#wikimedia-labs) [2016-12-17T20:11:29Z] Set up the bot with a clone of https://github.com/multichill/toollabs and a symlinked pywikibot (git clone is broken see phab:T151351 )TASK DETAILhttps://phabricator.wikimedia.org/T151351EMAIL PREFERENCEShttps://ph

[Pywikipedia-bugs] [Maniphest] [Commented On] T150299: Interwiki link with p.title(asLink=True)

2016-12-17 Thread Mayank.jindal5
Mayank.jindal5 added a comment. @Magul Thanks. You are right I should have asked these questions on IRC rather than posting here. Now I have cleared my doubts with FramaWiki on IRC.TASK DETAILhttps://phabricator.wikimedia.org/T150299EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/

[Pywikipedia-bugs] [Maniphest] [Commented On] T153308: Install requests_oauthlib at Toollabs exec nodes

2016-12-17 Thread Urbanecm
Urbanecm added a comment. Strange, this bug doesn't appear right now...TASK DETAILhttps://phabricator.wikimedia.org/T153308EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: UrbanecmCc: bd808, zhuyifei1999, Zppix, yuvipanda, valhallasw, pywikibot-bugs-list, Urban

[Pywikipedia-bugs] [Maniphest] [Commented On] T153308: Install requests_oauthlib at Toollabs exec nodes

2016-12-17 Thread bd808
bd808 added a comment. In T153308#2883629, @Urbanecm wrote: It should (I got warning "trusty is default") but jsub python ~/pwb/scripts/login.py don't work, with jsub -l release=trusty python ~/pwb/scripts/login.py all works. That is very strange and possibly worth a bug of its own. I can't recr

[Pywikipedia-bugs] [Maniphest] [Commented On] T150299: Interwiki link with p.title(asLink=True)

2016-12-17 Thread Magul
Magul added a comment. @Mayank.jindal5 first of all, You should listen to @Framawiki advice and get used look for answers on our IRC channel. In T150299#2881881, @Mayank.jindal5 wrote: When I am executing t.save() command, I am getting error - pywikibot.exceptions.OtherPageSaveError: Edit to pag

[Pywikipedia-bugs] [Maniphest] [Changed Project Column] T152435: super setUp()s and tearDown()s in unit test cases

2016-12-17 Thread Aklapper
Aklapper moved this task from Proposed tasks to Imported in GCI Site on the Google-Code-In-2016 board.Aklapper added a comment. Thanks! Imported as https://codein.withgoogle.com/tasks/6476392277475328/TASK DETAILhttps://phabricator.wikimedia.org/T152435WORKBOARDhttps://phabricator.wikimedia.org/pro

[Pywikipedia-bugs] [Maniphest] [Updated] T151369: test_search_where is failing on Travis

2016-12-17 Thread Magul
Magul added a comment. I've tested 707 sites (all production sites: commons, wikidata, wikipedia, wikivoyage, wiktionary, wikibooks, wikinews, wikiquote, wikisource, wikiversity). The whole test takes around 25 minuts. I'm pasting here 10 sites which lasts longest (in this 10 sites are all 7 sites

[Pywikipedia-bugs] [Maniphest] [Closed] T120633: Paste does not work in PAWS terminal

2016-12-17 Thread yuvipanda
yuvipanda closed this task as "Resolved".yuvipanda claimed this task.yuvipanda added a comment. I've deployed a much newer version of xterm.js now, and this should work. Please re-open if it does not! Thank you for your patienceTASK DETAILhttps://phabricator.wikimedia.org/T120633EMAIL PREFERENCESht

[Pywikipedia-bugs] [Maniphest] [Created] T153541: page.botMayEdit should return the correct value even if the bot has not logged in.

2016-12-17 Thread zhuyifei1999
zhuyifei1999 created this task.zhuyifei1999 added projects: Pywikibot-core, Pywikibot-General.Herald added subscribers: pywikibot-bugs-list, Aklapper. TASK DESCRIPTIONCurrently the method expects the bot to be logged in, or otherwise it always returns True: $ python /shared/pywikipedia/core/pwb.py

[Pywikipedia-bugs] [Maniphest] [Commented On] T153308: Install requests_oauthlib at Toollabs exec nodes

2016-12-17 Thread Urbanecm
Urbanecm added a comment. It should (I got warning "trusty is default") but jsub python ~/pwb/scripts/login.py don't work, with jsub -l release=trusty python ~/pwb/scripts/login.py all works.TASK DETAILhttps://phabricator.wikimedia.org/T153308EMAIL PREFERENCEShttps://phabricator.wikimedia.org/setti

[Pywikipedia-bugs] [Maniphest] [Commented On] T153308: Install requests_oauthlib at Toollabs exec nodes

2016-12-17 Thread zhuyifei1999
zhuyifei1999 added a comment. In T153308#2883618, @Urbanecm wrote: Thanks for the message, forcing trusty hosts works. I thought trusty is the default nowadays?TASK DETAILhttps://phabricator.wikimedia.org/T153308EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/T

[Pywikipedia-bugs] [Maniphest] [Commented On] T153308: Install requests_oauthlib at Toollabs exec nodes

2016-12-17 Thread Urbanecm
Urbanecm added a comment. Thanks for the message, forcing trusty hosts works.TASK DETAILhttps://phabricator.wikimedia.org/T153308EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: UrbanecmCc: bd808, zhuyifei1999, Zppix, yuvipanda, valhallasw, pywikibot-bugs-list,

[Pywikipedia-bugs] [Maniphest] [Commented On] T153308: Install requests_oauthlib at Toollabs exec nodes

2016-12-17 Thread valhallasw
valhallasw added a comment. It is installed, just not on precise nodes, as ubuntu does not package python-requests-oauthlib for precise.TASK DETAILhttps://phabricator.wikimedia.org/T153308EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valhallaswCc: bd808, zhu

[Pywikipedia-bugs] [Maniphest] [Merged] T130529: Install python-requests-oauthlib on labs

2016-12-17 Thread valhallasw
valhallasw added subscribers: Urbanecm, bd808, Zppix, valhallasw, pywikibot-bugs-list.valhallasw merged a task: T153308: Install requests_oauthlib at Toollabs exec nodes. TASK DETAILhttps://phabricator.wikimedia.org/T130529EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailprefe

[Pywikipedia-bugs] [Maniphest] [Updated] T153308: Install requests_oauthlib at Toollabs exec nodes

2016-12-17 Thread valhallasw
valhallasw closed this task as a duplicate of T130529: Install python-requests-oauthlib on labs. TASK DETAILhttps://phabricator.wikimedia.org/T153308EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: valhallaswCc: bd808, zhuyifei1999, Zppix, yuvipanda, valhallasw