Last modified: 2014-07-24 12:23:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57207, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55207 - title of ml-site not found in list retrieved via API
title of ml-site not found in list retrieved via API
Status: RESOLVED WONTFIX
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
compat-(1.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-05 04:43 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-24 12:23 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:43:51 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1421/
Reported by: xqt
Created on: 2012-03-11 12:59:40
Subject: title of ml-site not found in list retrieved via API
Original description:
Retrieving pages from ml-wikipedia results in  that BUG

Getting 52 pages via API from wikipedia:ml...
BUG>> title ????? ??????? \(\[\[ml:????? ???????\]\]\) not found in list
Expected one of: \[\[ml:????????\]\],\[\[ml:????\]\],\[\[ml:??????????\]\],\[\[ml:?????? ?????
\]\],\[\[ml:???????\]\],\[\[ml:???????\]\],\[\[ml:???????\]\],\[\[ml:???????????\]\],\[\[ml:????\]\],\[
\[ml:????\]\],\[\[ml:??????\]\],\[\[ml:?????? 25\]\],\[\[ml:?????\]\],\[\[ml:????????\]\],\[\[ml:????
????\]\],\[\[ml:??????:?????????\]\],\[\[ml:?????\]\],\[\[ml:?????????\]\],\[\[ml:???????\]\],\[\[ml
:???????????\]\],\[\[ml:?????????????? ??????????? ??? ?????\]\],\[\[ml:??????\]\],\[\[ml:??
??????\]\],\[\[ml:????\]\],\[\[ml:????\]\],\[\[ml:??????\]\],\[\[ml:?????????\]\],\[\[ml:????????\]\],
\[\[ml:????-????\]\],\[\[ml:???????????? ????\]\],\[\[ml:???????\]\],\[\[ml:?????????\]\],\[\[ml:?
?????????????\]\],\[\[ml:????\]\],\[\[ml:???????\]\],\[\[ml:???????????\]\],\[\[ml:?????????????
\]\],\[\[ml:????????\]\],\[\[ml:??????? ?????????\]\],\[\[ml:?? ????????\]\],\[\[ml:??????????\]\]
,\[\[ml:??????????? ???\]\],\[\[ml:?????????\]\],\[\[ml:?????\]\],\[\[ml:?????? ???\]\],\[\[ml:???
???? ????????\]\],\[\[ml:??? ??????????\]\],\[\[ml:???????\]\],\[\[ml:???????????????????\]\],
\[\[ml:???????? ??????????\]\],\[\[ml:?????? ????????\]\],\[\[ml:?????? ???\]\]
Traceback \(most recent call last\):
File "C:\pwb\trunk\pagegenerators.py", line 1200, in \_\_iter\_\_
for loaded\_page in self.preload\(somePages\):
File "C:\pwb\trunk\pagegenerators.py", line 1223, in preload
pywikibot.getall\(site, pagesThisSite\)
File "C:\pwb\trunk\wikipedia.py", line 4472, in getall
else:
File "C:\pwb\trunk\wikipedia.py", line 4098, in run
self.oneDoneApi\(vals\)
File "C:\pwb\trunk\wikipedia.py", line 4375, in oneDoneApi
raise PageNotFound
PageNotFound

C:\pwb\trunk
Pywikipedia trunk/pywikipedia/ \(r10009, 2012/03/11, 12:13:26\)
Python 2.7.2 \(default, Jun 12 2011, 14:24:46\) \[MSC v.1500 64 bit \(AMD64\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
Comment 1 Ricordisamoa 2014-06-05 21:34:51 UTC
Can you provide exact steps to reproduce?
Comment 2 xqt 2014-06-06 03:48:46 UTC
I can't. This depends on compat only and is the reason why compat retrieves pages via "old API" special:export and not via API request with query.py The code is already there. I suggest to close as WONTFIX because compat is defacto deprecated and it is time consuming to investigate into this matter for an old system whereas we have a new one and the old code still works with old API.

I guess there might be a spelling difference somewhere and the page titles aren't normalized in the right form.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links