jayvdb created this task. Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION With site en.wikisource.beta.wmflabs.org test_search_where fails with error gsrsearch-title-disabled: title search is disabled It broke with travis job #3315.14 <https://travis-ci.org/wikimedia/pywikibot-core/jobs/114968787>, not appearing in 3314.14 , so it is almost certainly caused by https://phabricator.wikimedia.org/rPWBC39b37c4a9f3245e24711b231222167daca01c75e (https://phabricator.wikimedia.org/T127807) ====================================================================== ERROR: Test the site.search() method with 'where' parameter. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/travis/build/jayvdb/pywikibot-core/tests/site_tests.py", line 1407, in test_search_where get_redirects=True, where='title'): File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line 2727, in __iter__ self.data = self.request.submit() File "/home/travis/build/jayvdb/pywikibot-core/pywikibot/data/api.py", line 2179, in submit raise APIError(**result['error']) nose.proxy.APIError: gsrsearch-title-disabled: title search is disabled [help:See http://en.wikisource.beta.wmflabs.org/w/api.php for API usage] -------------------- >> begin captured logging << -------------------- pywiki: WARNING: search: namespaces cannot be empty; using [0]. requests.packages.urllib3.connectionpool: DEBUG: "POST /w/api.php HTTP/1.1" 200 299 pywiki: WARNING: search: namespaces cannot be empty; using [0]. requests.packages.urllib3.connectionpool: DEBUG: "POST /w/api.php HTTP/1.1" 200 299 pywiki: WARNING: search: namespaces cannot be empty; using [0]. requests.packages.urllib3.connectionpool: DEBUG: "POST /w/api.php HTTP/1.1" 200 87 pywiki: WARNING: search: namespaces cannot be empty; using [0]. requests.packages.urllib3.connectionpool: DEBUG: "POST /w/api.php HTTP/1.1" 200 299 pywiki: WARNING: search: namespaces cannot be empty; using [0]. requests.packages.urllib3.connectionpool: DEBUG: "POST /w/api.php HTTP/1.1" 200 164 pywiki: WARNING: API error gsrsearch-title-disabled: title search is disabled pywiki: VERBOSE: API Error: query= "{'gsrlimit': ['10'], 'meta': ['userinfo'], 'maxlag': ['5'], 'uiprop': " "['blockinfo', 'hasmsg'], 'action': ['query'], 'inprop': ['protection'], " "'gsrwhat': ['title'], 'gsrnamespace': [0], 'format': ['json'], 'iiprop': " "['timestamp', 'user', 'comment', 'url', 'size', 'sha1', 'metadata'], " "'indexpageids': [True], 'prop': ['info', 'categoryinfo', 'imageinfo', " "'proofread'], 'gsrsearch': ['wiki'], 'generator': ['search'], 'continue': " '[True]}' pywiki: VERBOSE: response= {'servedby': 'deployment-mediawiki02', 'error': {'info': 'title search is disabled', 'help': 'See http://en.wikisource.beta.wmflabs.org/w/api.php for API usage', 'code': 'gsrsearch-title-disabled'}} TASK DETAIL https://phabricator.wikimedia.org/T129742 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jayvdb Cc: Aklapper, jayvdb, pywikibot-bugs-list _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
