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(a)lists.wikimedia.org
Reporter: jayvdb(a)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'
--
You are receiving this mail because:
You are the assignee for the bug.