[Pywikipedia-bugs] [Maniphest] [Created] T145954: api_tests.TestLazyLoginNotExistUsername runs into a recursive loop

2016-09-17 Thread Xqt
Xqt created this task.Xqt added projects: Pywikibot-core, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONtests/api_tests.py::TestLazyLoginNotExistUsername::test_access_denied_notexist_username WARNING: API error readapidenied: You need read permission to use this module
WARNING: API error readapidenied: You need read permission to use this module
ERROR: APIError: readapidenied: You need read permission to use this module [help:See https://steward.wikimedia.org/w/api.php for API usage]
WARNING: /home/travis/build/wikimedia/pywikibot-core/pywikibot/site.py:2699: DeprecationWarning: pywikibot.family.Family.version is deprecated; use APISite.version() instead.
  version = self.family.version(self.code)

WARNING: API error readapidenied: You need read permission to use this module
Logging in to steward:steward as Not registered username
WARNING: API error readapidenied: You need read permission to use this module
ERROR: APIError: readapidenied: You need read permission to use this module [help:See https://steward.wikimedia.org/w/api.php for API usage]
WARNING: /home/travis/build/wikimedia/pywikibot-core/pywikibot/site.py:2699: DeprecationWarning: pywikibot.family.Family.version is deprecated; use APISite.version() instead.
  version = self.family.version(self.code)
...

100 or 1000 times, and finally:

WARNING: API error readapidenied: You need read permission to use this module
ERROR: Login failed (readapidenied).
Logging in to steward:steward as Not registered username
WARNING: API error readapidenied: You need read permission to use this module
ERROR: APIError: readapidenied: You need read permission to use this module [help:See https://steward.wikimedia.org/w/api.php for API usage]
WARNING: /home/travis/build/wikimedia/pywikibot-core/pywikibot/site.py:2699: DeprecationWarning: pywikibot.family.Family.version is deprecated; use APISite.version() instead.
  version = self.family.version(self.code)

WARNING: API error readapidenied: You need read permission to use this module
ERROR: APIError: readapidenied: You need read permission to use this module [help:See https://steward.wikimedia.org/w/api.php for API usage]
WARNING: /home/travis/build/wikimedia/pywikibot-core/pywikibot/site.py:2699: DeprecationWarning: pywikibot.family.Family.version is deprecated; use APISite.version() instead.
  version = self.family.version(self.code)

ERROR: Traceback (most recent call last):
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 1953, in submit
body=body, headers=headers)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/tools/__init__.py", line 1417, in wrapper
return obj(*__args, **__kw)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 279, in request
r = fetch(baseuri, method, body, headers, **kwargs)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 434, in fetch
error_handling_callback(request)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 352, in error_handling_callback
raise request.data
RuntimeError: maximum recursion depth exceeded in cmp

WARNING: Waiting 5 seconds before retrying.
ERROR: Traceback (most recent call last):
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 1953, in submit
body=body, headers=headers)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/tools/__init__.py", line 1417, in wrapper
return obj(*__args, **__kw)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 279, in request
r = fetch(baseuri, method, body, headers, **kwargs)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 434, in fetch
error_handling_callback(request)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 352, in error_handling_callback
raise request.data
RuntimeError: maximum recursion depth exceeded in cmp

WARNING: Waiting 10 seconds before retrying.
ERROR: Traceback (most recent call last):
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 1953, in submit
body=body, headers=headers)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/tools/__init__.py", line 1417, in wrapper
return obj(*__args, **__kw)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 279, in request
r = fetch(baseuri, method, body, headers, **kwargs)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 434, in fetch
error_handling_callback(request)
  File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 352, in error_handling_callback
raise request.data
RuntimeError: maximum recursion depth exceeded in cmp

After the first request the bot tries to login which fails as expected.
But there is a next request, I guess done by a siteinfo call 

[Pywikipedia-bugs] [Maniphest] [Triaged] T145954: api_tests.TestLazyLoginNotExistUsername runs into a recursive loop

2016-09-17 Thread Xqt
Xqt triaged this task as "High" priority.
TASK DETAILhttps://phabricator.wikimedia.org/T145954EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: jayvdb, Aklapper, Xqt, pywikibot-bugs-list, MayS, Mdupont, JJMC89, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Updated] T145484: travis tests fails for apt-get install

2016-09-17 Thread Xqt
Xqt added a project: Upstream.Xqt added a comment.
Looks like this problem is upstream since it was introduced between build 3574 an 3574:

3574
https://travis-ci.org/wikimedia/pywikibot-core/builds/153181059
https://travis-ci.org/wikimedia/pywikibot-core/jobs/153181060

3575
https://travis-ci.org/wikimedia/pywikibot-core/builds/153479464
https://travis-ci.org/wikimedia/pywikibot-core/jobs/153479465TASK DETAILhttps://phabricator.wikimedia.org/T145484EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Multichill, zhuyifei1999, hashar, TerraCodes, Luke081515, Jay8g, valhallasw, jayvdb, Aklapper, Xqt, pywikibot-bugs-list, MayS, Mdupont, JJMC89, Alchimista, Krenair___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Unassigned] T142324: Apparently "text-contains" exceptions in user-fixes.py are ignored

2016-09-17 Thread Dalba
Dalba removed Dalba as the assignee of this task.
TASK DETAILhttps://phabricator.wikimedia.org/T142324EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Dalba, jayvdb, gerritbot, Aklapper, pywikibot-bugs-list, Basilicofresco, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Closed] T144275: welcome.py L10N fails for commons

2016-09-17 Thread whym
whym closed this task as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T144275EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, whymCc: gerritbot, Aklapper, pywikibot-bugs-list, Xqt, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, jayvdb, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T144275: welcome.py L10N fails for commons

2016-09-17 Thread gerritbot
gerritbot added a comment.
Change 307523 merged by jenkins-bot:
[bugfix] cleanup L10N dictionaries

https://gerrit.wikimedia.org/r/307523TASK DETAILhttps://phabricator.wikimedia.org/T144275EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, Aklapper, pywikibot-bugs-list, Xqt, MayS, Lewizho99, Mdupont, JJMC89, Maathavan, jayvdb, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T89761: Python library for quiz data, with serialisation

2016-09-17 Thread Jsalsman
Jsalsman added a comment.
Is this for GIFT or Twee ( http://www.maximumverbosity.net/twine/Entweedle/
) or both or something else?TASK DETAILhttps://phabricator.wikimedia.org/T89761EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JsalsmanCc: MayS, Mvolz, Yland_S, Sumit, 01tonythomas, Shrutika719, soulshake, Pavithirakc, Rajdeep594, Ricordisamoa, Bawolff, He7d3r, Crochet.david, Ajraddatz, Jsalsman, pywikibot-bugs-list, jayvdb, Aklapper, Evanontario, EdelyGomes, Riddlesj, Sek2016, Enandwani, riyafa, AniaMag, Esc3300, PuriDilip, Pahadiahimanshu, Manrajsinghgrover, Psychoslave, Renepick, Jay8g___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Changed Subscribers] T145484: travis tests fails for apt-get install

2016-09-17 Thread hashar
hashar added a subscriber: Multichill.hashar added a comment.
@Multichill poked me about it.

The job is made to use Debian unstable:

$ echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" \
  | sudo tee -a /etc/apt/sources.list > /dev/null

Which is well, unstable :]

The package locales fails completely:

Preparing to replace locales 2.13+git20120306-3 (using .../locales_2.24-2_all.deb) ...
Unpacking replacement locales ...
dpkg: error processing /var/cache/apt/archives/locales_2.24-2_all.deb (--unpack):
 trying to overwrite '/usr/sbin/update-locale', which is also in package libc-bin 2.15-0ubuntu10.15
dpkg-deb (subprocess): subprocess data was killed by signal (Broken pipe)
dpkg-deb: error: subprocess  returned error exit status 2
Selecting previously unselected package libc-l10n.
dpkg: considering deconfiguration of locales, which would be broken by installation of libc-l10n ...
dpkg: yes, will deconfigure locales (broken by libc-l10n).
Unpacking libc-l10n (from .../libc-l10n_2.24-2_all.deb) ...
De-configuring locales ...
Errors were encountered while processing:
 /var/cache/apt/archives/locales_2.24-2_all.deb

No clue why update-locale would be in two packages. Looks like a chicken and egg problem as something is being transitioned in the Debian project.  The source package is glibc: https://packages.qa.debian.org/g/glibc.html

I highly recommend to NOT use unstable for anything.  Ideally you should aim at jessie which is the stable version, and eventually testing (which breaks often though).

If jessie does not work for some reaso, that is surely fixable :]TASK DETAILhttps://phabricator.wikimedia.org/T145484EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: hasharCc: Multichill, zhuyifei1999, hashar, TerraCodes, Luke081515, Jay8g, valhallasw, jayvdb, Aklapper, Xqt, pywikibot-bugs-list, MayS, Mdupont, JJMC89, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T89761: Python library for quiz data, with serialisation

2016-09-17 Thread MayS
MayS added a comment.
I am interested in applying for this project as part of outreachy-13. Right now I'm getting myself familiarised with the Wikimedia platform. It would be great if someone could define the project task in a bit more detail, so that we prospective interns can know clearly what is expected of us. This will give a good starting point to begin exploring.TASK DETAILhttps://phabricator.wikimedia.org/T89761EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: MaySCc: MayS, Mvolz, Yland_S, Sumit, 01tonythomas, Shrutika719, soulshake, Pavithirakc, Rajdeep594, Ricordisamoa, Bawolff, He7d3r, Crochet.david, Ajraddatz, Jsalsman, pywikibot-bugs-list, jayvdb, Aklapper, Evanontario, EdelyGomes, Riddlesj, Sek2016, Enandwani, riyafa, AniaMag, Esc3300, PuriDilip, Pahadiahimanshu, Manrajsinghgrover, Psychoslave, Renepick, Jay8g___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Closed] T145937: pagegenerators -subpage does not recognize the depth parameter

2016-09-17 Thread Sn1per
Sn1per closed this task as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T145937EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, Sn1perCc: gerritbot, Sn1per, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Lewizho99, Mdupont, JJMC89, Maathavan, jayvdb, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T145937: pagegenerators -subpage does not recognize the depth parameter

2016-09-17 Thread gerritbot
gerritbot added a comment.
Change 311237 merged by jenkins-bot:
[bugfix] recognize the depth parameter given by -subpage option

https://gerrit.wikimedia.org/r/311237TASK DETAILhttps://phabricator.wikimedia.org/T145937EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, Sn1per, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Lewizho99, Mdupont, JJMC89, Maathavan, jayvdb, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Declined] T126278: Deprecated argument decorators should add deprecation notices to docstrings

2016-09-17 Thread Sn1per
Sn1per closed this task as "Declined".
TASK DETAILhttps://phabricator.wikimedia.org/T126278EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Sn1perCc: Xqt, Aklapper, jayvdb, StudiesWorld, Sn1per, pywikibot-bugs-list, Mdupont, JJMC89, Alchimista, Jay8g, Spage___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T145937: pagegenerators -subpage does not recognize the depth parameter

2016-09-17 Thread gerritbot
gerritbot added a comment.
Change 311237 had a related patch set uploaded (by Xqt):
[bugfix] recognize the depth parameter given by -subpage option

https://gerrit.wikimedia.org/r/311237TASK DETAILhttps://phabricator.wikimedia.org/T145937EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, Sn1per, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Mdupont, JJMC89, jayvdb, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Triaged] T145937: pagegenerators -subpage does not recognize the depth parameter

2016-09-17 Thread Xqt
Xqt triaged this task as "High" priority.
TASK DETAILhttps://phabricator.wikimedia.org/T145937EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Sn1per, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Mdupont, JJMC89, jayvdb, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Created] T145937: pagegenerators -subpage does not recognize the depth parameter

2016-09-17 Thread Xqt
Xqt created this task.Xqt added projects: Pywikibot-core, Pywikibot-pagegenerators.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONA depth number value n is not recognized for -subpage:n option. It always ask for that parameter.
If no parameter is given we get a TypeError:

genFactory.handleArg(arg)
  File "C:\pwb\GIT\core\pywikibot\pagegenerators.py", line 915, in handleArg
self.subpage_max_depth = int(value)
TypeError: int() argument must be a string or a number, not 'NoneType'

CRITICAL: Closing network session.TASK DETAILhttps://phabricator.wikimedia.org/T145937EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Sn1per, Aklapper, Mpaa, Xqt, pywikibot-bugs-list, Mdupont, JJMC89, jayvdb, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs


[Pywikipedia-bugs] [Maniphest] [Commented On] T110856: Convert all scripts to TWN i18n

2016-09-17 Thread gerritbot
gerritbot added a comment.
Change 282195 had a related patch set uploaded (by Xqt):
[i18n] use i18n from twn for image.py

https://gerrit.wikimedia.org/r/282195TASK DETAILhttps://phabricator.wikimedia.org/T110856EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: XZise, Xqt, Ricordisamoa, Avicennasis, gerritbot, Aklapper, jayvdb, pywikibot-bugs-list, Esc3300, Lewizho99, Mdupont, JJMC89, Maathavan, Alchimista___
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs