Bugs item #2926481, was opened at 2010-01-05 22:12 Message generated for change (Tracker Item Submitted) made by masti01 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2926481...
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: other Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: masti (masti01) Assigned to: Nobody/Anonymous (nobody) Summary: disambredir crashes on pl.wiki
Initial Comment: pwpl]$ python pywikipedia/disambredir.py Getting [[Kategoria:Strony ujednoznaczniające]] list starting at !... Getting 60 pages from wikipedia:pl... Getting 55 pages from wikipedia:pl... Sleeping for 4.6 seconds, 2010-01-05 22:04:48
1 Armia <<<
1 Armia Pancerna <<<
1 Batalion Ciężkich Karabinów Maszynowych <<<
Traceback (most recent call last): File "pywikipedia/disambredir.py", line 165, in <module> main() File "pywikipedia/disambredir.py", line 159, in main workon(page,links) File "pywikipedia/disambredir.py", line 121, in workon text = treat(text, page2, target) File "pywikipedia/disambredir.py", line 38, in treat linkR = re.compile(r'[[(?P<title>[^]|#]*)(?P<section>#[^]|]*)?(|(?P<label>[^]]*))?]](?P<linktrail>' + linktrail + ')') NameError: global name 'linktrail' is not defined
Pywikipedia (r7857 (wikipedia.py), 2010/01/05, 17:43:13) Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)]
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2926481...
pywikipedia-bugs@lists.wikimedia.org