[Pywikipedia-l] Error downloading data: No JSON object could be decoded

Robert Wright marvin.sccorp at gmail.com
Fri Sep 25 21:14:12 UTC 2009


Go the login issues resolved thanks to Nicolas.

However, the only script that works is login.py

The others fails with this error:

Error downloading data: No JSON object could be decoded
Request
en:/w/api.php?action=query&format=json&meta=userinfo&uiprop=blockinfo
Retrying in 1 minutes...

test.py

[root at mustang pywikipedia]# python test.py
Error downloading data: No JSON object could be decoded
Request
en:/w/api.php?action=query&format=json&meta=userinfo&uiprop=blockinfo

category.py

[root at mustang pywikipedia]# python category.py listify
Reading dump from category.dump.bz2
Please enter the name of the category to listify: Bot_Tests
Please enter the name of the list to create: test
Getting [[Category:Bot Tests]]...
Error downloading data: No JSON object could be decoded
Request
en:/w/api.php?action=query&format=json&meta=userinfo&uiprop=blockinfo

I did some searching and found references to a PHP file named JSON.php that
I do not have on my system.

I found several other postings with the same error message, but no
resolutions.

As always, any help would be much appreciated.

---Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wikimedia.org/pipermail/pywikipedia-l/attachments/20090925/160eb549/attachment-0001.htm 


More information about the Pywikipedia-l mailing list