Bugs item #3400045, was opened at 2011-08-29 07:36 Message generated for change (Comment added) made by xqt You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3400045...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 7 Private: No Submitted By: xqt (xqt) Assigned to: Nobody/Anonymous (nobody) Summary: generate_family_file brocken with mw 1.17
Initial Comment: generate_family_file is brocken with mediawiki 1.17:
C:\pywikibot\PWB>generate_family_file.py Usage: %s <url> <short name> Example: %s http://www.mywiki.bogus/wiki/Main_Page mywiki This will create the file families/mywiki_family.py Please insert URL to wiki: http://techessentials.org/wiki/Main_Page Please insert a short name (eg: freeciv): myWiki Generating family file from http://techessentials.org/wiki/Main_Page *** WARNING: Api does not seem to be enabled on http://techessentials.org/wiki/Main_Page Traceback (most recent call last): File "C:\pywikibot\PWB\generate_family_file.py", line 261, in <module> FamilyFileGenerator(*sys.argv[1:]).run() File "C:\pywikibot\PWB\generate_family_file.py", line 60, in run w = Wiki(self.base_url) File "C:\pywikibot\PWB\generate_family_file.py", line 235, in __init__ self.server = self.REwgServer.search(data).groups()[0] AttributeError: 'NoneType' object has no attribute 'groups'
The requested wg-strings are missed on the given main page main page (http://techessentials.org/wiki/Main_Page)
See also here: http://pastebin.com/ZJiX1hGA for an other site
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-08-30 07:32
Message: It also does not work with mw 1.11 and 1.16.2
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3400045...
pywikipedia-bugs@lists.wikimedia.org