jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added projects: pywikibot-core, Pywikibot-tests. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION https://travis-ci.org/jayvdb/pywikibot-core/jobs/61779706#L872
``` ====================================================================== ERROR: Test the site.patrol() method. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/build/jayvdb/pywikibot-core/tests/site_tests.py", line 1369, in testPatrol result = list(mysite.patrol(rcid=rc['rcid'])) File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/site.py", line 4652, in patrol result = req.submit() File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line 1734, in submit raise APIError(**result['error']) nose.proxy.APIError: protectednamespace-interface: You're not allowed to edit interface messages -------------------- >> begin captured stdout << --------------------- 20.050s --------------------- >> end captured stdout << ---------------------- -------------------- >> begin captured logging << -------------------- pywiki: VERBOSE: Found 2 wikidata:test processes running, including this one. pywiki: VERBOSE: START /home/travis/build/jayvdb/pywikibot-core/tests/site_tests.py:SiteUserTestCase2.testPatrol pywiki: INFO: Sleeping for 19.7 seconds, 2015-05-08 16:50:54 pywiki: VERBOSE: API Error: query= {'action': ['patrol'], 'assert': ['user'], 'format': ['json'], 'maxlag': ['5'], 'rcid': [12117], 'token': ['83c2963990b7d864552e16942aa4d8ed554ce96e+\']} pywiki: VERBOSE: response= {'error': {'info': "You're not allowed to edit interface messages", 'code': 'protectednamespace-interface', 'help': 'See https://test.wikidata.org/w/api.php for API usage'}, 'servedby': 'mw1017'} pywiki: VERBOSE: END /home/travis/build/jayvdb/pywikibot-core/tests/site_tests.py:SiteUserTestCase2.testPatrol NOT OK: ERROR --------------------- >> end captured logging << --------------------- ```
TASK DETAIL https://phabricator.wikimedia.org/T98646
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: pywikipedia-bugs, jayvdb, Aklapper
pywikipedia-bugs@lists.wikimedia.org