https://bugzilla.wikimedia.org/show_bug.cgi?id=72845
Bug ID: 72845 Summary: generate_family_file.py fails with exception trace Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: major Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
fails badly if given a URL which isnt the front page of a wiki
$ python ./generate_family_file.py http://genealogy.net/ gene Generating family file from http://genealogy.net/ Traceback (most recent call last): File "./generate_family_file.py", line 317, in <module> 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 258, in __init__ self._parse_post_117(wp, fromurl) File "./generate_family_file.py", line 286, in _parse_post_117 apipath = wp.edituri.split("?")[0] AttributeError: WikiHTMLPageParser instance has no attribute 'edituri'
https://bugzilla.wikimedia.org/show_bug.cgi?id=72845
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=54963
https://bugzilla.wikimedia.org/show_bug.cgi?id=72845
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.wikimedia. | |org/show_bug.cgi?id=72873
https://bugzilla.wikimedia.org/show_bug.cgi?id=72845
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|generate_family_file.py |generate_family_file.py |fails with exception trace |fails with exception trace | |if frontpage is not a | |mediawiki site Severity|major |normal
pywikipedia-bugs@lists.wikimedia.org