Bugs item #2970417, was opened at 2010-03-14 23:46 Message generated for change (Tracker Item Submitted) made by masti01 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970417...
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: General Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: masti (masti01) Assigned to: Nobody/Anonymous (nobody) Summary: wikipedia.py error while running weblinkchecker
Initial Comment: the following error occures while running weblinkcher on pl.wikipedia
masti@wikimedia ~/pw/pywikipedia $ python weblinkchecker.py -talk -namespace:0 -start:"I koncert fortepianowy Beethovena" Getting 240 pages from wikipedia:pl via API... Getting pages 1 - 125 of 240... Traceback (most recent call last): File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 879, in __iter__ for loaded_page in self.preload(somePages): File "/usr/home/masti/pw/pywikipedia/pagegenerators.py", line 904, in preload pywikibot.getall(site, pagesThisSite) File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 4041, in getall _GetAll(site, k, throttle, force).run() File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3689, in run self.oneDoneApi(vals) File "/usr/home/masti/pw/pywikipedia/wikipedia.py", line 3907, in oneDoneApi page2.editRestriction = editRestriction UnboundLocalError: local variable 'editRestriction' referenced before assignment local variable 'editRestriction' referenced before assignment Saving history... masti@wikimedia ~/pw/pywikipedia $ python version.py Pywikipedia [http] trunk/pywikipedia (r8011, 2010/03/14, 18:08:34) Python 2.6.2 (r262:71600, Oct 22 2009, 08:54:52) [GCC 4.3.4]
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2970417...
pywikipedia-bugs@lists.wikimedia.org