https://bugzilla.wikimedia.org/show_bug.cgi?id=63671
Bug ID: 63671 Summary: Wikidataquery ip or url (wikidataquery.eu) seems broken Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: major Priority: Unprioritized Component: Wikidata Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: info@gno.de Web browser: --- Mobile Platform: ---
See https://travis-ci.org/wikimedia/pywikibot-core/jobs/22514348
IP 208.80.153.172 is not reachable.
local test with url "wikidataquery.eu" results in:
c:\Pywikipedia\ssh\pywikibot\core>pwb.py tests/wikidataquery_tests .....E#xception in thread Thread-1: Traceback (most recent call last): File "C:\Python27\lib\threading.py", line 551, in __bootstrap_inner self.run() File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\comms\threadedhttp.py", line 350, in run item.data = self.http.request(*item.args, **item.kwargs) File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\comms\threadedhttp.py", line 251, in request uri, method, body, headers, response, content, max_redirects) ValueError: need more than 0 values to unpack
WARNING: Failed to retrieve http://wikidataquery.eu/api?q=claim%5B105%5D%20AND%2 0noclaim%5B225%5D%20AND%20claim%5B100%5D E ====================================================================== ERROR: testQueryApiGetter (__main__.TestApiSlowFunctions) ---------------------------------------------------------------------- Traceback (most recent call last): File "tests/wikidataquery_tests.py", line 249, in testQueryApiGetter data = w.query(q) File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\data\wikidataquery.py", line 530, in query data = self.getDataFromHost(fullQueryString) File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\data\wikidataquery.py", line 501, in getDataFromHost resp = http.request(None, url) File "C:\Pywikipedia\ssh\pywikibot\core\pywikibot\comms\http.py", line 156, in request if request.data[0].status == 504: TypeError: 'NoneType' object has no attribute '__getitem__'
---------------------------------------------------------------------- Ran 6 tests in 21.124s
FAILED (errors=1)
https://bugzilla.wikimedia.org/show_bug.cgi?id=63671
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 124587 had a related patch set uploaded by Xqt: Expected failure due to bug 63671
https://gerrit.wikimedia.org/r/124587
https://bugzilla.wikimedia.org/show_bug.cgi?id=63671
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=63671
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 124587 merged by jenkins-bot: Expected failure due to bug 63671
https://gerrit.wikimedia.org/r/124587
https://bugzilla.wikimedia.org/show_bug.cgi?id=63671
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |NEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=63671
--- Comment #3 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 124652 had a related patch set uploaded by Mpaa: Bug 63671 - Wikidataquery ip or url (wikidataquery.eu) seems broken
https://gerrit.wikimedia.org/r/124652
https://bugzilla.wikimedia.org/show_bug.cgi?id=63671
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=63671
--- Comment #4 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 124652 merged by jenkins-bot: Bug 63671 - Wikidataquery ip or url (wikidataquery.eu) seems broken
https://gerrit.wikimedia.org/r/124652
https://bugzilla.wikimedia.org/show_bug.cgi?id=63671
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|PATCH_TO_REVIEW |RESOLVED Resolution|--- |FIXED
pywikipedia-bugs@lists.wikimedia.org