I have a MW 1.17 installation on my computer, and I ran generate_family_file.py as written in README-family.txt.

Output:
Please insert URL to wiki: http://localhost/wiki
Please insert a short name (eg: freeciv): local
Generating family file from http://localhost/wiki
*** WARNING: Api does not seem to be enabled on http://localhost/wiki
Traceback (most recent call last):
  File "generate_family_file.py", line 261, in <module>
    FamilyFileGenerator(*sys.argv[1:]).run()
  File "generate_family_file.py", line 60, in run
    w = Wiki(self.base_url)
  File "generate_family_file.py", line 235, in __init__
    self.server = self.REwgServer.search(data).groups()[0]
AttributeError: 'NoneType' object has no attribute 'groups'

http://localhost/wiki/api.php gives me the same documentation page as in Wikipedia (note that it has wiki instead of w in URL).
Why does it not find the API?
And why does it terminate with this error?

--
Bináris