Bugs item #2955602, was opened at 2010-02-20 09:55 Message generated for change (Comment added) made by nakor-wikipedia You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2955602...
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: Closed
Resolution: None Priority: 7 Private: No Submitted By: Nakor Wikipedia (nakor-wikipedia) Assigned to: Nobody/Anonymous (nobody) Summary: page.templatesWithParams() is broken
Initial Comment: I updated pywikipedia and my working code is now broken. r7918 works fine, r7919 does not work
Traceback (most recent call last): File "/home/nakor/osm/pywikipedia/osm/relation_wiki.py", line 128, in <module> main() File "/home/nakor/osm/pywikipedia/osm/relation_wiki.py", line 44, in main templates=page.templatesWithParams() File "/home/nakor/osm/pywikipedia/wikipedia.py", line 2434, in templatesWithParams defaultKeys = self.site().siteinfo('magicwords')['defaultsort'] File "/home/nakor/osm/pywikipedia/wikipedia.py", line 6341, in siteinfo for entry in data[key]: KeyError: 'magicwords'
----------------------------------------------------------------------
Comment By: Nakor Wikipedia (nakor-wikipedia)
Date: 2010-02-20 14:57
Message: Solved by updating the family file
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2955602...
pywikipedia-bugs@lists.wikimedia.org