Thread:Manual talk:Pywikibot/Error to login/reply (2)

Thank you for your answer, but It's same to occur error "No JSON object could be decoded"

When I use generate_family_file.py in core, the error displays like this:

Generating family file from http://xxxwiki.net/w

Traceback (most recent call last):

File "generate_family_file.py", line 320, in

FamilyFileGenerator(*sys.argv[1:]).run

File "generate_family_file.py", line 93, in run

w = Wiki(self.base_url)

File "generate_family_file.py", line 261, in __init__

self._parse_post_117(wp, fromurl)

File "generate_family_file.py", line 292, in _parse_post_117

info = json.loads(data.read.decode(data.charset))['query']['general']

File "C:\Python27\lib\json\__init__.py", line 338, in loads

return _default_decoder.decode(s)

File "C:\Python27\lib\json\decoder.py", line 366, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end)

File "C:\Python27\lib\json\decoder.py", line 384, in raw_decode

raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded